summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2013-05-26 04:23:12 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2013-05-26 04:23:12 +0000
commitb0090119b38872ca6480bda46b7027318701afcb (patch)
tree0e30f75b44fe3509af8e0e4111209e90ae7bdfd5 /games-action
parentBump haddock to 2.13.2 (diff)
downloadgentoo-2-b0090119b38872ca6480bda46b7027318701afcb.tar.gz
gentoo-2-b0090119b38872ca6480bda46b7027318701afcb.tar.bz2
gentoo-2-b0090119b38872ca6480bda46b7027318701afcb.zip
version bump
(Portage version: 2.1.11.62/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-action')
-rw-r--r--games-action/chromium-bsu/ChangeLog10
-rw-r--r--games-action/chromium-bsu/chromium-bsu-0.9.15.1.ebuild78
2 files changed, 86 insertions, 2 deletions
diff --git a/games-action/chromium-bsu/ChangeLog b/games-action/chromium-bsu/ChangeLog
index 6a44a7581fe3..4aaae0021655 100644
--- a/games-action/chromium-bsu/ChangeLog
+++ b/games-action/chromium-bsu/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-action/chromium-bsu
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/chromium-bsu/ChangeLog,v 1.2 2012/11/05 22:42:32 blueness Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/chromium-bsu/ChangeLog,v 1.3 2013/05/26 04:23:12 mr_bones_ Exp $
+
+*chromium-bsu-0.9.15.1 (26 May 2013)
+
+ 26 May 2013; Michael Sterrett <mr_bones_@gentoo.org>
+ +chromium-bsu-0.9.15.1.ebuild:
+ version bump
05 Nov 2012; Anthony G. Basile <blueness@gentoo.org>
chromium-bsu-0.9.15.ebuild:
diff --git a/games-action/chromium-bsu/chromium-bsu-0.9.15.1.ebuild b/games-action/chromium-bsu/chromium-bsu-0.9.15.1.ebuild
new file mode 100644
index 000000000000..e9835e436fcc
--- /dev/null
+++ b/games-action/chromium-bsu/chromium-bsu-0.9.15.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/chromium-bsu/chromium-bsu-0.9.15.1.ebuild,v 1.1 2013/05/26 04:23:12 mr_bones_ Exp $
+
+EAPI=5
+inherit eutils gnome2-utils 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="Clarified-Artistic"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="mixer nls +sdl"
+
+RDEPEND="media-fonts/dejavu
+ media-libs/quesoglc
+ media-libs/glpng
+ virtual/opengl
+ virtual/glu
+ x11-libs/libXmu
+ mixer? ( media-libs/sdl-mixer )
+ !mixer? (
+ media-libs/freealut
+ media-libs/openal
+ )
+ nls? ( virtual/libintl )
+ sdl? (
+ media-libs/libsdl[X]
+ media-libs/sdl-image[png]
+ )
+ !sdl? ( media-libs/freeglut )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_configure() {
+ egamesconf \
+ --disable-ftgl \
+ --enable-glc \
+ $(use_enable mixer sdlmixer) \
+ $(use_enable !mixer openal) \
+ $(use_enable nls) \
+ $(use_enable sdl) \
+ $(use_enable sdl sdlimage) \
+ $(use_enable !sdl glut)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # remove installed /usr/games/share stuff
+ rm -rf "${D}"/"${GAMES_PREFIX}"/share/
+
+ newicon -s 64 misc/${PN}.png ${PN}.png
+ domenu misc/chromium-bsu.desktop
+
+ # install documentation
+ dodoc AUTHORS README NEWS
+ dohtml "${S}"/data/doc/*.htm
+ dohtml -r "${S}"/data/doc/images
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}