wok rev 13936

gnome-games: fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 26 17:04:10 2013 +0000 (2013-01-26)
parents fee73974ec3c
children 69557c05e267
files gnome-games/receipt
line diff
     1.1 --- a/gnome-games/receipt	Sat Jan 26 14:51:09 2013 +0100
     1.2 +++ b/gnome-games/receipt	Sat Jan 26 17:04:10 2013 +0000
     1.3 @@ -10,26 +10,24 @@
     1.4  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
     1.5  
     1.6  # Games: aisleriot need guile. glchess use pygtk/mesa and is splitted
     1.7 -DEPENDS="GConf librsvg libcroco mesa clutter clutter-gtk libcanberra \
     1.8 -libvorbis libogg util-linux-uuid gnuchess gnome-games-icons seed"
     1.9 +DEPENDS="clutter-gtk GConf guile libcanberra librsvg xorg-libXi"
    1.10  BUILD_DEPENDS="GConf-dev librsvg-dev libcroco-dev mesa-dev clutter-dev \
    1.11  clutter-gtk-dev python-dev pygtk-dev libcanberra-dev gnome-doc-utils-dev \
    1.12 -libvorbis-dev libogg-dev util-linux-uuid-dev seed-dev libtool"
    1.13 +libvorbis-dev libogg-dev util-linux-uuid-dev seed-dev libtool guile-dev \
    1.14 +libffi-dev"
    1.15  
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {
    1.19 -	LDFLAGS="$LDFLAGS -lgmodule"
    1.20  	./configure \
    1.21  		--sysconfdir=/etc \
    1.22  		--bindir=/usr/games \
    1.23  		--localstatedir=/var \
    1.24 -		--enable-omitgames=aisleriot \
    1.25  		--disable-scrollkeeper \
    1.26 +		--enable-introspection=no \
    1.27 +		--enable-sound \
    1.28  		$CONFIGURE_ARGS &&
    1.29 -	make && make install &&
    1.30 -	rm $DESTDIR/usr/share/*/glchess.desktop &&
    1.31 -	rm $DESTDIR/usr/share/*/gnome-sudoku.desktop
    1.32 +	make && make install
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 @@ -43,6 +41,8 @@
    1.37  	# Remove splitted games files
    1.38  	rm -f $fs/usr/games/glchess
    1.39  	rm -f $fs/usr/games/gnome-sudoku
    1.40 +	rm -f $fs/usr/share/*/glchess.desktop
    1.41 +	rm -f $fs/usr/share/*/gnome-sudoku.desktop
    1.42  	
    1.43  	cp -a $install/var $fs
    1.44  	chmod a+w $fs/var/games/*