diff options
author | Austin English <wizardedit@gentoo.org> | 2017-01-24 16:39:48 -0600 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2017-01-24 17:39:16 -0600 |
commit | 9c7114c75f11bac46d66d22382b6c3aa72daeac9 (patch) | |
tree | 154f72965f22f8bd25f2a39b95bde3f4978b1e7d /games-action | |
parent | net-libs/polarssl: remove unused patch (diff) | |
download | gentoo-9c7114c75f11bac46d66d22382b6c3aa72daeac9.tar.gz gentoo-9c7114c75f11bac46d66d22382b6c3aa72daeac9.tar.bz2 gentoo-9c7114c75f11bac46d66d22382b6c3aa72daeac9.zip |
games-action/chromium-bsu: remove deprecated games eclass
Also update to EAPI 6
Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: Portage-2.3.2, Repoman-2.3.1
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/chromium-bsu/chromium-bsu-0.9.15.1-r1.ebuild | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/games-action/chromium-bsu/chromium-bsu-0.9.15.1-r1.ebuild b/games-action/chromium-bsu/chromium-bsu-0.9.15.1-r1.ebuild new file mode 100644 index 000000000000..0ac6199acb02 --- /dev/null +++ b/games-action/chromium-bsu/chromium-bsu-0.9.15.1-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils gnome2-utils + +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() { + econf \ + --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 + + newicon -s 64 misc/${PN}.png ${PN}.png + domenu misc/chromium-bsu.desktop + + # install documentation + dodoc AUTHORS README NEWS + dodoc "${S}"/data/doc/*.htm + dodoc -r "${S}"/data/doc/images +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |