summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2008-11-30 22:12:39 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2008-11-30 22:12:39 +0000
commit3979286d31d2f61ece7a1686ae7b9f51d615eba0 (patch)
treeb6397bdbb0b281863f00c3fbae4f0fbff85f2881 /games-action/chromium
parentversion bump, ~amd64 keyworded (diff)
downloadgentoo-2-3979286d31d2f61ece7a1686ae7b9f51d615eba0.tar.gz
gentoo-2-3979286d31d2f61ece7a1686ae7b9f51d615eba0.tar.bz2
gentoo-2-3979286d31d2f61ece7a1686ae7b9f51d615eba0.zip
Version bump. Fixes bug #230131. Tupone blessed this one :].
(Portage version: 2.2_rc16/cvs/Linux 2.6.27-gentoo x86_64)
Diffstat (limited to 'games-action/chromium')
-rw-r--r--games-action/chromium/ChangeLog8
-rw-r--r--games-action/chromium/chromium-0.9.13.3.ebuild57
-rw-r--r--games-action/chromium/metadata.xml6
3 files changed, 70 insertions, 1 deletions
diff --git a/games-action/chromium/ChangeLog b/games-action/chromium/ChangeLog
index 08f1a82b9d90..5a71fb518e0b 100644
--- a/games-action/chromium/ChangeLog
+++ b/games-action/chromium/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-action/chromium
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/chromium/ChangeLog,v 1.29 2008/10/25 18:18:34 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/chromium/ChangeLog,v 1.30 2008/11/30 22:12:39 scarabeus Exp $
+
+*chromium-0.9.13.3 (30 Nov 2008)
+
+ 30 Nov 2008; Tomas Chvatal <scarabeus@gentoo.org> metadata.xml,
+ +chromium-0.9.13.3.ebuild:
+ Version bump. Fixes bug #230131
25 Oct 2008; Tupone Alfredo <tupone@gentoo.org> files/0.9.12-gcc43.patch:
Fix compilation with gcc-4.3 and not sdl. Bug #227933 by Evil Compile Person
diff --git a/games-action/chromium/chromium-0.9.13.3.ebuild b/games-action/chromium/chromium-0.9.13.3.ebuild
new file mode 100644
index 000000000000..93e1c20b27ed
--- /dev/null
+++ b/games-action/chromium/chromium-0.9.13.3.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/chromium/chromium-0.9.13.3.ebuild,v 1.1 2008/11/30 22:12:39 scarabeus Exp $
+
+inherit games
+
+DESCRIPTION="Chromium B.S.U. - an arcade game"
+HOMEPAGE="http://chromium-bsu.sourceforge.net/"
+SRC_URI="mirror://sourceforge/chromium-bsu/${P}.tar.gz"
+
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="mixer sdl"
+
+DEPEND="media-fonts/dejavu
+ >=media-libs/ftgl-2.1.3_rc5
+ media-libs/glpng
+ virtual/opengl
+ virtual/glu
+ x11-libs/libXmu
+ mixer? ( media-libs/sdl-mixer )
+ !mixer? ( media-libs/freealut
+ media-libs/openal )
+ sdl? ( media-libs/libsdl )
+ !sdl? ( virtual/glut )"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-font-path="/usr/share/fonts/dejavu/DejaVuSerif-Bold.ttf" \
+ $(use_enable mixer sdlmixer) \
+ $(use_enable !mixer openal) \
+ $(use_enable sdl) \
+ $(use_enable !sdl glut)
+
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ # remove installed /usr/games/share stuff
+ rm -rf "${D}"/"${GAMES_PREFIX}"/share/
+ doicon misc/${PN}.png || die "doicon failed"
+ make_desktop_entry chromium "Chromium B.S.U"
+
+ # install documentation
+ dodoc AUTHORS README NEWS || die "dodoc failed"
+ dohtml "${S}"/data/doc/*.htm || die "dohtml failed"
+ cd "${S}"/data/doc/images
+ insinto /usr/share/doc/${PF}/html/images
+ doins *.jpg || die "doins failed"
+
+ prepgamesdirs
+}
diff --git a/games-action/chromium/metadata.xml b/games-action/chromium/metadata.xml
index d3c2cc926f0b..1fbe6403fb9b 100644
--- a/games-action/chromium/metadata.xml
+++ b/games-action/chromium/metadata.xml
@@ -2,4 +2,10 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>games</herd>
+<use>
+ <flag name="mixer">
+ Enables <pkg>media-libs/sdl-mixer</pkg> sound backend instead of
+ <pkg>media-libs/openal</pkg> one.
+ </flag>
+</use>
</pkgmetadata>