From: Tristan Heaven Date: Tue, 13 Mar 2007 21:42:26 +0000 (+0000) Subject: Install menu entry, bug #160227 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=441b2150fb18a8469361263b2d0d60887e8e459b;p=gentoo.git Install menu entry, bug #160227 Package-Manager: portage-2.1.2.2 --- diff --git a/games-arcade/insaneodyssey/ChangeLog b/games-arcade/insaneodyssey/ChangeLog index db639b7a3777..2efb245c3e41 100644 --- a/games-arcade/insaneodyssey/ChangeLog +++ b/games-arcade/insaneodyssey/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-arcade/insaneodyssey -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/insaneodyssey/ChangeLog,v 1.5 2006/12/06 17:02:08 wolf31o2 Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/insaneodyssey/ChangeLog,v 1.6 2007/03/13 21:42:26 nyhm Exp $ + + 13 Mar 2007; Tristan Heaven insaneodyssey-000311.ebuild: + Install menu entry, bug #160227 06 Dec 2006; Chris Gianelloni insaneodyssey-000311.ebuild: diff --git a/games-arcade/insaneodyssey/Manifest b/games-arcade/insaneodyssey/Manifest index 4fd1d8be1e0b..1dc651dc0000 100644 --- a/games-arcade/insaneodyssey/Manifest +++ b/games-arcade/insaneodyssey/Manifest @@ -1,16 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX insaneodyssey-000311-datafiles.patch 1601 RMD160 f571b7b4ed4b6f9bfd55ada69273266d625ba8d3 SHA1 bd1f32609c82db917dafae34550dd674a04584af SHA256 5627475b431630ae8a9994ebf85e8c9b475e0f77fc3f5daf30c222f3f76570fb MD5 aaa165e45368e9829c7a9f1969abca9c files/insaneodyssey-000311-datafiles.patch 1601 RMD160 f571b7b4ed4b6f9bfd55ada69273266d625ba8d3 files/insaneodyssey-000311-datafiles.patch 1601 SHA256 5627475b431630ae8a9994ebf85e8c9b475e0f77fc3f5daf30c222f3f76570fb files/insaneodyssey-000311-datafiles.patch 1601 DIST io000311.tar.gz 839950 RMD160 f5d79d09b125e96b0d935d584d1482e466b54ad1 SHA1 c63f36d7fb7b06f40cf2cf9052512d4b2c5fda80 SHA256 72e7dd8b1b87dab6772ce21576ef048d6b34b551449af9c7580ae53f006e704f -EBUILD insaneodyssey-000311.ebuild 1574 RMD160 3da9739796ff36133e52db6be862e278061e7f06 SHA1 a54a3fb251164ace3e6788c3f4052bf9f7aa170a SHA256 f88b1f7c920ffee9a56b3a9091e53e4cff30843441645ff71ff30f9b98451962 -MD5 1e4d5c12a95de92e43c77442a8986869 insaneodyssey-000311.ebuild 1574 -RMD160 3da9739796ff36133e52db6be862e278061e7f06 insaneodyssey-000311.ebuild 1574 -SHA256 f88b1f7c920ffee9a56b3a9091e53e4cff30843441645ff71ff30f9b98451962 insaneodyssey-000311.ebuild 1574 -MISC ChangeLog 843 RMD160 35e0d92f3eff7ad6949a42793119fd5e88f986ca SHA1 64550bf9d0943587832b365f9df1d3bbe47f5ce9 SHA256 4af789dc9fc9ced6adf14abb6f3194a402903cd39d3176738c510293498ca5cf -MD5 ecf7368d5e2e4e9cf0cf23cc7f06ef79 ChangeLog 843 -RMD160 35e0d92f3eff7ad6949a42793119fd5e88f986ca ChangeLog 843 -SHA256 4af789dc9fc9ced6adf14abb6f3194a402903cd39d3176738c510293498ca5cf ChangeLog 843 +EBUILD insaneodyssey-000311.ebuild 1817 RMD160 357ebd1ed16b3e311dad1619c7bfce1b4645bcc9 SHA1 1604634578c46cf4c91e327424844f3a2eb03739 SHA256 40a5d2dee5c6b852bc016b769962b53dc4d022c6d679b87ea3b7535240e861ae +MD5 1bfd778b991ee834f8a1e7f0d81254c3 insaneodyssey-000311.ebuild 1817 +RMD160 357ebd1ed16b3e311dad1619c7bfce1b4645bcc9 insaneodyssey-000311.ebuild 1817 +SHA256 40a5d2dee5c6b852bc016b769962b53dc4d022c6d679b87ea3b7535240e861ae insaneodyssey-000311.ebuild 1817 +MISC ChangeLog 951 RMD160 3f56e0dbc46dc1b453f0e681c5128ec9a4a8f8be SHA1 57e6779982faac65996835e15401f18319fd734f SHA256 569b409b84dd0a7a905ed0d10f5d0781d5c0a25ded6442fd22f859fb7947ac55 +MD5 b092fc19cab7dd39a7327a019043fbd7 ChangeLog 951 +RMD160 3f56e0dbc46dc1b453f0e681c5128ec9a4a8f8be ChangeLog 951 +SHA256 569b409b84dd0a7a905ed0d10f5d0781d5c0a25ded6442fd22f859fb7947ac55 ChangeLog 951 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -18,3 +21,10 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata MD5 9072a6cb033339e7c4c7d6317483622c files/digest-insaneodyssey-000311 226 RMD160 5e4cbda2e176564d10b5b07c223d9aa95e296ad7 files/digest-insaneodyssey-000311 226 SHA256 f188286dca98b2f46fd04320116d5aef3a3f4813fb31d30ce64b541d466b4bb9 files/digest-insaneodyssey-000311 226 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFF9xrIdz7hIScOURERAgYDAKCLXpwHjaUqKdUVALlKaHHBDT5LsgCfQZdo +FXQCD6aXfbf1T1IDUkLLAEU= +=3epm +-----END PGP SIGNATURE----- diff --git a/games-arcade/insaneodyssey/insaneodyssey-000311.ebuild b/games-arcade/insaneodyssey/insaneodyssey-000311.ebuild index b87a16668873..c64a1f28ba81 100644 --- a/games-arcade/insaneodyssey/insaneodyssey-000311.ebuild +++ b/games-arcade/insaneodyssey/insaneodyssey-000311.ebuild @@ -1,6 +1,6 @@ -# 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/insaneodyssey/insaneodyssey-000311.ebuild,v 1.5 2006/12/06 17:02:08 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/insaneodyssey/insaneodyssey-000311.ebuild,v 1.6 2007/03/13 21:42:26 nyhm Exp $ inherit eutils games @@ -12,34 +12,35 @@ SRC_URI="mirror://gentoo/io${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ~amd64 ~ppc" +KEYWORDS="~amd64 ~ppc x86" IUSE="" -RDEPEND=">=media-libs/libsdl-1.2.7 - >=media-libs/sdl-mixer-1.2.5 - >=media-libs/sdl-image-1.2.3" +DEPEND="media-libs/libsdl + media-libs/sdl-mixer + media-libs/sdl-image" S=${WORKDIR}/${PN} -DEST_DIR=${GAMES_DATADIR}/${PN} - src_unpack() { unpack ${A} - cd "${S}/${PN}" + cd "${S}"/${PN} # Modify data load code and paths to game data - epatch "${FILESDIR}/${P}-datafiles.patch" + sed -e "s:/usr/share/games:${GAMES_DATADIR}:" \ + "${FILESDIR}"/${P}-datafiles.patch > "${T}"/datafiles.patch \ + || die "sed datafiles.patch failed" + epatch "${T}"/datafiles.patch sed -i \ - -e "/lvl/s:^:${DEST_DIR}/:" \ - -e "s:night:${DEST_DIR}/night:" \ + -e "/lvl/s:^:${GAMES_DATADIR}/${PN}/:" \ + -e "s:night:${GAMES_DATADIR}/${PN}/night:" \ levels.dat || die "sed levels.dat failed" sed -i \ - -e "s:tiles.dat:${DEST_DIR}/tiles.dat:" \ - -e "s:sprites.dat:${DEST_DIR}/sprites.dat:" \ - -e "s:levels.dat:${DEST_DIR}/levels.dat:" \ - -e "s:IO_T:${DEST_DIR}/IO_T:" \ - -e "s:tiles.att:${DEST_DIR}/tiles.att:" \ - -e "s:shot:${DEST_DIR}/shot:" \ + -e "s:tiles.dat:${GAMES_DATADIR}/${PN}/tiles.dat:" \ + -e "s:sprites.dat:${GAMES_DATADIR}/${PN}/sprites.dat:" \ + -e "s:levels.dat:${GAMES_DATADIR}/${PN}/levels.dat:" \ + -e "s:IO_T:${GAMES_DATADIR}/${PN}/IO_T:" \ + -e "s:tiles.att:${GAMES_DATADIR}/${PN}/tiles.att:" \ + -e "s:shot:${GAMES_DATADIR}/${PN}/shot:" \ io.cpp || die "sed io.cpp failed" sed -i \ -e 's:\[32:[100:' \ @@ -48,8 +49,10 @@ src_unpack() { src_install() { cd ${PN} - dogamesbin insaneodyssey || die "dogamesbin failed" - insinto "${DEST_DIR}" + dogamesbin ${PN} || die "dogamesbin failed" + insinto "${GAMES_DATADIR}"/${PN} doins *bmp *png *dat *att *lvl *wav *mod *IT || die "doins failed" + newicon west00r.png ${PN}.png + make_desktop_entry ${PN} "Insane Odyssey" prepgamesdirs }