1 |
commit: 9c7114c75f11bac46d66d22382b6c3aa72daeac9 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 24 22:39:48 2017 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 24 23:39:16 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c7114c7 |
7 |
|
8 |
games-action/chromium-bsu: remove deprecated games eclass |
9 |
|
10 |
Also update to EAPI 6 |
11 |
|
12 |
Gentoo-Bug: https://bugs.gentoo.org/574082 |
13 |
|
14 |
Package-Manager: Portage-2.3.2, Repoman-2.3.1 |
15 |
|
16 |
.../chromium-bsu/chromium-bsu-0.9.15.1-r1.ebuild | 71 ++++++++++++++++++++++ |
17 |
1 file changed, 71 insertions(+) |
18 |
|
19 |
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 |
20 |
new file mode 100644 |
21 |
index 00000000..0ac6199 |
22 |
--- /dev/null |
23 |
+++ b/games-action/chromium-bsu/chromium-bsu-0.9.15.1-r1.ebuild |
24 |
@@ -0,0 +1,71 @@ |
25 |
+# Copyright 1999-2017 Gentoo Foundation |
26 |
+# Distributed under the terms of the GNU General Public License v2 |
27 |
+# $Id$ |
28 |
+ |
29 |
+EAPI=6 |
30 |
+inherit eutils gnome2-utils |
31 |
+ |
32 |
+DESCRIPTION="Chromium B.S.U. - an arcade game" |
33 |
+HOMEPAGE="http://chromium-bsu.sourceforge.net/" |
34 |
+SRC_URI="mirror://sourceforge/chromium-bsu/${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="Clarified-Artistic" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~ppc ~x86" |
39 |
+IUSE="mixer nls +sdl" |
40 |
+ |
41 |
+RDEPEND="media-fonts/dejavu |
42 |
+ media-libs/quesoglc |
43 |
+ media-libs/glpng |
44 |
+ virtual/opengl |
45 |
+ virtual/glu |
46 |
+ x11-libs/libXmu |
47 |
+ mixer? ( media-libs/sdl-mixer ) |
48 |
+ !mixer? ( |
49 |
+ media-libs/freealut |
50 |
+ media-libs/openal |
51 |
+ ) |
52 |
+ nls? ( virtual/libintl ) |
53 |
+ sdl? ( |
54 |
+ media-libs/libsdl[X] |
55 |
+ media-libs/sdl-image[png] |
56 |
+ ) |
57 |
+ !sdl? ( media-libs/freeglut )" |
58 |
+DEPEND="${RDEPEND} |
59 |
+ nls? ( sys-devel/gettext )" |
60 |
+ |
61 |
+src_configure() { |
62 |
+ econf \ |
63 |
+ --disable-ftgl \ |
64 |
+ --enable-glc \ |
65 |
+ $(use_enable mixer sdlmixer) \ |
66 |
+ $(use_enable !mixer openal) \ |
67 |
+ $(use_enable nls) \ |
68 |
+ $(use_enable sdl) \ |
69 |
+ $(use_enable sdl sdlimage) \ |
70 |
+ $(use_enable !sdl glut) |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ emake DESTDIR="${D}" install |
75 |
+ |
76 |
+ newicon -s 64 misc/${PN}.png ${PN}.png |
77 |
+ domenu misc/chromium-bsu.desktop |
78 |
+ |
79 |
+ # install documentation |
80 |
+ dodoc AUTHORS README NEWS |
81 |
+ dodoc "${S}"/data/doc/*.htm |
82 |
+ dodoc -r "${S}"/data/doc/images |
83 |
+} |
84 |
+ |
85 |
+pkg_preinst() { |
86 |
+ gnome2_icon_savelist |
87 |
+} |
88 |
+ |
89 |
+pkg_postinst() { |
90 |
+ gnome2_icon_cache_update |
91 |
+} |
92 |
+ |
93 |
+pkg_postrm() { |
94 |
+ gnome2_icon_cache_update |
95 |
+} |