1 |
commit: a51e027ecd9511fdc2249c9d689b4097c4d0a4bf |
2 |
Author: Julian Ospald <hasufell <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 26 17:59:42 2015 +0000 |
4 |
Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 26 18:00:14 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a51e027e |
7 |
|
8 |
games-strategy/0ad: rm old |
9 |
|
10 |
games-strategy/0ad/0ad-0.0.18_alpha-r2.ebuild | 154 -------------------------- |
11 |
games-strategy/0ad/0ad-0.0.18_alpha-r3.ebuild | 154 -------------------------- |
12 |
2 files changed, 308 deletions(-) |
13 |
|
14 |
diff --git a/games-strategy/0ad/0ad-0.0.18_alpha-r2.ebuild b/games-strategy/0ad/0ad-0.0.18_alpha-r2.ebuild |
15 |
deleted file mode 100644 |
16 |
index 654bb3d..0000000 |
17 |
--- a/games-strategy/0ad/0ad-0.0.18_alpha-r2.ebuild |
18 |
+++ /dev/null |
19 |
@@ -1,154 +0,0 @@ |
20 |
-# Copyright 1999-2015 Gentoo Foundation |
21 |
-# Distributed under the terms of the GNU General Public License v2 |
22 |
-# $Id$ |
23 |
- |
24 |
-EAPI=5 |
25 |
- |
26 |
-WX_GTK_VER="2.8" |
27 |
- |
28 |
-PYTHON_COMPAT=( python2_7 ) |
29 |
-PYTHON_REQ_USE="threads,ssl" |
30 |
- |
31 |
-inherit eutils wxwidgets toolchain-funcs gnome2-utils python-any-r1 games |
32 |
- |
33 |
-MY_P=0ad-${PV/_/-} |
34 |
-DESCRIPTION="A free, real-time strategy game" |
35 |
-HOMEPAGE="http://play0ad.com/" |
36 |
-SRC_URI="mirror://sourceforge/zero-ad/${MY_P}-unix-build.tar.xz" |
37 |
- |
38 |
-LICENSE="GPL-2 LGPL-2.1 MIT CC-BY-SA-3.0 ZLIB" |
39 |
-SLOT="0" |
40 |
-KEYWORDS="~amd64 ~x86" |
41 |
-IUSE="editor +lobby nvtt pch sound test" |
42 |
-RESTRICT="test" |
43 |
- |
44 |
-RDEPEND=" |
45 |
- dev-libs/boost |
46 |
- dev-libs/icu:= |
47 |
- dev-libs/libxml2 |
48 |
- dev-libs/nspr |
49 |
- ~games-strategy/0ad-data-${PV} |
50 |
- media-libs/libpng:0 |
51 |
- media-libs/libsdl2[X,opengl,video] |
52 |
- net-libs/enet:1.3 |
53 |
- net-libs/miniupnpc:= |
54 |
- net-misc/curl |
55 |
- sys-libs/zlib |
56 |
- virtual/jpeg:62 |
57 |
- virtual/opengl |
58 |
- x11-libs/libX11 |
59 |
- x11-libs/libXcursor |
60 |
- editor? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] ) |
61 |
- lobby? ( net-libs/gloox ) |
62 |
- nvtt? ( media-gfx/nvidia-texture-tools ) |
63 |
- sound? ( media-libs/libvorbis |
64 |
- media-libs/openal )" |
65 |
-DEPEND="${RDEPEND} |
66 |
- ${PYTHON_DEPS} |
67 |
- virtual/pkgconfig |
68 |
- test? ( dev-lang/perl )" |
69 |
- |
70 |
-S=${WORKDIR}/${MY_P} |
71 |
- |
72 |
-pkg_setup() { |
73 |
- games_pkg_setup |
74 |
- python-any-r1_pkg_setup |
75 |
-} |
76 |
- |
77 |
-src_prepare() { |
78 |
- epatch "${FILESDIR}"/${P}-gentoo.patch |
79 |
- epatch "${FILESDIR}"/${P}-miniupnpc14.patch |
80 |
-} |
81 |
- |
82 |
-src_configure() { |
83 |
- local myconf=( |
84 |
- --with-system-nvtt |
85 |
- --with-system-miniupnpc |
86 |
- --minimal-flags |
87 |
- --sdl2 |
88 |
- $(usex nvtt "" "--without-nvtt") |
89 |
- $(usex pch "" "--without-pch") |
90 |
- $(usex test "" "--without-tests") |
91 |
- $(usex sound "" "--without-audio") |
92 |
- $(usex editor "--atlas" "") |
93 |
- $(usex lobby "" "--without-lobby") |
94 |
- --collada |
95 |
- --bindir="${GAMES_BINDIR}" |
96 |
- --libdir="$(games_get_libdir)"/${PN} |
97 |
- --datadir="${GAMES_DATADIR}"/${PN} |
98 |
- ) |
99 |
- |
100 |
- # stock premake4 does not work, use the shipped one |
101 |
- emake -C "${S}"/build/premake/premake4/build/gmake.unix |
102 |
- |
103 |
- # regenerate scripts.c so our patch applies |
104 |
- cd "${S}"/build/premake/premake4 || die |
105 |
- "${S}"/build/premake/premake4/bin/release/premake4 embed || die |
106 |
- |
107 |
- # rebuild premake again... this is the most stupid build system |
108 |
- emake -C "${S}"/build/premake/premake4/build/gmake.unix clean |
109 |
- emake -C "${S}"/build/premake/premake4/build/gmake.unix |
110 |
- |
111 |
- # run premake to create build scripts |
112 |
- cd "${S}"/build/premake || die |
113 |
- "${S}"/build/premake/premake4/bin/release/premake4 \ |
114 |
- --file="premake4.lua" \ |
115 |
- --outpath="../workspaces/gcc/" \ |
116 |
- --platform=$(usex amd64 "x64" "x32") \ |
117 |
- --os=linux \ |
118 |
- "${myconf[@]}" \ |
119 |
- gmake || die "Premake failed" |
120 |
-} |
121 |
- |
122 |
-src_compile() { |
123 |
- tc-export AR |
124 |
- |
125 |
- # build bundled and patched spidermonkey |
126 |
- cd libraries/source/spidermonkey || die |
127 |
- JOBS="${MAKEOPTS}" ./build.sh || die |
128 |
- cd "${S}" || die |
129 |
- |
130 |
- # build 3rd party fcollada |
131 |
- emake -C libraries/source/fcollada/src |
132 |
- |
133 |
- # build 0ad |
134 |
- emake -C build/workspaces/gcc verbose=1 |
135 |
-} |
136 |
- |
137 |
-src_test() { |
138 |
- cd binaries/system || die |
139 |
- ./test -libdir "${S}/binaries/system" || die "test phase failed" |
140 |
-} |
141 |
- |
142 |
-src_install() { |
143 |
- newgamesbin binaries/system/pyrogenesis 0ad |
144 |
- use editor && newgamesbin binaries/system/ActorEditor 0ad-ActorEditor |
145 |
- |
146 |
- insinto "${GAMES_DATADIR}"/${PN} |
147 |
- doins -r binaries/data/l10n |
148 |
- |
149 |
- exeinto "$(games_get_libdir)"/${PN} |
150 |
- doexe binaries/system/libCollada.so |
151 |
- doexe libraries/source/spidermonkey/lib/*.so |
152 |
- use editor && doexe binaries/system/libAtlasUI.so |
153 |
- |
154 |
- dodoc binaries/system/readme.txt |
155 |
- doicon -s 128 build/resources/${PN}.png |
156 |
- make_desktop_entry ${PN} |
157 |
- |
158 |
- prepgamesdirs |
159 |
-} |
160 |
- |
161 |
-pkg_preinst() { |
162 |
- games_pkg_preinst |
163 |
- gnome2_icon_savelist |
164 |
-} |
165 |
- |
166 |
-pkg_postinst() { |
167 |
- games_pkg_postinst |
168 |
- gnome2_icon_cache_update |
169 |
-} |
170 |
- |
171 |
-pkg_postrm() { |
172 |
- gnome2_icon_cache_update |
173 |
-} |
174 |
|
175 |
diff --git a/games-strategy/0ad/0ad-0.0.18_alpha-r3.ebuild b/games-strategy/0ad/0ad-0.0.18_alpha-r3.ebuild |
176 |
deleted file mode 100644 |
177 |
index 8052103..0000000 |
178 |
--- a/games-strategy/0ad/0ad-0.0.18_alpha-r3.ebuild |
179 |
+++ /dev/null |
180 |
@@ -1,154 +0,0 @@ |
181 |
-# Copyright 1999-2015 Gentoo Foundation |
182 |
-# Distributed under the terms of the GNU General Public License v2 |
183 |
-# $Id$ |
184 |
- |
185 |
-EAPI=5 |
186 |
- |
187 |
-WX_GTK_VER="3.0" |
188 |
- |
189 |
-PYTHON_COMPAT=( python2_7 ) |
190 |
-PYTHON_REQ_USE="threads,ssl" |
191 |
- |
192 |
-inherit eutils wxwidgets toolchain-funcs gnome2-utils python-any-r1 games |
193 |
- |
194 |
-MY_P=0ad-${PV/_/-} |
195 |
-DESCRIPTION="A free, real-time strategy game" |
196 |
-HOMEPAGE="http://play0ad.com/" |
197 |
-SRC_URI="mirror://sourceforge/zero-ad/${MY_P}-unix-build.tar.xz" |
198 |
- |
199 |
-LICENSE="GPL-2 LGPL-2.1 MIT CC-BY-SA-3.0 ZLIB" |
200 |
-SLOT="0" |
201 |
-KEYWORDS="~amd64 ~x86" |
202 |
-IUSE="editor +lobby nvtt pch sound test" |
203 |
-RESTRICT="test" |
204 |
- |
205 |
-RDEPEND=" |
206 |
- dev-libs/boost |
207 |
- dev-libs/icu:= |
208 |
- dev-libs/libxml2 |
209 |
- dev-libs/nspr |
210 |
- ~games-strategy/0ad-data-${PV} |
211 |
- media-libs/libpng:0 |
212 |
- media-libs/libsdl2[X,opengl,video] |
213 |
- net-libs/enet:1.3 |
214 |
- net-libs/miniupnpc:= |
215 |
- net-misc/curl |
216 |
- sys-libs/zlib |
217 |
- virtual/jpeg:62 |
218 |
- virtual/opengl |
219 |
- x11-libs/libX11 |
220 |
- x11-libs/libXcursor |
221 |
- editor? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] ) |
222 |
- lobby? ( net-libs/gloox ) |
223 |
- nvtt? ( media-gfx/nvidia-texture-tools ) |
224 |
- sound? ( media-libs/libvorbis |
225 |
- media-libs/openal )" |
226 |
-DEPEND="${RDEPEND} |
227 |
- ${PYTHON_DEPS} |
228 |
- virtual/pkgconfig |
229 |
- test? ( dev-lang/perl )" |
230 |
- |
231 |
-S=${WORKDIR}/${MY_P} |
232 |
- |
233 |
-pkg_setup() { |
234 |
- games_pkg_setup |
235 |
- python-any-r1_pkg_setup |
236 |
-} |
237 |
- |
238 |
-src_prepare() { |
239 |
- epatch "${FILESDIR}"/${P}-gentoo.patch |
240 |
- epatch "${FILESDIR}"/${P}-miniupnpc14.patch |
241 |
-} |
242 |
- |
243 |
-src_configure() { |
244 |
- local myconf=( |
245 |
- --with-system-nvtt |
246 |
- --with-system-miniupnpc |
247 |
- --minimal-flags |
248 |
- --sdl2 |
249 |
- $(usex nvtt "" "--without-nvtt") |
250 |
- $(usex pch "" "--without-pch") |
251 |
- $(usex test "" "--without-tests") |
252 |
- $(usex sound "" "--without-audio") |
253 |
- $(usex editor "--atlas" "") |
254 |
- $(usex lobby "" "--without-lobby") |
255 |
- --collada |
256 |
- --bindir="${GAMES_BINDIR}" |
257 |
- --libdir="$(games_get_libdir)"/${PN} |
258 |
- --datadir="${GAMES_DATADIR}"/${PN} |
259 |
- ) |
260 |
- |
261 |
- # stock premake4 does not work, use the shipped one |
262 |
- emake -C "${S}"/build/premake/premake4/build/gmake.unix |
263 |
- |
264 |
- # regenerate scripts.c so our patch applies |
265 |
- cd "${S}"/build/premake/premake4 || die |
266 |
- "${S}"/build/premake/premake4/bin/release/premake4 embed || die |
267 |
- |
268 |
- # rebuild premake again... this is the most stupid build system |
269 |
- emake -C "${S}"/build/premake/premake4/build/gmake.unix clean |
270 |
- emake -C "${S}"/build/premake/premake4/build/gmake.unix |
271 |
- |
272 |
- # run premake to create build scripts |
273 |
- cd "${S}"/build/premake || die |
274 |
- "${S}"/build/premake/premake4/bin/release/premake4 \ |
275 |
- --file="premake4.lua" \ |
276 |
- --outpath="../workspaces/gcc/" \ |
277 |
- --platform=$(usex amd64 "x64" "x32") \ |
278 |
- --os=linux \ |
279 |
- "${myconf[@]}" \ |
280 |
- gmake || die "Premake failed" |
281 |
-} |
282 |
- |
283 |
-src_compile() { |
284 |
- tc-export AR |
285 |
- |
286 |
- # build bundled and patched spidermonkey |
287 |
- cd libraries/source/spidermonkey || die |
288 |
- JOBS="${MAKEOPTS}" ./build.sh || die |
289 |
- cd "${S}" || die |
290 |
- |
291 |
- # build 3rd party fcollada |
292 |
- emake -C libraries/source/fcollada/src |
293 |
- |
294 |
- # build 0ad |
295 |
- emake -C build/workspaces/gcc verbose=1 |
296 |
-} |
297 |
- |
298 |
-src_test() { |
299 |
- cd binaries/system || die |
300 |
- ./test -libdir "${S}/binaries/system" || die "test phase failed" |
301 |
-} |
302 |
- |
303 |
-src_install() { |
304 |
- newgamesbin binaries/system/pyrogenesis 0ad |
305 |
- use editor && newgamesbin binaries/system/ActorEditor 0ad-ActorEditor |
306 |
- |
307 |
- insinto "${GAMES_DATADIR}"/${PN} |
308 |
- doins -r binaries/data/l10n |
309 |
- |
310 |
- exeinto "$(games_get_libdir)"/${PN} |
311 |
- doexe binaries/system/libCollada.so |
312 |
- doexe libraries/source/spidermonkey/lib/*.so |
313 |
- use editor && doexe binaries/system/libAtlasUI.so |
314 |
- |
315 |
- dodoc binaries/system/readme.txt |
316 |
- doicon -s 128 build/resources/${PN}.png |
317 |
- make_desktop_entry ${PN} |
318 |
- |
319 |
- prepgamesdirs |
320 |
-} |
321 |
- |
322 |
-pkg_preinst() { |
323 |
- games_pkg_preinst |
324 |
- gnome2_icon_savelist |
325 |
-} |
326 |
- |
327 |
-pkg_postinst() { |
328 |
- games_pkg_postinst |
329 |
- gnome2_icon_cache_update |
330 |
-} |
331 |
- |
332 |
-pkg_postrm() { |
333 |
- gnome2_icon_cache_update |
334 |
-} |