# HG changeset patch # User Pascal Bellard # Date 1415353194 -3600 # Node ID 5b063a7e40ae8fcef230978dcf058a98d9ef62f2 # Parent 11d2c19285028a734c0e7ac527f5da2d9ecebf22 xgalaga: add desktop files diff -r 11d2c1928502 -r 5b063a7e40ae libsdl2-dev/receipt --- a/libsdl2-dev/receipt Thu Nov 06 15:27:15 2014 +0200 +++ b/libsdl2-dev/receipt Fri Nov 07 10:39:54 2014 +0100 @@ -5,7 +5,7 @@ CATEGORY="development" SHORT_DESC="a cross-platform interactive media development library - dev files" MAINTAINER="tcg.thegamer@gmail.com" -LICENSE="zlib" +LICENSE="zlib/libpng" TARBALL="SDL2-$VERSION.tar.gz" WEB_SITE="http://libsdl.org" WGET_URL="${WEB_SITE}/release/${TARBALL}" diff -r 11d2c1928502 -r 5b063a7e40ae libsdl2/receipt --- a/libsdl2/receipt Thu Nov 06 15:27:15 2014 +0200 +++ b/libsdl2/receipt Fri Nov 07 10:39:54 2014 +0100 @@ -5,7 +5,7 @@ CATEGORY="x-window" SHORT_DESC="a cross-platform interactive media development library" MAINTAINER="tcg.thegamer@gmail.com" -LICENSE="zlib" +LICENSE="zlib/libpng" TARBALL="SDL2-$VERSION.tar.gz" WEB_SITE="http://libsdl.org" WGET_URL="${WEB_SITE}/release/${TARBALL}" diff -r 11d2c1928502 -r 5b063a7e40ae pydf/receipt --- a/pydf/receipt Thu Nov 06 15:27:15 2014 +0200 +++ b/pydf/receipt Fri Nov 07 10:39:54 2014 +0100 @@ -5,7 +5,7 @@ CATEGORY="utilities" SHORT_DESC="Python disk file system." MAINTAINER="paul@slitaz.org" -LICENSE="Publicdomain" +LICENSE="PublicDomain" DEPENDS="python" TARBALL="${PACKAGE}_${VERSION}.tar.gz" WEB_SITE="http://kassiopeia.juls.savba.sk/~garabik/software/pydf/" diff -r 11d2c1928502 -r 5b063a7e40ae python-requests/receipt --- a/python-requests/receipt Thu Nov 06 15:27:15 2014 +0200 +++ b/python-requests/receipt Fri Nov 07 10:39:54 2014 +0100 @@ -5,7 +5,7 @@ CATEGORY="network" SHORT_DESC="Python HTTP Requests for Humans" MAINTAINER="al.bobylev@gmail.com" -LICENSE="Apache2" +LICENSE="Apache" WEB_SITE="http://python-requests.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/kennethreitz/requests/archive/v$VERSION.tar.gz" diff -r 11d2c1928502 -r 5b063a7e40ae xgalaga/receipt --- a/xgalaga/receipt Thu Nov 06 15:27:15 2014 +0200 +++ b/xgalaga/receipt Fri Nov 07 10:39:54 2014 +0100 @@ -23,7 +23,12 @@ -e 's|@exec_prefix@|/usr/bin|' \ -e 's|@CREDITSFILE@|/usr/share/xgalaga/CREDITS|' \ Makefile.in - ./configure $CONFIGURE_ARGS && + ./configure $CONFIGURE_ARGS + sed -i -e 's|/usr/sounds/|/usr/share/xgalaga/sounds/|' \ + -e 's|/usr/levels/|/usr/share/xgalaga/levels/|' \ + -e 's|/usr/CREDITS|/usr/share/xgalaga/CREDITS|' \ + -e 's|/usr/scores|/var/games/xgalaga/scores|' \ + config.h make && make DESTDIR=$DESTDIR install } @@ -31,8 +36,9 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share + mkdir -p $fs/usr/share/applications $fs/var/games/xgalaga/scores cp -a $install/usr/share/xgalaga $fs/usr/share cp -a $install/usr/bin $fs/usr + cp $stuff/*.desktop $fs/usr/share/applications } diff -r 11d2c1928502 -r 5b063a7e40ae xgalaga/stuff/xgalaga-hyperspace.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xgalaga/stuff/xgalaga-hyperspace.desktop Fri Nov 07 10:39:54 2014 +0100 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Galaga:Hyperspace +Comment=Play enhanced Galaga Game +Exec=xgalaga-hyperspace +Icon=other +Terminal=false +Categories=Game; diff -r 11d2c1928502 -r 5b063a7e40ae xgalaga/stuff/xgalaga.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xgalaga/stuff/xgalaga.desktop Fri Nov 07 10:39:54 2014 +0100 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Galaga +Comment=Play Galaga Game +Exec=xgalaga +Icon=other +Terminal=false +Categories=Game;