wok-next diff compiz-plugins-extra/receipt @ rev 19217

Up compiz* (0.8.12)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Jun 17 15:09:10 2016 +0300 (2016-06-17)
parents d3eb5f4b53ea
children 796702fad3ad
line diff
     1.1 --- a/compiz-plugins-extra/receipt	Thu Mar 26 09:34:19 2015 +0100
     1.2 +++ b/compiz-plugins-extra/receipt	Fri Jun 17 15:09:10 2016 +0300
     1.3 @@ -1,38 +1,39 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="compiz-plugins-extra"
     1.7 -VERSION="0.9.4"
     1.8 +VERSION="0.8.12.1"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Compiz extra plugins."
    1.11 -MAINTAINER="pankso@slitaz.org"
    1.12 +MAINTAINER="psychomaniak@xakep.ru"
    1.13  LICENSE="GPL2"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="http://www.compiz.org/"
    1.16 -WGET_URL="http://releases.compiz.org/$VERSION/$TARBALL"
    1.17 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18 +WEB_SITE="https://github.com/compiz-reloaded"
    1.19 +WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    1.20 +WGET_URL2="$WEB_SITE/$PACKAGE/commit/0b2a652.diff"
    1.21 +EXTRA_SOURCE_FILES="$PACKAGE-0b2a652.u"
    1.22  
    1.23  DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ librsvg \
    1.24  libnotify compiz-plugins-main"
    1.25  BUILD_DEPENDS="xorg-dev compiz-core-dev compiz-libcompizconfig-dev cmake \
    1.26 -glibmm-dev libxslt-dev startup-notification-dev libboost-dev mesa-dev \
    1.27 -gtk+-dev libboost-serialization-dev intltool librsvg-dev libnotify-dev \
    1.28 -compiz-plugins-main-dev"
    1.29 +libxslt-dev startup-notification-dev mesa-dev gtk+-dev intltool librsvg-dev \
    1.30 +libnotify-dev compiz-bcop util-linux-uuid-dev compiz-plugins-main-dev libtool"
    1.31  
    1.32  # Rules to configure and make the package.
    1.33  compile_rules()
    1.34  {
    1.35 -	sed -i 's/iconUri.c_str (), //' notification/src/notification.cpp
    1.36 -	mkdir build && cd build &&
    1.37 -	cmake \
    1.38 -		-DCMAKE_INSTALL_PREFIX="/usr" \
    1.39 -		-DCOMPIZ_DESTDIR="../../install" \
    1.40 -		-DCOMPIZ_PLUGIN_INSTALL_TYPE="compiz" .. &&
    1.41 +	[ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \
    1.42 +		wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
    1.43 +	patch -p1 -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
    1.44 +	./configure --prefix=/usr
    1.45  	make && make install
    1.46  }
    1.47  
    1.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.49  genpkg_rules()
    1.50  {
    1.51 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.52 +	mkdir -p $fs/usr/lib $fs/usr/share/locale
    1.53  	cp -a $install/usr/lib/compiz $fs/usr/lib
    1.54  	cp -a $install/usr/share/compiz $fs/usr/share
    1.55 +	cp -a $install/usr/share/locale/ru $fs/usr/share/locale
    1.56 +	cd $fs/usr/lib/compiz; rm -f *.a *.la
    1.57  }