wok diff emerald/receipt @ rev 20603

Update iptraf & gcc3
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 17 12:19:32 2018 +0100 (2018-12-17)
parents 533c0cab6960
children aa514ab6f5bf
line diff
     1.1 --- a/emerald/receipt	Wed Oct 22 03:42:23 2014 +0300
     1.2 +++ b/emerald/receipt	Mon Dec 17 12:19:32 2018 +0100
     1.3 @@ -1,37 +1,43 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="emerald"
     1.7 -VERSION="0.9.4"
     1.8 +VERSION="0.8.12.4"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Window decorator for Compiz."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 -WEB_SITE="http://www.compiz.org"
    1.15 -WGET_URL="http://cgit.compiz.org/fusion/decorators/emerald/snapshot/$TARBALL"
    1.16 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17 +WEB_SITE="https://github.com/compiz-reloaded"
    1.18 +WGET_URL="$WEB_SITE/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    1.19  
    1.20  DEPENDS="xorg-libX11 gtk+ libwnck compiz-core"
    1.21 -BUILD_DEPENDS="xorg-dev gtk+-dev libwnck-dev compiz-core-dev autoconf \
    1.22 -automake libtool"
    1.23 +BUILD_DEPENDS="xorg-dev gtk+-dev libwnck-dev compiz-core-dev \
    1.24 +libtool autoconf automake"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	./autogen.sh --prefix=/usr $CONFIGURE_ARGS &&
    1.30 +	./autogen.sh --prefix=/usr --with-gtk=2.0 $CONFIGURE_ARGS &&
    1.31  	make && make install
    1.32  }
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.38 +	mkdir -p $fs/usr/lib $fs/usr/share/locale
    1.39 +	cp -a $install/usr/share/locale/ru $fs/usr/share/locale
    1.40  	cp -a $install/usr/bin $fs/usr
    1.41  	cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
    1.42  	cp -a $install/usr/lib/libemeraldengine.so* $fs/usr/lib
    1.43  	rm -f $fs/usr/lib/$PACKAGE/*/*.*a
    1.44  	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.45 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    1.46 +	cp -a $install/usr/share/icons $fs/usr/share
    1.47  	# SliTaz config and theme (to move in slitaz-configs ?)
    1.48  	cp -f $stuff/settings.ini $fs/usr/share/emerald
    1.49  	cp -f $stuff/theme.ini $fs/usr/share/emerald/theme
    1.50 +	cd $fs/usr/share/emerald
    1.51 +	mkdir themes ; cd themes ; ln -sf ../theme SliTaz
    1.52 +	mkdir default ; cd default
    1.53 +	for i in `ls ../../theme/*.png`; do ln -s $i `basename $i`; done
    1.54 +	cp -a $install/usr/share/emerald/theme/theme.ini .
    1.55  }