diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-12-09 00:23:36 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-12-09 00:23:36 +0000 |
commit | 924604a9b6a72ca6f437723ecfd9ac4f01d64462 (patch) | |
tree | f21fb176761caeea8ad36994354a1fb30ce1a03b /games-arcade | |
parent | Patch for suspend/resume for Audiotrak Prodigy HD2. hfs filesystem buffer ove... (diff) | |
download | historical-924604a9b6a72ca6f437723ecfd9ac4f01d64462.tar.gz historical-924604a9b6a72ca6f437723ecfd9ac4f01d64462.tar.bz2 historical-924604a9b6a72ca6f437723ecfd9ac4f01d64462.zip |
EAPI=2; add use-deps for sdl libs; honor CC and LDFLAGS
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/rockdodger/ChangeLog | 8 | ||||
-rw-r--r-- | games-arcade/rockdodger/Manifest | 4 | ||||
-rw-r--r-- | games-arcade/rockdodger/rockdodger-0.6.0a-r1.ebuild | 23 |
3 files changed, 20 insertions, 15 deletions
diff --git a/games-arcade/rockdodger/ChangeLog b/games-arcade/rockdodger/ChangeLog index c073476d7232..2d34359e8f9d 100644 --- a/games-arcade/rockdodger/ChangeLog +++ b/games-arcade/rockdodger/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-arcade/rockdodger -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/rockdodger/ChangeLog,v 1.11 2008/02/29 18:51:18 carlo Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/rockdodger/ChangeLog,v 1.12 2009/12/09 00:23:36 mr_bones_ Exp $ + + 09 Dec 2009; Michael Sterrett <mr_bones_@gentoo.org> + rockdodger-0.6.0a-r1.ebuild: + EAPI=2; add use-deps for sdl libs; honor CC and LDFLAGS 29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> rockdodger-0.6.0a-r1.ebuild: diff --git a/games-arcade/rockdodger/Manifest b/games-arcade/rockdodger/Manifest index 80e1e7c8231e..9e826e7ce2f1 100644 --- a/games-arcade/rockdodger/Manifest +++ b/games-arcade/rockdodger/Manifest @@ -1,6 +1,6 @@ AUX 0.6.0a-sec.patch 660 RMD160 8c17aab2634abea7ca04a9a2527d7a29275aa495 SHA1 9b1de43730f3bae78351dbfbcf47742f6ad67a02 SHA256 ce9997508baa40e7ad3809446e39592a8e43c77787e6c5afc52a18522688ac71 AUX rockdodger-0.6.0a-gcc41.patch 516 RMD160 c1b84ff7b2c933d329c9350129b58ddcd81a06ca SHA1 53017d2cfa9b0f184551ac275f0886f22e08e615 SHA256 4a4d0bd2611fcdd771fa2bd8c79426a28ddf2bfed5eb20eed2311ec8be9929ce DIST rockdodger-0.6.0a.tar.gz 410223 RMD160 13b42aa9e4549680a1326e7fc248b65a081fc00f SHA1 d229250c41c4ef0482165dd49052ecc378b59ef8 SHA256 3b6676676d47c1a4d6074c6b811f7a0449f1e4774b2200127c9096c489def17e -EBUILD rockdodger-0.6.0a-r1.ebuild 1503 RMD160 2307af809c79fa06039372232912564d5f329ae0 SHA1 e2d13444f2b4d5d82949048516dea201f65b74f1 SHA256 f24c09639b8069e0d202dcfd35cfca0c0fea43c1382017577976750da86ec17d -MISC ChangeLog 1649 RMD160 4483a9fa1760eca3bbf22d240d944205efc25cd5 SHA1 aeecd8f0b2ba07156856b8248afb4d34a864d1b0 SHA256 4b018db9dc688f2f48845a9701dddebfbebb80a47da9c0c73f54811d4e53d915 +EBUILD rockdodger-0.6.0a-r1.ebuild 1565 RMD160 848f4ec51014e3bcb67e1c8140cc802c026cebf9 SHA1 a0dcc6205823fcd6592110b4c934e3e93f117646 SHA256 93dae900b36b50c79bb34b91d359328b641e84589b841ebf61eec2256b7b140a +MISC ChangeLog 1798 RMD160 78f323f250e4411872067d5a873b26f6fb24121f SHA1 06fd97f8e6c0895e5c3a20e7aa75009bda42d1c5 SHA256 29011f90e7a2b3db665df350907f2b876639cc367b0cd0048835fec456f902e0 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-arcade/rockdodger/rockdodger-0.6.0a-r1.ebuild b/games-arcade/rockdodger/rockdodger-0.6.0a-r1.ebuild index c265461473e1..af39a7d05566 100644 --- a/games-arcade/rockdodger/rockdodger-0.6.0a-r1.ebuild +++ b/games-arcade/rockdodger/rockdodger-0.6.0a-r1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 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.8 2008/02/29 18:51:18 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/rockdodger/rockdodger-0.6.0a-r1.ebuild,v 1.9 2009/12/09 00:23:36 mr_bones_ Exp $ +EAPI=2 inherit eutils games DESCRIPTION="Dodge the rocks for as long as possible until you die" @@ -13,23 +14,23 @@ SLOT="0" KEYWORDS="amd64 ppc x86 ~x86-fbsd" IUSE="" -DEPEND="media-libs/libsdl - media-libs/sdl-image +DEPEND="media-libs/libsdl[audio,video] + media-libs/sdl-image[png] media-libs/sdl-mixer" -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { # Modify highscores & data directory and add our CFLAGS to the Makefile sed -i \ -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" + || die " sed main.c failed" sed -i \ - -e "s:-g:${CFLAGS}:" Makefile \ - || die "sed Makefile failed" + -e "s:-g:${CFLAGS}:" \ + -e 's:cc:$(CC):' \ + -e '/-o/s:\$+:$(LDFLAGS) $+:' \ + Makefile \ + || die "sed Makefile failed" # The 512 chunksize makes the music skip sed -i \ |