wok-next rev 18857

gnome-games (patch for aisleriot, swell-foop, lightsoff)
author Lucas Levrel <llevrel@yahoo.fr>
date Tue Jan 26 22:00:52 2016 +0100 (2016-01-26)
parents 8b63895e0cae
children 801c55e270d3
files gnome-games/receipt
line diff
     1.1 --- a/gnome-games/receipt	Tue Jan 26 12:37:45 2016 +0200
     1.2 +++ b/gnome-games/receipt	Tue Jan 26 22:00:52 2016 +0100
     1.3 @@ -11,7 +11,7 @@
     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="clutter-gtk GConf guile libcanberra librsvg xorg-libXi"
     1.8 +DEPENDS="clutter-gtk GConf guile libcanberra librsvg seed xorg-libXi"
     1.9  BUILD_DEPENDS="GConf-dev librsvg-dev libcroco-dev mesa-dev clutter-dev \
    1.10  clutter-gtk-dev python-dev pygtk-dev libcanberra-dev gnome-doc-utils-dev \
    1.11  libvorbis-dev libogg-dev util-linux-uuid-dev seed-dev libtool guile-dev \
    1.12 @@ -25,7 +25,7 @@
    1.13  		--bindir=/usr/games \
    1.14  		--localstatedir=/var \
    1.15  		--disable-scrollkeeper \
    1.16 -		--enable-introspection=no \
    1.17 +		--enable-introspection \
    1.18  		--enable-sound \
    1.19  		$CONFIGURE_ARGS &&
    1.20  	make && make install
    1.21 @@ -34,17 +34,22 @@
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23  genpkg_rules()
    1.24  {
    1.25 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.26 -	
    1.27 +	mkdir -p $fs/usr/lib $fs/usr/share/$PACKAGE-common
    1.28 +
    1.29  	cp -a $install/usr/games $fs/usr
    1.30 +	cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
    1.31 +	cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
    1.32  	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.33 +	cp -a $install/usr/share/$PACKAGE-common/cards \
    1.34 +		$fs/usr/share/$PACKAGE-common
    1.35 +	cp -a $install/usr/share/gir-1.0 $fs/usr/share
    1.36  
    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 +
    1.44  	cp -a $install/var $fs
    1.45  	chmod a+w $fs/var/games/*
    1.46  }