diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-03-31 19:08:16 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-03-31 19:08:16 +0000 |
commit | 981cf9d44dbf6b088721940bfc329e4bcb37e15a (patch) | |
tree | 5b2412db4fb8888009750f85c97486162ce70b6d /games-action | |
parent | flag-o-matic; error check sed; tidy (diff) | |
download | historical-981cf9d44dbf6b088721940bfc329e4bcb37e15a.tar.gz historical-981cf9d44dbf6b088721940bfc329e4bcb37e15a.tar.bz2 historical-981cf9d44dbf6b088721940bfc329e4bcb37e15a.zip |
flag-o-matic; error check sed; tidy
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/chromium/ChangeLog | 6 | ||||
-rw-r--r-- | games-action/chromium/Manifest | 4 | ||||
-rw-r--r-- | games-action/chromium/chromium-0.9.12-r5.ebuild | 34 |
3 files changed, 28 insertions, 16 deletions
diff --git a/games-action/chromium/ChangeLog b/games-action/chromium/ChangeLog index ee9a6aa2c84b..7ded15acddae 100644 --- a/games-action/chromium/ChangeLog +++ b/games-action/chromium/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-action/chromium # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/chromium/ChangeLog,v 1.7 2004/03/28 09:32:41 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/chromium/ChangeLog,v 1.8 2004/03/31 19:08:16 mr_bones_ Exp $ + + 31 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> + chromium-0.9.12-r5.ebuild: + flag-o-matic; error check sed; tidy 28 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> chromium-0.9.12-r5.ebuild: diff --git a/games-action/chromium/Manifest b/games-action/chromium/Manifest index 2535d20cda15..029ea486fec4 100644 --- a/games-action/chromium/Manifest +++ b/games-action/chromium/Manifest @@ -1,5 +1,5 @@ -MD5 b50a33648c80dd08e0f19171245ca950 ChangeLog 2668 -MD5 7c03a969d6f94160f6513add5912bc40 chromium-0.9.12-r5.ebuild 1992 +MD5 037bc37cf1a75691b02c3353b9d02876 ChangeLog 2791 +MD5 d424b02b671f499f4d36a09cb0667a9c chromium-0.9.12-r5.ebuild 2244 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 MD5 8efe8d996573ec81e5357e39c046cdd3 files/digest-chromium-0.9.12-r5 144 MD5 031dc9787ccdcb049081dccf31a4a401 files/0.9.12-qt3.patch 979 diff --git a/games-action/chromium/chromium-0.9.12-r5.ebuild b/games-action/chromium/chromium-0.9.12-r5.ebuild index 49be18a73633..1c19d26e6a73 100644 --- a/games-action/chromium/chromium-0.9.12-r5.ebuild +++ b/games-action/chromium/chromium-0.9.12-r5.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/chromium/chromium-0.9.12-r5.ebuild,v 1.4 2004/03/28 09:32:41 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/chromium/chromium-0.9.12-r5.ebuild,v 1.5 2004/03/31 19:08:16 mr_bones_ Exp $ -inherit eutils games +inherit flag-o-matic eutils games DESCRIPTION="Chromium B.S.U. - an arcade game" HOMEPAGE="http://www.reptilelabour.com/software/chromium/" @@ -14,7 +14,7 @@ SLOT="0" KEYWORDS="x86 ppc amd64" IUSE="qt sdl oggvorbis" -DEPEND="virtual/glibc +RDEPEND="virtual/glibc || ( sdl? ( media-libs/libsdl media-libs/smpeg ) @@ -24,8 +24,10 @@ DEPEND="virtual/glibc qt? ( x11-libs/qt ) media-libs/openal virtual/x11" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" -S=${WORKDIR}/Chromium-0.9 +S="${WORKDIR}/Chromium-0.9" src_unpack() { unpack ${A} @@ -35,13 +37,19 @@ src_unpack() { has_version '=x11-libs/qt-3*' && epatch ${FILESDIR}/${PV}-qt3.patch append-flags -DPKGDATADIR="'\"${GAMES_DATADIR}/${PN}\"'" append-flags -DPKGBINDIR="'\"${GAMES_BINDIR}\"'" - sed -i "s:-O2 -DOLD_OPENAL:${CFLAGS}:" src/Makefile - sed -i "s:-g:${CFLAGS}:" src-setup/Makefile - sed -i "s:-O2:${CFLAGS}:" support/glpng/src/Makefile + sed -i \ + -e "s:-O2 -DOLD_OPENAL:${CFLAGS}:" src/Makefile \ + || die "sed src/Makefile failed" + sed -i \ + -e "s:-g:${CFLAGS}:" src-setup/Makefile \ + || die "sed src-setup/Makefile failed" + sed -i \ + -e "s:-O2:${CFLAGS}:" support/glpng/src/Makefile \ + || die "sed support/glpng/src/Makefile failed" } src_compile() { - if [ `use sdl` ] ; then + if use sdl ; then export ENABLE_SDL="yes" export ENABLE_SMPEG="yes" else @@ -64,13 +72,13 @@ src_compile() { } src_install() { - exeinto ${GAMES_BINDIR} - doexe bin/chromium* + exeinto "${GAMES_BINDIR}" + doexe bin/chromium* || die "doexe failed" - dodir ${GAMES_DATADIR}/${PN} - cp -r data ${D}/${GAMES_DATADIR}/${PN}/ + dodir "${GAMES_DATADIR}/${PN}" + cp -r data "${D}/${GAMES_DATADIR}/${PN}/" || die "cp failed" - find ${D} -name CVS -exec rm -rf '{}' \; >& /dev/null + find "${D}" -name CVS -exec rm -rf '{}' \; >& /dev/null prepgamesdirs } |