wok diff gcompris/receipt @ rev 22625

updated cyrus-imapd and cyrus-impad-dev (2.4.17 -> 3.0.13)
author Hans-G?nter Theisgen
date Sun Jan 12 16:58:49 2020 +0100 (2020-01-12)
parents a78610b2eb47
children af8d823a3077
line diff
     1.1 --- a/gcompris/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/gcompris/receipt	Sun Jan 12 16:58:49 2020 +0100
     1.3 @@ -1,28 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gcompris"
     1.7 -VERSION="11.12"
     1.8 +VERSION="17.05"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="Education games."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -LICENSE="GPL2"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +LICENSE="GPLv3+"
    1.15  WEB_SITE="https://www.gcompris.net/"
    1.16 -WGET_URL="$SF_MIRROR/project/$PACKAGE/$VERSION/$TARBALL"
    1.17 +
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.19 +WGET_URL="https://www.gcompris.net/download/gtk/src/$TARBALL"
    1.20  
    1.21  DEPENDS="pygtk libsdl-mixer librsvg libxml2 gnuchess gnet sqlite \
    1.22 -libcroco"
    1.23 +        libcroco"
    1.24  BUILD_DEPENDS="pygtk-dev libsdl-mixer-dev librsvg-dev libxml2-dev gnuchess \
    1.25 -gnet-dev sqlite-dev libcroco-dev intltool perl perl-texi2html optipng file"
    1.26 +        gnet-dev sqlite-dev libcroco-dev intltool perl perl-texi2html optipng file"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31  	sed -i 's/g_memmove/memmove/' src/goocanvas/src/goocanvastable.c
    1.32 +
    1.33  	./configure \
    1.34  		--enable-sdlmixer &&
    1.35 -	make LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule-2.0" \
    1.36 -	     CFLAGS="-DG_CONST_RETURN=const" && make install &&
    1.37 +	make -j 1 \
    1.38 +		LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule-2.0" \
    1.39 +		CFLAGS="-DG_CONST_RETURN=const" &&
    1.40 +	make install &&
    1.41  	find | grep .png | xargs optipng -o7 > /dev/null
    1.42  }
    1.43  
    1.44 @@ -34,7 +38,8 @@
    1.45  	cp -a $install/usr/lib/gcompris/*.so* \
    1.46  		$fs/usr/lib/gcompris
    1.47  	cp -a $install/usr/share/gcompris $fs/usr/share
    1.48 -	# Music and voices are splited (gcompris-music, gcompris-fr, etc)
    1.49 +
    1.50 +	# Music and voices are splitted (gcompris-music, gcompris-voices-fr, etc)
    1.51  	rm -rf $fs/usr/share/gcompris/boards/music
    1.52  	rm -rf $fs/usr/share/gcompris/boards/voices
    1.53  }