1 |
commit: 9da185df3753fdeb43b7f53946434f94576d76a2 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 24 22:56:00 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=9da185df |
7 |
|
8 |
games-action/extreme-tuxracer: 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 |
.../extreme-tuxracer-0.7.2-r1.ebuild | 51 ++++++++++++++++++++++ |
17 |
1 file changed, 51 insertions(+) |
18 |
|
19 |
diff --git a/games-action/extreme-tuxracer/extreme-tuxracer-0.7.2-r1.ebuild b/games-action/extreme-tuxracer/extreme-tuxracer-0.7.2-r1.ebuild |
20 |
new file mode 100644 |
21 |
index 00000000..ac39d90 |
22 |
--- /dev/null |
23 |
+++ b/games-action/extreme-tuxracer/extreme-tuxracer-0.7.2-r1.ebuild |
24 |
@@ -0,0 +1,51 @@ |
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 autotools gnome2-utils |
31 |
+ |
32 |
+DESCRIPTION="High speed arctic racing game based on Tux Racer" |
33 |
+HOMEPAGE="http://extremetuxracer.sourceforge.net/" |
34 |
+SRC_URI="mirror://sourceforge/extremetuxracer/etr-${PV/_/}.tar.xz" |
35 |
+ |
36 |
+LICENSE="GPL-2+" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
+IUSE="" |
40 |
+ |
41 |
+RDEPEND=" |
42 |
+ >=media-libs/libsfml-2.2 |
43 |
+ virtual/glu |
44 |
+ virtual/opengl" |
45 |
+DEPEND="${RDEPEND} |
46 |
+ virtual/pkgconfig" |
47 |
+ |
48 |
+S=${WORKDIR}/etr-${PV/_/} |
49 |
+ |
50 |
+src_prepare() { |
51 |
+ default |
52 |
+ # kind of ugly in there so we'll do it ourselves |
53 |
+ sed -i -e '/SUBDIRS/s/resources doc//' Makefile.am || die |
54 |
+ eautoreconf |
55 |
+} |
56 |
+ |
57 |
+src_install() { |
58 |
+ default |
59 |
+ dodoc doc/{code,courses_events,guide,score_algorithm} |
60 |
+ doicon -s 48 resources/etr.png |
61 |
+ doicon -s scalable resources/etr.svg |
62 |
+ domenu resources/etr.desktop |
63 |
+} |
64 |
+ |
65 |
+pkg_preinst() { |
66 |
+ gnome2_icon_savelist |
67 |
+} |
68 |
+ |
69 |
+pkg_postinst() { |
70 |
+ gnome2_icon_cache_update |
71 |
+} |
72 |
+ |
73 |
+pkg_postrm() { |
74 |
+ gnome2_icon_cache_update |
75 |
+} |