From: Tristan Heaven Date: Mon, 12 Mar 2007 17:36:28 +0000 (+0000) Subject: Install menu entry, bug #160244 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=284fd6f6e4b7a5bb6f89a6ea14e52f8b583031e3;p=gentoo.git Install menu entry, bug #160244 Package-Manager: portage-2.1.2.2 --- diff --git a/games-sports/race/ChangeLog b/games-sports/race/ChangeLog index 7868f6b3f245..ee5713ee4fcd 100644 --- a/games-sports/race/ChangeLog +++ b/games-sports/race/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-sports/race # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/race/ChangeLog,v 1.7 2007/02/08 21:52:47 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/race/ChangeLog,v 1.8 2007/03/12 17:36:28 nyhm Exp $ + + 12 Mar 2007; Tristan Heaven race-0.5.ebuild: + Install menu entry, bug #160244 08 Feb 2007; Chris Gianelloni ChangeLog: Regenerate digest in Manifest2 format. diff --git a/games-sports/race/Manifest b/games-sports/race/Manifest index 57664689dfd7..59ad18e83e29 100644 --- a/games-sports/race/Manifest +++ b/games-sports/race/Manifest @@ -6,14 +6,14 @@ MD5 e8ca685e0adb1972e290852a3583ca47 files/0.5-gentoo.patch 3224 RMD160 c968b979d5f817b0235d859ac6166550795b721d files/0.5-gentoo.patch 3224 SHA256 49a011cfd2edf0c4a5ee9419e70a5ee7c03e6743fe72e9a450165ab951daa257 files/0.5-gentoo.patch 3224 DIST race-0.5.tar.bz2 550872 RMD160 76b86196c974141616a1ef10662ffd25f816facf SHA1 ec10a6cf89ae90614250bd0208a012b1d76f20e0 SHA256 7c3329128f5fed9cba78638f7d2f56c62823927e9ec518fdd426dae0d108ae63 -EBUILD race-0.5.ebuild 1173 RMD160 29101e541aedcfaeed929e3ca46f2f5316d30644 SHA1 3398f221fe5a8d7866ca767091d937c3468b964e SHA256 990717412a4d176a52776a1239cc6701d72a716e2bed8fc3867c691c4e16eef5 -MD5 a48f902a60b8d276388f861de24c4582 race-0.5.ebuild 1173 -RMD160 29101e541aedcfaeed929e3ca46f2f5316d30644 race-0.5.ebuild 1173 -SHA256 990717412a4d176a52776a1239cc6701d72a716e2bed8fc3867c691c4e16eef5 race-0.5.ebuild 1173 -MISC ChangeLog 750 RMD160 6185bb19c563cef0e0dafeedf546bc4651def3e6 SHA1 1a0279e6008cbcd94deb488f0592fddbe0fe5ca5 SHA256 407f8972a5c2fddeed183a39c0a5ad0cbcffac616bee5c1d45fcc766c88f29b3 -MD5 0d81cd91ac8a4849f182f0907a0d6d5a ChangeLog 750 -RMD160 6185bb19c563cef0e0dafeedf546bc4651def3e6 ChangeLog 750 -SHA256 407f8972a5c2fddeed183a39c0a5ad0cbcffac616bee5c1d45fcc766c88f29b3 ChangeLog 750 +EBUILD race-0.5.ebuild 1252 RMD160 468249f6c03260360b7cc16bf1065cade05ca474 SHA1 55cb39985c66cd4c051712ff777c49cbf5f01f91 SHA256 ab3f756ae981cc1396015b222f2a227d2a773826beb06857f4d5de8198903401 +MD5 78600c013f2249d0022af169449e69ef race-0.5.ebuild 1252 +RMD160 468249f6c03260360b7cc16bf1065cade05ca474 race-0.5.ebuild 1252 +SHA256 ab3f756ae981cc1396015b222f2a227d2a773826beb06857f4d5de8198903401 race-0.5.ebuild 1252 +MISC ChangeLog 846 RMD160 f10bc0b4ab3b38db0663f78d56f6ebedd839189e SHA1 ddc09580d51667d54fee2c06e33f2c214a1379aa SHA256 c1cdc965c83dcdf91e8f5065b4e7184c500b6f53a39ac8071c3b13a11ba958f6 +MD5 16c8ee7e176178b9ef536a00b0d75216 ChangeLog 846 +RMD160 f10bc0b4ab3b38db0663f78d56f6ebedd839189e ChangeLog 846 +SHA256 c1cdc965c83dcdf91e8f5065b4e7184c500b6f53a39ac8071c3b13a11ba958f6 ChangeLog 846 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -22,9 +22,9 @@ MD5 403e13033abd624cf220164b2b5b6b82 files/digest-race-0.5 229 RMD160 dec1ada7764cb8f0809964c6c57ce947d6aad1c9 files/digest-race-0.5 229 SHA256 3f15456b37dec7efd5f5669a9d76982b4ef6b5ebb2e84e6f2618cf200ede095c files/digest-race-0.5 229 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.2 (GNU/Linux) +Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFFy5u1kT4lNIS36YERAkE0AJ0dkD6Kx1e6/qvgwK/t9/KiNLRh9gCeKp52 -gzIZTzUr6VwshfbTI1rtzww= -=jG/Y +iD8DBQFF9Y+idz7hIScOURERAqqgAJ9bcDeD/a9owr5tHoFWeudrqqZIIwCgzRD5 +f90FkQIOIofM6S5NflvZRH0= +=pTj7 -----END PGP SIGNATURE----- diff --git a/games-sports/race/race-0.5.ebuild b/games-sports/race/race-0.5.ebuild index f1be775e0515..a39bcac1e8c8 100644 --- a/games-sports/race/race-0.5.ebuild +++ b/games-sports/race/race-0.5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/race/race-0.5.ebuild,v 1.10 2005/05/17 18:55:42 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/race/race-0.5.ebuild,v 1.11 2007/03/12 17:36:28 nyhm Exp $ inherit eutils toolchain-funcs games @@ -21,13 +21,13 @@ RDEPEND="virtual/opengl src_unpack() { unpack ${A} - cd ${S}/src - epatch ${FILESDIR}/${PV}-gentoo.patch + cd "${S}"/src + epatch "${FILESDIR}"/${PV}-gentoo.patch sed -i \ -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:g" \ -e "s:GENTOO_CONFDIR:${GAMES_SYSCONFDIR}:g" \ *.c || die "sed failed" - find "${S}"/data/ -type d -name .xvpics -print0 | xargs -0 rm -r + find "${S}"/data/ -type d -name .xvpics -print0 | xargs -0 rm -rf } src_compile() { @@ -36,10 +36,12 @@ src_compile() { src_install() { dogamesbin race || die "dogamesbin failed" - insinto ${GAMES_SYSCONFDIR} + insinto "${GAMES_SYSCONFDIR}" newins config race.conf || die "newins failed" - dodir ${GAMES_DATADIR}/${PN} - cp -r data/* ${D}/${GAMES_DATADIR}/${PN}/ || die "cp failed" + insinto "${GAMES_DATADIR}"/${PN} + doins -r data/* || die "doins failed" + newicon data/sea/map.bmp ${PN}.bmp + make_desktop_entry race Race /usr/share/pixmaps/${PN}.bmp dodoc README prepgamesdirs }