wok diff compiz-plugins-extra/receipt @ rev 23709

updated twisted (19.7.0 -> 20.3.0)
author Hans-G?nter Theisgen
date Tue Apr 28 17:04:13 2020 +0100 (2020-04-28)
parents 22980cdd8a20
children 5ea0ce1cecc0
line diff
     1.1 --- a/compiz-plugins-extra/receipt	Sat Dec 15 19:21:31 2018 +0100
     1.2 +++ b/compiz-plugins-extra/receipt	Tue Apr 28 17:04:13 2020 +0100
     1.3 @@ -1,40 +1,57 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="compiz-plugins-extra"
     1.7 -VERSION="0.8.12.1"
     1.8 +VERSION="0.8.14"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Compiz extra plugins."
    1.11  MAINTAINER="psychomaniak@xakep.ru"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://github.com/compiz-reloaded"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16 -WEB_SITE="https://github.com/compiz-reloaded"
    1.17  WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    1.18 +
    1.19  WGET_URL2="$WEB_SITE/$PACKAGE/commit/0b2a652.diff"
    1.20  EXTRA_SOURCE_FILES="$PACKAGE-0b2a652.u"
    1.21  
    1.22 -DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ librsvg \
    1.23 -libnotify compiz-plugins-main"
    1.24 -BUILD_DEPENDS="xorg-dev compiz-core-dev compiz-libcompizconfig-dev cmake \
    1.25 -libxslt-dev startup-notification-dev mesa-dev gtk+-dev intltool librsvg-dev \
    1.26 -libnotify-dev compiz-bcop util-linux-uuid-dev compiz-plugins-main-dev libtool \
    1.27 -util-linux-getopt xcb-util-dev file"
    1.28 +DEPENDS="compiz-core compiz-libcompizconfig compiz-plugins-main 
    1.29 +	gtk+ libnotify librsvg xorg-libX11"
    1.30 +BUILD_DEPENDS="cmake compiz-bcop compiz-core-dev compiz-libcompizconfig-dev 
    1.31 +	compiz-plugins-main-dev file gtk+-dev intltool libnotify-dev 
    1.32 +	librsvg-dev libtool libxslt-dev mesa-dev startup-notification-dev 
    1.33 +	util-linux-getopt util-linux-uuid-dev xcb-util-dev xorg-dev"
    1.34  
    1.35  # Rules to configure and make the package.
    1.36  compile_rules()
    1.37  {
    1.38 -	[ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \
    1.39 -		wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
    1.40 -	patch -p1 -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
    1.41 -	./configure --prefix=/usr
    1.42 -	make && make install
    1.43 +	# 0.8.12.1
    1.44 +#	[ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || \
    1.45 +#		wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
    1.46 +#	patch -p1 -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
    1.47 +
    1.48 +	./configure --prefix=/usr &&
    1.49 +	make &&
    1.50 +	make install
    1.51  }
    1.52  
    1.53  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.54  genpkg_rules()
    1.55  {
    1.56 -	mkdir -p $fs/usr/lib $fs/usr/share/locale
    1.57 -	cp -a $install/usr/lib/compiz $fs/usr/lib
    1.58 -	cp -a $install/usr/share/compiz $fs/usr/share
    1.59 -	cp -a $install/usr/share/locale/ru $fs/usr/share/locale
    1.60 +	mkdir -p $fs/usr/lib
    1.61 +	mkdir -p $fs/usr/share/locale
    1.62 +
    1.63 +	cp -a $install/usr/lib/compiz	$fs/usr/lib
    1.64 +	cp -a $install/usr/share/compiz	$fs/usr/share
    1.65 +
    1.66 +	# Set list of wanted locales in LOCALE_PACK
    1.67 +	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    1.68 +
    1.69 +	# Copy message files in wanted languages, if available
    1.70 +	for locale in $LOCALE_PACK
    1.71 +	  do
    1.72 +		[ -d $install/usr/share/locale/$locale ] || continue
    1.73 +		cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
    1.74 +	  done
    1.75 +
    1.76  	cd $fs/usr/lib/compiz; rm -f *.a *.la
    1.77  }