1 |
commit: e5c2e9d32acc5be6f1c41f1fd916c6ba7ed4f029 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 27 21:55:59 2017 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 27 21:56:48 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5c2e9d3 |
7 |
|
8 |
games-action/shootingstar: 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 |
.../files/shootingstar-1.2.0-gcc44.patch | 4 +- |
17 |
.../shootingstar/shootingstar-1.2.0-r1.ebuild | 54 ++++++++++++++++++++++ |
18 |
2 files changed, 56 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/games-action/shootingstar/files/shootingstar-1.2.0-gcc44.patch b/games-action/shootingstar/files/shootingstar-1.2.0-gcc44.patch |
21 |
index 179cf09..dfc1a8d 100644 |
22 |
--- a/games-action/shootingstar/files/shootingstar-1.2.0-gcc44.patch |
23 |
+++ b/games-action/shootingstar/files/shootingstar-1.2.0-gcc44.patch |
24 |
@@ -1,5 +1,5 @@ |
25 |
---- src/engine/dbg.cpp.old 2009-06-03 15:15:46.000000000 +0200 |
26 |
-+++ src/engine/dbg.cpp 2009-06-03 16:09:19.000000000 +0200 |
27 |
+--- a/src/engine/dbg.cpp 2009-06-03 15:15:46.000000000 +0200 |
28 |
++++ b/src/engine/dbg.cpp 2009-06-03 16:09:19.000000000 +0200 |
29 |
@@ -28,6 +28,7 @@ |
30 |
#include <vector> |
31 |
#include <map> |
32 |
|
33 |
diff --git a/games-action/shootingstar/shootingstar-1.2.0-r1.ebuild b/games-action/shootingstar/shootingstar-1.2.0-r1.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000..5b6920a |
36 |
--- /dev/null |
37 |
+++ b/games-action/shootingstar/shootingstar-1.2.0-r1.ebuild |
38 |
@@ -0,0 +1,54 @@ |
39 |
+# Copyright 1999-2017 Gentoo Foundation |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+# $Id$ |
42 |
+ |
43 |
+EAPI=6 |
44 |
+inherit autotools eutils gnome2-utils |
45 |
+ |
46 |
+# Note: currently segfaults on startup, but that's also in the previous ebuild |
47 |
+# See https://bugs.gentoo.org/607428 |
48 |
+ |
49 |
+DESCRIPTION="A topdown shooter" |
50 |
+HOMEPAGE="http://linux.softpedia.com/get/GAMES-ENTERTAINMENT/Arcade/Shooting-Star-19754.shtml" |
51 |
+SRC_URI="mirror://gentoo/${P}.tar.gz" |
52 |
+ |
53 |
+LICENSE="GPL-2" |
54 |
+SLOT="0" |
55 |
+KEYWORDS="~amd64 ~x86" |
56 |
+IUSE="" |
57 |
+ |
58 |
+DEPEND=" |
59 |
+ media-libs/libsdl[video] |
60 |
+ media-libs/sdl-image |
61 |
+ media-libs/sdl-mixer |
62 |
+ virtual/glu |
63 |
+ virtual/opengl" |
64 |
+RDEPEND=${DEPEND} |
65 |
+ |
66 |
+PATCHES=( |
67 |
+ "${FILESDIR}"/${PV}-gcc34.patch |
68 |
+ "${FILESDIR}"/${P}-gcc44.patch |
69 |
+) |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ default |
73 |
+ eautoreconf |
74 |
+} |
75 |
+ |
76 |
+src_install () { |
77 |
+ default |
78 |
+ newicon -s 128 data/textures/body1.png ${PN}.png |
79 |
+ make_desktop_entry ${PN} "Shooting Star" |
80 |
+} |
81 |
+ |
82 |
+pkg_preinst() { |
83 |
+ gnome2_icon_savelist |
84 |
+} |
85 |
+ |
86 |
+pkg_postinst() { |
87 |
+ gnome2_icon_cache_update |
88 |
+} |
89 |
+ |
90 |
+pkg_postrm() { |
91 |
+ gnome2_icon_cache_update |
92 |
+} |