wok diff compiz-core/receipt @ rev 22792

recompiled xneur
author Hans-G?nter Theisgen
date Mon Jan 27 09:19:20 2020 +0100 (2020-01-27)
parents 1fdc9611ce78
children 0feced246be7
line diff
     1.1 --- a/compiz-core/receipt	Thu Feb 16 15:48:06 2017 +0100
     1.2 +++ b/compiz-core/receipt	Mon Jan 27 09:19:20 2020 +0100
     1.3 @@ -1,40 +1,61 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="compiz-core"
     1.7 -VERSION="0.8.12.3"
     1.8 +VERSION="0.8.14"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Compiz is an OpenGL compositing manager for 3D effect."
    1.11 +SHORT_DESC="An OpenGL compositing manager for 3D effect."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="MIT GPL LGPL"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.15  WEB_SITE="https://github.com/compiz-reloaded"
    1.16 -WGET_URL="$WEB_SITE/compiz/releases/download/v$VERSION/compiz-$VERSION.tar.xz"
    1.17  
    1.18 -DEPENDS="librsvg libxslt mesa libglu-mesa dbus dbus-glib startup-notification \
    1.19 -compiz-bcop compiz-libcompizconfig"
    1.20 -BUILD_DEPENDS="xorg-dev intltool librsvg-dev libxslt-dev pango-dev libtool \
    1.21 -startup-notification-dev mesa-dev file dbus-dev dbus-glib-dev cairo-dev \
    1.22 -util-linux-uuid-dev xcb-util-dev libcroco-dev"
    1.23 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.24 +WGET_URL="$WEB_SITE/compiz/archive/v$VERSION.tar.gz"
    1.25 +
    1.26 +DEPENDS="compiz-bcop compiz-libcompizconfig dbus dbus-glib 
    1.27 +	librsvg libglu-mesa mesa libxslt startup-notification"
    1.28 +BUILD_DEPENDS="autoconf automake cairo-dev dbus-dev dbus-glib-dev 
    1.29 +	file intltool libcroco-dev librsvg-dev libtool libxslt-dev 
    1.30 +	mesa-dev pango-dev startup-notification-dev 
    1.31 +	util-linux-uuid-dev xcb-util-dev xorg-dev"
    1.32  
    1.33  # Rules to configure and make the package.
    1.34  compile_rules()
    1.35  {
    1.36 -	./configure --prefix=/usr --enable-shared --enable-librsvg \
    1.37 -		--enable-dbus --enable-dbus-glib --enable-glib \
    1.38 -		--disable-static --disable-inotify
    1.39 -	make && make install
    1.40 +	./autogen.sh			\
    1.41 +		--prefix=/usr		\
    1.42 +		--enable-shared		\
    1.43 +		--enable-librsvg	\
    1.44 +		--enable-dbus		\
    1.45 +		--enable-dbus-glib	\
    1.46 +		--enable-glib		\
    1.47 +		--disable-static	\
    1.48 +		--disable-inotify
    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/bin $fs/usr
    1.58 -	cp -a $install/usr/lib/compiz $fs/usr/lib
    1.59 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.60 -	cp -a $install/usr/share/compiz $fs/usr/share
    1.61 -	cp -a $install/usr/share/icons $fs/usr/share
    1.62 -	cp -a $install/usr/share/locale/ru $fs/usr/share
    1.63 +	mkdir -p $fs/usr/lib
    1.64 +	mkdir -p $fs/usr/share/locale
    1.65 +
    1.66 +	cp -a $install/usr/bin		$fs/usr
    1.67 +	cp -a $install/usr/lib/compiz	$fs/usr/lib
    1.68  	rm -rf $fs/usr/lib/compiz/*.la
    1.69 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.70 +	cp -a $install/usr/share/compiz	$fs/usr/share
    1.71 +	cp -a $install/usr/share/icons	$fs/usr/share
    1.72 +
    1.73 +	# Set list of wanted locales in LOCALE_PACK
    1.74 +	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    1.75 +
    1.76 +	# Copy message files in wanted languages, if available
    1.77 +	for locale in $LOCALE_PACK
    1.78 +	  do
    1.79 +		[ -d $install/usr/share/locale/$locale ] || continue
    1.80 +		cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
    1.81 +	  done
    1.82 +
    1.83  	sed 's|bash|sh|' -i $fs/usr/bin/compiz-decorator
    1.84  }