wok diff compiz-plugins-unsupported/receipt @ rev 23441

updated poptop (1.3.4 -> 1.4.0)
author Hans-G?nter Theisgen
date Thu Apr 02 13:53:28 2020 +0100 (2020-04-02)
parents 984cad69029c
children 5ea0ce1cecc0
line diff
     1.1 --- a/compiz-plugins-unsupported/receipt	Sat Dec 15 21:00:34 2018 +0100
     1.2 +++ b/compiz-plugins-unsupported/receipt	Thu Apr 02 13:53:28 2020 +0100
     1.3 @@ -1,37 +1,51 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="compiz-plugins-unsupported"
     1.7 -SOURCE="compiz-plugins-experimental"
     1.8 -VERSION="0.8.12"
     1.9 +VERSION="0.8.14"
    1.10  CATEGORY="x-window"
    1.11  SHORT_DESC="Compiz extra plugins."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://github.com/compiz-reloaded"
    1.15 +
    1.16 +SOURCE="compiz-plugins-experimental"
    1.17  TARBALL="$SOURCE-$VERSION.tar.xz"
    1.18 -WEB_SITE="https://github.com/compiz-reloaded"
    1.19  WGET_URL="$WEB_SITE/$SOURCE/releases/download/v$VERSION/$TARBALL"
    1.20  
    1.21 -DEPENDS="xorg-libX11 compiz-core compiz-libcompizconfig gtk+ librsvg \
    1.22 -libnotify compiz-plugins-main"
    1.23 -BUILD_DEPENDS="xorg-dev compiz-core-dev compiz-libcompizconfig-dev cmake \
    1.24 -libxslt-dev startup-notification-dev mesa-dev gtk+-dev intltool librsvg-dev \
    1.25 -libnotify-dev compiz-bcop util-linux-uuid-dev compiz-plugins-main-dev \
    1.26 -compiz-plugins-extra compiz-plugins-extra-dev libtool util-linux-getopt \
    1.27 -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-extra compiz-plugins-extra-dev compiz-plugins-main-dev 
    1.32 +	file gtk+-dev intltool libnotify-dev librsvg-dev libtool libxslt-dev 
    1.33 +	mesa-dev startup-notification-dev util-linux-getopt util-linux-uuid-dev 
    1.34 +	xcb-util-dev xorg-dev"
    1.35  
    1.36  # Rules to configure and make the package.
    1.37  compile_rules()
    1.38  {
    1.39 -	./configure --prefix=/usr
    1.40 -	make && make install
    1.41 +	./configure --prefix=/usr &&
    1.42 +	make &&
    1.43 +	make install
    1.44  }
    1.45  
    1.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.47  genpkg_rules()
    1.48  {
    1.49 -	mkdir -p $fs/usr/lib $fs/usr/share/locale
    1.50 -	cp -a $install/usr/lib/compiz $fs/usr/lib
    1.51 -	cp -a $install/usr/share/compiz $fs/usr/share
    1.52 -	cp -a $install/usr/share/locale/ru $fs/usr/share/locale
    1.53 +	mkdir -p $fs/usr/lib
    1.54 +	mkdir -p $fs/usr/share/locale
    1.55 +
    1.56 +	cp -a $install/usr/lib/compiz	$fs/usr/lib
    1.57 +	cp -a $install/usr/share/compiz	$fs/usr/share
    1.58 +
    1.59 +	# Set list of wanted locales in LOCALE_PACK
    1.60 +	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    1.61 +
    1.62 +	# Copy message files in wanted languages, if available
    1.63 +	for locale in $LOCALE_PACK
    1.64 +	  do
    1.65 +		[ -d $install/usr/share/locale/$locale ] || continue
    1.66 +		cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
    1.67 +	  done
    1.68 +
    1.69  	cd $fs/usr/lib/compiz; rm -f *.a *.la
    1.70  }