Install menu entry, bug #160245
authorTristan Heaven <tristan@gentoo.org>
Mon, 12 Mar 2007 16:23:40 +0000 (16:23 +0000)
committerTristan Heaven <tristan@gentoo.org>
Mon, 12 Mar 2007 16:23:40 +0000 (16:23 +0000)
Package-Manager: portage-2.1.2.2

games-arcade/rockdodger/ChangeLog
games-arcade/rockdodger/Manifest
games-arcade/rockdodger/rockdodger-0.6.0a-r1.ebuild

index 1c9368d576df50afb0cc1fe9b65831bf338647b2..97e593621c64396807273992da3428b4beff3bcd 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for games-arcade/rockdodger
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/rockdodger/ChangeLog,v 1.8 2006/12/06 17:06:04 wolf31o2 Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/rockdodger/ChangeLog,v 1.9 2007/03/12 16:23:40 nyhm Exp $
+
+  12 Mar 2007; Tristan Heaven <nyhm@gentoo.org> rockdodger-0.6.0a-r1.ebuild:
+  Install menu entry, bug #160245
 
   06 Dec 2006; Chris Gianelloni <wolf31o2@gentoo.org>
   rockdodger-0.6.0a-r1.ebuild:
index 811274bb5d08cfab0ccb4b4868e26dcbb955dfc1..462dbe8743a2022fb61232e3f31af1e4b76af2b7 100644 (file)
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
 AUX 0.6.0a-sec.patch 660 RMD160 8c17aab2634abea7ca04a9a2527d7a29275aa495 SHA1 9b1de43730f3bae78351dbfbcf47742f6ad67a02 SHA256 ce9997508baa40e7ad3809446e39592a8e43c77787e6c5afc52a18522688ac71
 MD5 1606327f50449423e375330cdd1b8be9 files/0.6.0a-sec.patch 660
 RMD160 8c17aab2634abea7ca04a9a2527d7a29275aa495 files/0.6.0a-sec.patch 660
@@ -7,14 +10,14 @@ MD5 c8b17a6ffaa12f1a116170437b4629c0 files/rockdodger-0.6.0a-gcc41.patch 516
 RMD160 c1b84ff7b2c933d329c9350129b58ddcd81a06ca files/rockdodger-0.6.0a-gcc41.patch 516
 SHA256 4a4d0bd2611fcdd771fa2bd8c79426a28ddf2bfed5eb20eed2311ec8be9929ce files/rockdodger-0.6.0a-gcc41.patch 516
 DIST rockdodger-0.6.0a.tar.gz 410223 RMD160 13b42aa9e4549680a1326e7fc248b65a081fc00f SHA1 d229250c41c4ef0482165dd49052ecc378b59ef8 SHA256 3b6676676d47c1a4d6074c6b811f7a0449f1e4774b2200127c9096c489def17e
-EBUILD rockdodger-0.6.0a-r1.ebuild 1550 RMD160 c242db1025773065ee7fb516f6ec27042907aa48 SHA1 c0f7150550e9d5e8a3bda4cd721126dfb4cf7815 SHA256 8367e89851b3c06f0cee097232011ec9851c06856d1b9bceac3ea41b303ca0bc
-MD5 975cdea5c0f899fe7033aaf85a4fa566 rockdodger-0.6.0a-r1.ebuild 1550
-RMD160 c242db1025773065ee7fb516f6ec27042907aa48 rockdodger-0.6.0a-r1.ebuild 1550
-SHA256 8367e89851b3c06f0cee097232011ec9851c06856d1b9bceac3ea41b303ca0bc rockdodger-0.6.0a-r1.ebuild 1550
-MISC ChangeLog 1216 RMD160 da4ad8e87096acc68594cfa2e0b737aeb7ebe251 SHA1 6f9be32985925b17ee6b785977e080eb98eaf8ca SHA256 80b6ea93979e29bb93b504e692ac923d05f3cac68e53928fe7ab82b54c313145
-MD5 b9ec7fe02f5a795e52a0b606a24e0682 ChangeLog 1216
-RMD160 da4ad8e87096acc68594cfa2e0b737aeb7ebe251 ChangeLog 1216
-SHA256 80b6ea93979e29bb93b504e692ac923d05f3cac68e53928fe7ab82b54c313145 ChangeLog 1216
+EBUILD rockdodger-0.6.0a-r1.ebuild 1496 RMD160 5bb6367f4dff8ffe7f7a10d441b3acb3b32596fa SHA1 6d6f86ae3eb16e3e444078f914c178e24b810ee9 SHA256 30028fbed802d91c86cadf98c710bbb123f4f4f3047abc400214bde6d531927b
+MD5 34fb36ab385e8cc373becce2fee3405d rockdodger-0.6.0a-r1.ebuild 1496
+RMD160 5bb6367f4dff8ffe7f7a10d441b3acb3b32596fa rockdodger-0.6.0a-r1.ebuild 1496
+SHA256 30028fbed802d91c86cadf98c710bbb123f4f4f3047abc400214bde6d531927b rockdodger-0.6.0a-r1.ebuild 1496
+MISC ChangeLog 1324 RMD160 dc0c86900f3cdb80130906bd970de8d46da4c2dd SHA1 d4dcd14b2da8e05f384b14b28d058b2629c46738 SHA256 f1ea38b25253ff2eca58627abe1c20cbd64c89bbfcc69a0991095bde7a0a5d3f
+MD5 42f89cd9cd82a7e81f125a1dfd55aaa5 ChangeLog 1324
+RMD160 dc0c86900f3cdb80130906bd970de8d46da4c2dd ChangeLog 1324
+SHA256 f1ea38b25253ff2eca58627abe1c20cbd64c89bbfcc69a0991095bde7a0a5d3f ChangeLog 1324
 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -22,3 +25,10 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata
 MD5 f33fc3a2a3d6883f3a5e6acc3d595eb2 files/digest-rockdodger-0.6.0a-r1 253
 RMD160 5ed1b8f27e1b087c17238ff857aeee608d5c7db4 files/digest-rockdodger-0.6.0a-r1 253
 SHA256 7eeca5ea554b6cdf8e5178e1699ec6d2cb8952e163d8c9f41c4735ca5090f477 files/digest-rockdodger-0.6.0a-r1 253
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.3 (GNU/Linux)
+
+iD8DBQFF9X6Tdz7hIScOURERAoIYAKC6YMy4h3x+2v1cxFPfchDDiaRWsgCg6BE7
+CQqHY46/lXlxnRrbwNipXgg=
+=59+A
+-----END PGP SIGNATURE-----
index 0c1e15c1fd647c57905bcb740d84df6ccf8459d2..38934ecc7f78186b776f44ec0dc8bd9e3980d195 100644 (file)
@@ -1,10 +1,10 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/rockdodger/rockdodger-0.6.0a-r1.ebuild,v 1.5 2006/12/06 17:06:04 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/rockdodger/rockdodger-0.6.0a-r1.ebuild,v 1.6 2007/03/12 16:23:40 nyhm Exp $
 
 inherit eutils games
 
-DESCRIPTION="Dodge the rocks for as long as possible until you die. Kill greeblies to make the universe safe for non-greeblie life once again."
+DESCRIPTION="Dodge the rocks for as long as possible until you die"
 HOMEPAGE="http://spacerocks.sourceforge.net/"
 SRC_URI="mirror://sourceforge/spacerocks/${P}.tar.gz"
 
@@ -13,11 +13,9 @@ SLOT="0"
 KEYWORDS="amd64 ppc x86"
 IUSE=""
 
-RDEPEND=">=media-libs/libsdl-1.2.2
-       >=media-libs/sdl-image-1.2
-       >=media-libs/sdl-mixer-1.2"
-
-GAME_DEST_DIR=${GAMES_DATADIR}/${PN}
+DEPEND="media-libs/libsdl
+       media-libs/sdl-image
+       media-libs/sdl-mixer"
 
 src_unpack() {
        unpack ${A}
@@ -25,7 +23,7 @@ src_unpack() {
 
        # Modify highscores & data directory and add our CFLAGS to the Makefile
        sed -i \
-               -e "s:\./data:${GAME_DEST_DIR}:" \
+               -e "s:\./data:${GAMES_DATADIR}/${PN}:" \
                -e "s:/usr/share/rockdodger/\.highscore:${GAMES_STATEDIR}/rockdodger.scores:" \
                -e 's:umask(0111):umask(0117):' main.c \
                        || die " sed main.c failed"
@@ -37,18 +35,21 @@ src_unpack() {
        sed -i \
                -e "s:512:1024:" sound.c \
                        || die "sed sound.c failed"
-       epatch "${FILESDIR}/${PV}-sec.patch" \
-               "${FILESDIR}/${P}"-gcc41.patch
+       epatch \
+               "${FILESDIR}"/${PV}-sec.patch \
+               "${FILESDIR}"/${P}-gcc41.patch
 }
 
 src_install() {
-       dogamesbin rockdodger || die "dogamesbin failed"
-       insinto "${GAME_DEST_DIR}"
+       dogamesbin ${PN} || die "dogamesbin failed"
+       insinto "${GAMES_DATADIR}"/${PN}
        doins data/* || die "doins failed"
 
-       dodir "${GAMES_STATEDIR}"
-       touch "${D}/${GAMES_STATEDIR}/rockdodger.scores"
-       fperms 660 "${GAMES_STATEDIR}/rockdodger.scores"
+       newicon spacerocks.xpm ${PN}.xpm
+       make_desktop_entry ${PN} "Rock Dodger" ${PN}.xpm
 
+       dodir "${GAMES_STATEDIR}"
+       touch "${D}/${GAMES_STATEDIR}"/${PN}.scores
+       fperms 660 "${GAMES_STATEDIR}"/${PN}.scores
        prepgamesdirs
 }