From b4a76e7289f0e9e16316d7df110d618fa93be41f Mon Sep 17 00:00:00 2001 From: Tristan Heaven Date: Thu, 15 Mar 2007 15:48:45 +0000 Subject: [PATCH] Install menu entry, bug #159853 Package-Manager: portage-2.1.2.2 --- games-arcade/conveysdl/ChangeLog | 7 +++-- games-arcade/conveysdl/Manifest | 26 +++++++++++------ games-arcade/conveysdl/conveysdl-1.3.ebuild | 32 +++++++++++---------- 3 files changed, 40 insertions(+), 25 deletions(-) diff --git a/games-arcade/conveysdl/ChangeLog b/games-arcade/conveysdl/ChangeLog index 02906983b46e..dd1f4744f9cc 100644 --- a/games-arcade/conveysdl/ChangeLog +++ b/games-arcade/conveysdl/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-arcade/conveysdl -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/conveysdl/ChangeLog,v 1.4 2006/09/01 22:10:03 tupone Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/conveysdl/ChangeLog,v 1.5 2007/03/15 15:48:45 nyhm Exp $ + + 15 Mar 2007; Tristan Heaven conveysdl-1.3.ebuild: + Install menu entry, bug #159853 *conveysdl-1.3 (01 Sep 2006) diff --git a/games-arcade/conveysdl/Manifest b/games-arcade/conveysdl/Manifest index 67bcfd67a80a..36ac2935bde6 100644 --- a/games-arcade/conveysdl/Manifest +++ b/games-arcade/conveysdl/Manifest @@ -1,12 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST conveysdl.1.3.tar 429568 RMD160 dc214567c3d5dd349c03d02005a9b50bc52901e9 SHA1 b4d406b9c837457c3da488c8bae0e3ea6254bf94 SHA256 d0de3f8435b6189d2f40fbe5a28f903fbd46d94b53daf10efa53b879346c81cf -EBUILD conveysdl-1.3.ebuild 1335 RMD160 d8c1e612431e6a1196e1244d6271059805b26c1e SHA1 a2636d7a9f6ad36bbc8fb094c706aba35c1ccd41 SHA256 06785c78bc068b2fc9def056f7455c4938f2e1466f0bb8e99da5093eaeedabf2 -MD5 648b0dfc75ee4e8d7c22c018de27e463 conveysdl-1.3.ebuild 1335 -RMD160 d8c1e612431e6a1196e1244d6271059805b26c1e conveysdl-1.3.ebuild 1335 -SHA256 06785c78bc068b2fc9def056f7455c4938f2e1466f0bb8e99da5093eaeedabf2 conveysdl-1.3.ebuild 1335 -MISC ChangeLog 777 RMD160 e51e4485e26aacface5e84104a3b6c22535e2dae SHA1 4146d8f738be50d7d26b23ca17355f38aa0eaa2a SHA256 f0f79bcf18b761408055225dadcca3522b1e17709b4d4e6d7a55fd3984de93d5 -MD5 770fc14144bca74c3e6f04605f941aeb ChangeLog 777 -RMD160 e51e4485e26aacface5e84104a3b6c22535e2dae ChangeLog 777 -SHA256 f0f79bcf18b761408055225dadcca3522b1e17709b4d4e6d7a55fd3984de93d5 ChangeLog 777 +EBUILD conveysdl-1.3.ebuild 1358 RMD160 b4348835e1af85384c4914b00f2dce4facda016f SHA1 726c438278be46f138d0c865f9952e718bfcc8d3 SHA256 93ff18b48a434f74dbcd105af82a59e6797ae69a216008e2ae99926c5e3c7990 +MD5 9c4345bbcb9aee74aa80b8c943e8b917 conveysdl-1.3.ebuild 1358 +RMD160 b4348835e1af85384c4914b00f2dce4facda016f conveysdl-1.3.ebuild 1358 +SHA256 93ff18b48a434f74dbcd105af82a59e6797ae69a216008e2ae99926c5e3c7990 conveysdl-1.3.ebuild 1358 +MISC ChangeLog 880 RMD160 1c71ae8343f0e23c380dc6c6b2e10f05a157ebd5 SHA1 9d84244ce829d39cf955385212bddb638626c1ff SHA256 99e415cb0bd2f998153abbb699eaa8d2eb952913bc238fcc1605468c0739a28c +MD5 6ee1c1ce54fa7dec376181a4749e236c ChangeLog 880 +RMD160 1c71ae8343f0e23c380dc6c6b2e10f05a157ebd5 ChangeLog 880 +SHA256 99e415cb0bd2f998153abbb699eaa8d2eb952913bc238fcc1605468c0739a28c ChangeLog 880 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -14,3 +17,10 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata MD5 78b491ba0002064e6123b277f37c6db5 files/digest-conveysdl-1.3 232 RMD160 9ddc34c0969c31f841e1f16f87424ca23cbfa6dd files/digest-conveysdl-1.3 232 SHA256 d0c5fd2d0ff3ff00f32e91c437ec5ed50d229ccf48a0a8b6728e1818591cbe52 files/digest-conveysdl-1.3 232 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFF+Wrjdz7hIScOURERAhCCAJ9YrlqHBq4rzZSHGD5MSzPg3soAvgCcDE8j +dPrIfzkv0l/vpjjv2OsnYeA= +=vV4q +-----END PGP SIGNATURE----- diff --git a/games-arcade/conveysdl/conveysdl-1.3.ebuild b/games-arcade/conveysdl/conveysdl-1.3.ebuild index b0544602757c..456cba98e289 100644 --- a/games-arcade/conveysdl/conveysdl-1.3.ebuild +++ b/games-arcade/conveysdl/conveysdl-1.3.ebuild @@ -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/conveysdl/conveysdl-1.3.ebuild,v 1.2 2006/09/02 08:37:38 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/conveysdl/conveysdl-1.3.ebuild,v 1.3 2007/03/15 15:48:45 nyhm Exp $ -inherit games +inherit eutils toolchain-funcs games -DESCRIPTION="Guide the blob along the conveyer belt collecting the red blobs, if you miss any you go round again" +DESCRIPTION="Guide the blob along the conveyer belt collecting the red blobs" HOMEPAGE="http://www.cloudsprinter.com/software/conveysdl/" SRC_URI="http://www.cloudsprinter.com/software/conveysdl/${P/-/.}.tar" @@ -16,12 +16,11 @@ IUSE="" DEPEND="media-libs/libsdl media-libs/sdl-mixer" -S=${WORKDIR}/${PN} +S=${WORKDIR} src_unpack() { - mkdir "${S}" - cd "${S}" unpack ${A} + cd "${S}" # Incomplete readme sed -i \ @@ -33,21 +32,24 @@ src_unpack() { -e 's:SDL_Mi:SDL_mi:' \ main.c \ || die "sed failed" - mv main.c ${PN}.c || die "mv failed" } src_compile() { - CFLAGS="${CFLAGS} `sdl-config --cflags`" - CFLAGS="${CFLAGS} -DDATA_PREFIX=\\\"${GAMES_DATADIR}/${PN}/\\\"" - CFLAGS="${CFLAGS} -DENABLE_SOUND" - emake "${PN}" LDLIBS="-lSDL_mixer `sdl-config --libs`" \ + emake main \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS} $(sdl-config --cflags) \ + -DDATA_PREFIX=\\\"${GAMES_DATADIR}/${PN}/\\\" \ + -DENABLE_SOUND" \ + LDFLAGS="${LDFLAGS} -lSDL_mixer $(sdl-config --libs)" \ || die "emake failed" } src_install() { - dogamesbin "${PN}" || die "dogamesbin failed" - insinto "${GAMES_DATADIR}/${PN}" - doins -r gfx sounds levels || die "installing data failed" + newgamesbin main ${PN} || die "newgamesbin failed" + insinto "${GAMES_DATADIR}"/${PN} + doins -r gfx sounds levels || die "doins failed" + newicon gfx/jblob.bmp ${PN}.bmp + make_desktop_entry ${PN} Convey /usr/share/pixmaps/${PN}.bmp dodoc readme prepgamesdirs } -- 2.26.2