1 |
mr_bones_ 15/03/30 21:25:15 |
2 |
|
3 |
Modified: netherearth-0.52.ebuild ChangeLog |
4 |
Log: |
5 |
EAPI=5 |
6 |
|
7 |
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit) |
8 |
|
9 |
Revision Changes Path |
10 |
1.11 games-strategy/netherearth/netherearth-0.52.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netherearth/netherearth-0.52.ebuild?rev=1.11&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netherearth/netherearth-0.52.ebuild?rev=1.11&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netherearth/netherearth-0.52.ebuild?r1=1.10&r2=1.11 |
15 |
|
16 |
Index: netherearth-0.52.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/games-strategy/netherearth/netherearth-0.52.ebuild,v |
19 |
retrieving revision 1.10 |
20 |
retrieving revision 1.11 |
21 |
diff -u -r1.10 -r1.11 |
22 |
--- netherearth-0.52.ebuild 10 Aug 2014 21:21:05 -0000 1.10 |
23 |
+++ netherearth-0.52.ebuild 30 Mar 2015 21:25:15 -0000 1.11 |
24 |
@@ -1,7 +1,8 @@ |
25 |
-# Copyright 1999-2014 Gentoo Foundation |
26 |
+# Copyright 1999-2015 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/netherearth/netherearth-0.52.ebuild,v 1.10 2014/08/10 21:21:05 slyfox Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/netherearth/netherearth-0.52.ebuild,v 1.11 2015/03/30 21:25:15 mr_bones_ Exp $ |
30 |
|
31 |
+EAPI=5 |
32 |
inherit eutils games |
33 |
|
34 |
MY_PV="${PV/./}" |
35 |
@@ -19,7 +20,6 @@ |
36 |
RDEPEND=">=media-libs/libsdl-1.2.6-r3 |
37 |
>=media-libs/sdl-mixer-1.2.5-r1 |
38 |
media-libs/freeglut" |
39 |
- |
40 |
DEPEND="${RDEPEND} |
41 |
app-arch/unzip" |
42 |
|
43 |
@@ -28,12 +28,14 @@ |
44 |
data=../nether\ earth\ v${PV} |
45 |
|
46 |
src_unpack() { |
47 |
+ unzip -LL "${DISTDIR}/${PN}${MY_PV}.zip" >/dev/null || die |
48 |
+ unzip -LL "${DISTDIR}/sources.zip" >/dev/null || die |
49 |
+} |
50 |
+ |
51 |
+src_prepare() { |
52 |
DATA_DIR=${GAMES_DATADIR}/${PN} |
53 |
|
54 |
- unzip -LL "${DISTDIR}/${PN}${MY_PV}.zip" >/dev/null || die "unzip ${PN}${MY_PV} failed" |
55 |
- unzip -LL "${DISTDIR}/sources.zip" >/dev/null || die "unzip sources.zip failed" |
56 |
- cd "${S}" |
57 |
- cp "${FILESDIR}/Makefile" . || die "Makefile copying failed" |
58 |
+ cp "${FILESDIR}/Makefile" . || die |
59 |
|
60 |
# Fix compilation errors/warnings |
61 |
epatch "${FILESDIR}"/${P}-linux.patch |
62 |
@@ -49,29 +51,29 @@ |
63 |
-e "s:textures:${DATA_DIR}/textures:" \ |
64 |
-e "s:maps/\*:${DATA_DIR}/maps/\*:" \ |
65 |
-e "s:\./maps:${DATA_DIR}/maps:" \ |
66 |
- mainmenu.cpp || die "sed mainmenu.cpp failed" |
67 |
+ mainmenu.cpp || die |
68 |
sed -i \ |
69 |
-e "s:models:${DATA_DIR}/models:g" \ |
70 |
-e "s:textures:${DATA_DIR}/textures:" \ |
71 |
-e "s:sound/:${DATA_DIR}/sound/:" \ |
72 |
- nether.cpp || die "sed nether.cpp failed" |
73 |
+ nether.cpp || die |
74 |
sed -i -e "s:maps:${DATA_DIR}/maps:" \ |
75 |
- main.cpp || die "sed main.cpp failed" |
76 |
+ main.cpp || die |
77 |
sed -i -e "s:textures/:${DATA_DIR}/textures/:" \ |
78 |
- myglutaux.cpp || die "sed myglutaux.cpp failed" |
79 |
+ myglutaux.cpp || die |
80 |
|
81 |
cd "${data}" |
82 |
rm textures/thumbs.db |
83 |
} |
84 |
|
85 |
src_install() { |
86 |
- dogamesbin nether_earth || die "dogamesbin failed" |
87 |
+ dogamesbin nether_earth |
88 |
|
89 |
cd "${data}" |
90 |
|
91 |
# Install all game data |
92 |
insinto "${DATA_DIR}" |
93 |
- doins -r maps models sound textures || die "doins failed" |
94 |
+ doins -r maps models sound textures |
95 |
|
96 |
dodoc readme.txt |
97 |
|
98 |
|
99 |
|
100 |
|
101 |
1.11 games-strategy/netherearth/ChangeLog |
102 |
|
103 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netherearth/ChangeLog?rev=1.11&view=markup |
104 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netherearth/ChangeLog?rev=1.11&content-type=text/plain |
105 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/netherearth/ChangeLog?r1=1.10&r2=1.11 |
106 |
|
107 |
Index: ChangeLog |
108 |
=================================================================== |
109 |
RCS file: /var/cvsroot/gentoo-x86/games-strategy/netherearth/ChangeLog,v |
110 |
retrieving revision 1.10 |
111 |
retrieving revision 1.11 |
112 |
diff -u -r1.10 -r1.11 |
113 |
--- ChangeLog 10 Aug 2014 21:21:05 -0000 1.10 |
114 |
+++ ChangeLog 30 Mar 2015 21:25:15 -0000 1.11 |
115 |
@@ -1,6 +1,9 @@ |
116 |
# ChangeLog for games-strategy/netherearth |
117 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
118 |
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/netherearth/ChangeLog,v 1.10 2014/08/10 21:21:05 slyfox Exp $ |
119 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
120 |
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/netherearth/ChangeLog,v 1.11 2015/03/30 21:25:15 mr_bones_ Exp $ |
121 |
+ |
122 |
+ 30 Mar 2015; Michael Sterrett <mr_bones_@g.o> netherearth-0.52.ebuild: |
123 |
+ EAPI=5 |
124 |
|
125 |
10 Aug 2014; Sergei Trofimovich <slyfox@g.o> netherearth-0.52.ebuild: |
126 |
QA: drop trailing '.' from DESCRIPTION |