1 |
commit: be5d3cdcd1f360dc65d54d7e1e44d32524229d51 |
2 |
Author: Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name> |
3 |
AuthorDate: Sun Feb 26 11:17:47 2017 +0000 |
4 |
Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name> |
5 |
CommitDate: Sun Feb 26 11:17:47 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=be5d3cdc |
7 |
|
8 |
unknown-horizons (and deps): bump. Fixes bugs #609854 and #610186 on Gentoo BZ |
9 |
|
10 |
games-engines/fife/fife-0.3.2.2.ebuild | 63 ----------------- |
11 |
games-engines/fife/fife-0.3.3-r2.ebuild | 63 ----------------- |
12 |
games-engines/fife/fife-0.3.3-r3.ebuild | 70 ------------------- |
13 |
games-engines/fife/fife-0.3.5.ebuild | 68 ------------------- |
14 |
games-engines/fife/fife-9999.ebuild | 67 ------------------- |
15 |
.../fife/files/fife-0.3.3-fix-memory-leak.patch | 29 -------- |
16 |
.../fife/files/fife-0.3.3-unbundle-libpng.patch | 24 ------- |
17 |
.../fife/files/fife-0.3.5-unbundle-libpng.patch | 24 ------- |
18 |
games-engines/fifechan/fifechan-0.1.4.ebuild | 49 ++++++++++++++ |
19 |
games-engines/fifechan/fifechan-9999.ebuild | 49 ++++++++++++++ |
20 |
games-engines/fifechan/metadata.xml | 12 ++++ |
21 |
games-engines/fifengine/fifengine-0.4.1.ebuild | 78 ++++++++++++++++++++++ |
22 |
games-engines/fifengine/fifengine-9999.ebuild | 78 ++++++++++++++++++++++ |
23 |
.../files/fifengine-0.4.1-unbundle-libpng.patch} | 3 +- |
24 |
.../files/fifengine-9999-unbundle-libpng.patch} | 3 +- |
25 |
games-engines/{fife => fifengine}/metadata.xml | 0 |
26 |
.../unknown-horizons-2011.1a.ebuild | 38 ----------- |
27 |
.../unknown-horizons-2011.2.ebuild | 38 ----------- |
28 |
.../unknown-horizons-2011.3.ebuild | 37 ---------- |
29 |
.../unknown-horizons-2012.1.ebuild | 61 ----------------- |
30 |
.../unknown-horizons-2013.3.ebuild | 60 ----------------- |
31 |
.../unknown-horizons-2017.2.ebuild | 52 +++++++++++++++ |
32 |
.../unknown-horizons/unknown-horizons-9999.ebuild | 56 +++++++++++----- |
33 |
23 files changed, 361 insertions(+), 661 deletions(-) |
34 |
|
35 |
diff --git a/games-engines/fife/fife-0.3.2.2.ebuild b/games-engines/fife/fife-0.3.2.2.ebuild |
36 |
deleted file mode 100644 |
37 |
index f9671ec..0000000 |
38 |
--- a/games-engines/fife/fife-0.3.2.2.ebuild |
39 |
+++ /dev/null |
40 |
@@ -1,63 +0,0 @@ |
41 |
-# Copyright 1999-2011 Gentoo Foundation |
42 |
-# Distributed under the terms of the GNU General Public License v2 |
43 |
-# $Header: $ |
44 |
- |
45 |
-EAPI="3" |
46 |
- |
47 |
-PYTHON_DEPEND="2:2.7" |
48 |
- |
49 |
-inherit eutils python scons-utils versionator |
50 |
- |
51 |
-MY_PV=$(replace_version_separator 3 'r') |
52 |
- |
53 |
-DESCRIPTION="Flexible Isometric Free Engine, 2D" |
54 |
-HOMEPAGE="http://fifengine.de" |
55 |
-SRC_URI="http://downloads.sourceforge.net/project/${PN}/active/src/${PN}-${MY_PV}.tar.gz" |
56 |
- |
57 |
-LICENSE="GPL-2" |
58 |
- |
59 |
-KEYWORDS="~amd64 ~x86" |
60 |
-SLOT="0" |
61 |
-IUSE="debug profile" |
62 |
- |
63 |
-RDEPEND="dev-libs/boost |
64 |
- dev-python/pyyaml |
65 |
- media-libs/libsdl |
66 |
- media-libs/sdl-ttf |
67 |
- media-libs/sdl-image[png] |
68 |
- media-libs/libvorbis |
69 |
- media-libs/libogg |
70 |
- media-libs/openal |
71 |
- sys-libs/zlib |
72 |
- x11-libs/libXcursor |
73 |
- x11-libs/libXext |
74 |
- dev-games/guichan[sdl,opengl] |
75 |
- virtual/opengl |
76 |
- virtual/glu" |
77 |
-DEPEND="${RDEPEND} |
78 |
- dev-lang/swig" |
79 |
- |
80 |
-S=${WORKDIR}/${PN}-${MY_PV} |
81 |
- |
82 |
-src_prepare() { |
83 |
- rm -r ext #delete bundled libs |
84 |
- epatch "${FILESDIR}/${P}-unbundle-libpng.patch" |
85 |
-} |
86 |
- |
87 |
-# Compiles only with one thread |
88 |
-SCONSOPTS="-j1" |
89 |
- |
90 |
-src_compile() { |
91 |
- escons \ |
92 |
- --python-prefix="${D}/$(python_get_sitedir)" \ |
93 |
- --prefix="${D}/usr" \ |
94 |
- $(use_scons debug) \ |
95 |
- $(use_scons debug log log) \ |
96 |
- $(use_scons profile) \ |
97 |
- || die "scons failed" |
98 |
-} |
99 |
- |
100 |
-src_install() { |
101 |
- escons install-python --python-prefix="${D}/$(python_get_sitedir)" \ |
102 |
- --prefix="${D}/usr" || die "install failed" |
103 |
-} |
104 |
|
105 |
diff --git a/games-engines/fife/fife-0.3.3-r2.ebuild b/games-engines/fife/fife-0.3.3-r2.ebuild |
106 |
deleted file mode 100644 |
107 |
index 2edf4f7..0000000 |
108 |
--- a/games-engines/fife/fife-0.3.3-r2.ebuild |
109 |
+++ /dev/null |
110 |
@@ -1,63 +0,0 @@ |
111 |
-# Copyright 1999-2011 Gentoo Foundation |
112 |
-# Distributed under the terms of the GNU General Public License v2 |
113 |
-# $Header: $ |
114 |
- |
115 |
-EAPI="3" |
116 |
- |
117 |
-PYTHON_DEPEND="2:2.7" |
118 |
- |
119 |
-inherit eutils python scons-utils versionator |
120 |
- |
121 |
-MY_PV=$(replace_version_separator 3 'r') |
122 |
- |
123 |
-DESCRIPTION="Flexible Isometric Free Engine, 2D" |
124 |
-HOMEPAGE="http://fifengine.de" |
125 |
-SRC_URI="http://downloads.sourceforge.net/project/${PN}/active/src/${PN}-${MY_PV}.tar.gz" |
126 |
- |
127 |
-LICENSE="GPL-2" |
128 |
- |
129 |
-KEYWORDS="~amd64 ~x86" |
130 |
-SLOT="0" |
131 |
-IUSE="debug profile" |
132 |
- |
133 |
-RDEPEND="dev-libs/boost |
134 |
- dev-python/pyyaml |
135 |
- media-libs/libsdl |
136 |
- media-libs/sdl-ttf |
137 |
- media-libs/sdl-image[png] |
138 |
- media-libs/libvorbis |
139 |
- media-libs/libogg |
140 |
- media-libs/openal |
141 |
- sys-libs/zlib |
142 |
- x11-libs/libXcursor |
143 |
- x11-libs/libXext |
144 |
- dev-games/guichan[sdl,opengl] |
145 |
- virtual/opengl |
146 |
- virtual/glu" |
147 |
-DEPEND="${RDEPEND} |
148 |
- dev-lang/swig" |
149 |
- |
150 |
-S=${WORKDIR}/${PN}_${PV} |
151 |
- |
152 |
-src_prepare() { |
153 |
- rm -r ext #delete bundled libs |
154 |
- epatch "${FILESDIR}/${P}-unbundle-libpng.patch" |
155 |
-} |
156 |
- |
157 |
-# Compiles only with one thread |
158 |
-SCONSOPTS="-j1" |
159 |
- |
160 |
-src_compile() { |
161 |
- escons \ |
162 |
- --python-prefix="${D}/$(python_get_sitedir)" \ |
163 |
- --prefix="${D}/usr" \ |
164 |
- $(use_scons debug) \ |
165 |
- $(use_scons debug log log) \ |
166 |
- $(use_scons profile) \ |
167 |
- || die "scons failed" |
168 |
-} |
169 |
- |
170 |
-src_install() { |
171 |
- escons install-python --python-prefix="${D}/$(python_get_sitedir)" \ |
172 |
- --prefix="${D}/usr" || die "install failed" |
173 |
-} |
174 |
|
175 |
diff --git a/games-engines/fife/fife-0.3.3-r3.ebuild b/games-engines/fife/fife-0.3.3-r3.ebuild |
176 |
deleted file mode 100644 |
177 |
index cf3a6a2..0000000 |
178 |
--- a/games-engines/fife/fife-0.3.3-r3.ebuild |
179 |
+++ /dev/null |
180 |
@@ -1,70 +0,0 @@ |
181 |
-# Copyright 1999-2011 Gentoo Foundation |
182 |
-# Distributed under the terms of the GNU General Public License v2 |
183 |
-# $Header: $ |
184 |
- |
185 |
-EAPI="4" |
186 |
- |
187 |
-PYTHON_DEPEND="2:2.7" |
188 |
-RESTRICT_PYTHON_ABIS="3.*" |
189 |
- |
190 |
-inherit eutils python scons-utils |
191 |
- |
192 |
-DESCRIPTION="Flexible Isometric Free Engine, 2D" |
193 |
-HOMEPAGE="http://fifengine.de" |
194 |
-SRC_URI="http://downloads.sourceforge.net/project/${PN}/active/src/${PN}_${PV}${PR}.tar.gz" |
195 |
- |
196 |
-LICENSE="GPL-2" |
197 |
- |
198 |
-KEYWORDS="~amd64 ~x86" |
199 |
-SLOT="0" |
200 |
-IUSE="debug profile" |
201 |
- |
202 |
-RDEPEND="dev-libs/boost |
203 |
- dev-python/pyyaml |
204 |
- media-libs/libsdl |
205 |
- media-libs/sdl-ttf |
206 |
- media-libs/sdl-image[png] |
207 |
- media-libs/libvorbis |
208 |
- media-libs/libogg |
209 |
- media-libs/openal |
210 |
- sys-libs/zlib |
211 |
- x11-libs/libXcursor |
212 |
- x11-libs/libXext |
213 |
- dev-games/guichan[sdl,opengl] |
214 |
- virtual/opengl |
215 |
- virtual/glu" |
216 |
-DEPEND="${RDEPEND} |
217 |
- dev-lang/swig" |
218 |
- |
219 |
-S=${WORKDIR}/${PN}_${PV}${PR} |
220 |
- |
221 |
-# just setting RESTRICT_PYTHON_ABI is not enough to install only for python2 |
222 |
-pkg_setup() { |
223 |
- python_set_active_version 2 |
224 |
- python_pkg_setup |
225 |
-} |
226 |
- |
227 |
-src_prepare() { |
228 |
- rm -r ext #delete bundled libs |
229 |
- epatch "${FILESDIR}/${P}-unbundle-libpng.patch" |
230 |
- # apply upstream changeset 3949 to remove memory leak warning on console |
231 |
- epatch "${FILESDIR}/${P}-fix-memory-leak.patch" |
232 |
-} |
233 |
- |
234 |
-# Compile is only succesfull with one thread |
235 |
-SCONSOPTS="-j1" |
236 |
- |
237 |
-src_compile() { |
238 |
- escons \ |
239 |
- --python-prefix="${D}/$(python_get_sitedir)" \ |
240 |
- --prefix="${D}/usr" \ |
241 |
- $(use_scons debug) \ |
242 |
- $(use_scons debug log log) \ |
243 |
- $(use_scons profile) \ |
244 |
- || die "scons failed" |
245 |
-} |
246 |
- |
247 |
-src_install() { |
248 |
- escons install-python --python-prefix="${D}/$(python_get_sitedir)" \ |
249 |
- --prefix="${D}/usr" || die "install failed" |
250 |
-} |
251 |
|
252 |
diff --git a/games-engines/fife/fife-0.3.5.ebuild b/games-engines/fife/fife-0.3.5.ebuild |
253 |
deleted file mode 100644 |
254 |
index b9adc03..0000000 |
255 |
--- a/games-engines/fife/fife-0.3.5.ebuild |
256 |
+++ /dev/null |
257 |
@@ -1,68 +0,0 @@ |
258 |
-# Copyright 1999-2014 Gentoo Foundation |
259 |
-# Distributed under the terms of the GNU General Public License v2 |
260 |
-# $Header: $ |
261 |
- |
262 |
-EAPI=5 |
263 |
- |
264 |
-PYTHON_DEPEND="2:2.7" |
265 |
-RESTRICT_PYTHON_ABIS="3.*" |
266 |
- |
267 |
-inherit eutils python scons-utils |
268 |
- |
269 |
-DESCRIPTION="Flexible Isometric Free Engine, 2D" |
270 |
-HOMEPAGE="http://fifengine.de" |
271 |
-SRC_URI="http://downloads.sourceforge.net/project/${PN}/active/src/${PN}_${PV}.tar.gz" |
272 |
- |
273 |
-LICENSE="GPL-2" |
274 |
- |
275 |
-KEYWORDS="" |
276 |
-SLOT="0" |
277 |
-IUSE="debug profile" |
278 |
- |
279 |
-RDEPEND=">=dev-libs/boost-1.33.1 |
280 |
- dev-python/pyyaml |
281 |
- >=media-libs/libsdl-1.2.8 |
282 |
- >=media-libs/sdl-ttf-2.0.0 |
283 |
- >media-libs/sdl-image-1.2.9[png] |
284 |
- media-libs/libvorbis |
285 |
- media-libs/libogg |
286 |
- media-libs/openal |
287 |
- >=sys-libs/zlib-1.2 |
288 |
- x11-libs/libXcursor |
289 |
- x11-libs/libXext |
290 |
- dev-games/guichan[sdl,opengl] |
291 |
- virtual/opengl |
292 |
- virtual/glu" |
293 |
-DEPEND="${RDEPEND} |
294 |
- >=dev-lang/swig-1.3.40" |
295 |
- |
296 |
-S=${WORKDIR}/${PN}_${PV} |
297 |
- |
298 |
-# just setting RESTRICT_PYTHON_ABI is not enough to install only for python2 |
299 |
-pkg_setup() { |
300 |
- python_set_active_version 2 |
301 |
- python_pkg_setup |
302 |
-} |
303 |
- |
304 |
-src_prepare() { |
305 |
- rm -r ext #delete bundled libs |
306 |
- epatch "${FILESDIR}/${P}-unbundle-libpng.patch" |
307 |
-} |
308 |
- |
309 |
-# Compile is only succesfull with one thread |
310 |
-#SCONSOPTS="-j1" |
311 |
- |
312 |
-src_compile() { |
313 |
- escons \ |
314 |
- --python-prefix="${D}/$(python_get_sitedir)" \ |
315 |
- --prefix="${D}/usr" \ |
316 |
- $(use_scons debug) \ |
317 |
- $(use_scons debug log log) \ |
318 |
- $(use_scons profile) \ |
319 |
- || die "scons failed" |
320 |
-} |
321 |
- |
322 |
-src_install() { |
323 |
- escons install-python --python-prefix="${D}/$(python_get_sitedir)" \ |
324 |
- --prefix="${D}/usr" || die "install failed" |
325 |
-} |
326 |
|
327 |
diff --git a/games-engines/fife/fife-9999.ebuild b/games-engines/fife/fife-9999.ebuild |
328 |
deleted file mode 100644 |
329 |
index 6f40beb..0000000 |
330 |
--- a/games-engines/fife/fife-9999.ebuild |
331 |
+++ /dev/null |
332 |
@@ -1,67 +0,0 @@ |
333 |
-# Copyright 1999-2010 Gentoo Foundation |
334 |
-# Distributed under the terms of the GNU General Public License v2 |
335 |
-# $Header: $ |
336 |
- |
337 |
-EAPI="2" |
338 |
- |
339 |
-PYTHON_DEPEND="2" |
340 |
- |
341 |
-inherit subversion python |
342 |
- |
343 |
-DESCRIPTION="Flexible Isometric Free Engine" |
344 |
-HOMEPAGE="http://fifengine.de/" |
345 |
- |
346 |
-ESVN_REPO_URI="http://fife.svn.cvsdude.com/engine/trunk" |
347 |
- |
348 |
-LICENSE="LGPL-2" |
349 |
- |
350 |
-SLOT="0" |
351 |
-IUSE="debug profile" |
352 |
- |
353 |
-RDEPEND="dev-libs/boost |
354 |
- dev-python/pyyaml |
355 |
- media-libs/libsdl |
356 |
- media-libs/sdl-ttf |
357 |
- media-libs/sdl-image[png] |
358 |
- media-libs/libvorbis |
359 |
- media-libs/libogg |
360 |
- media-libs/openal |
361 |
- sys-libs/zlib |
362 |
- x11-libs/libXcursor |
363 |
- virtual/opengl |
364 |
- virtual/glu |
365 |
- dev-games/guichan[sdl,opengl] |
366 |
- media-libs/libpng |
367 |
- x11-libs/libXext |
368 |
-" |
369 |
- |
370 |
-DEPEND="${RDEPEND} |
371 |
- dev-util/scons |
372 |
- dev-lang/swig |
373 |
-" |
374 |
- |
375 |
-src_prepare() { |
376 |
- #remove bundled libs |
377 |
- rm -r ext |
378 |
- epatch "${FILESDIR}/${PN}-0.3.1-unbundle-libpng.patch" |
379 |
-} |
380 |
- |
381 |
-# Compiles only with one thread |
382 |
-SCONSOPTS="-j1" |
383 |
- |
384 |
-src_compile() { |
385 |
- local SCONS_ARGS="" |
386 |
- if use debug; then |
387 |
- SCONS_ARGS="$SCONS_ARGS --enable-debug" |
388 |
- fi |
389 |
- |
390 |
- if use profile; then |
391 |
- SCONS_ARGS="$SCONS_ARGS --enable-profile" |
392 |
- fi |
393 |
- |
394 |
- scons --python-prefix="${D}"/$(python_get_sitedir) --prefix="${D}"/usr "$SCONS_ARGS" |
395 |
-} |
396 |
- |
397 |
-src_install() { |
398 |
- scons install-python --python-prefix="${D}/$(python_get_sitedir)" --prefix="${D}/usr" || die 'install failed' |
399 |
-} |
400 |
|
401 |
diff --git a/games-engines/fife/files/fife-0.3.3-fix-memory-leak.patch b/games-engines/fife/files/fife-0.3.3-fix-memory-leak.patch |
402 |
deleted file mode 100644 |
403 |
index f3640e3..0000000 |
404 |
--- a/games-engines/fife/files/fife-0.3.3-fix-memory-leak.patch |
405 |
+++ /dev/null |
406 |
@@ -1,29 +0,0 @@ |
407 |
---- ./engine/core/eventchannel/eventchannel.i.orig 2013-01-03 21:42:16.041324952 +0000 |
408 |
-+++ ./engine/core/eventchannel/eventchannel.i 2013-01-03 21:44:34.871329004 +0000 |
409 |
-@@ -58,7 +58,7 @@ |
410 |
- virtual int32_t getTimeStamp() const; |
411 |
- virtual std::string getDebugString() const; |
412 |
- virtual const std::string& getName() const; |
413 |
-- virtual ~IEvent() {} |
414 |
-+ virtual ~Event() {} |
415 |
- private: |
416 |
- Event(); |
417 |
- }; |
418 |
-@@ -70,7 +70,7 @@ |
419 |
- virtual bool isControlPressed() const; |
420 |
- virtual bool isMetaPressed() const; |
421 |
- virtual bool isShiftPressed() const; |
422 |
-- virtual ~IInputEvent() {} |
423 |
-+ virtual ~InputEvent() {} |
424 |
- private: |
425 |
- InputEvent(); |
426 |
- }; |
427 |
-@@ -153,7 +153,7 @@ |
428 |
- virtual int32_t getY() const; |
429 |
- virtual MouseEventType getType() const; |
430 |
- virtual MouseButtonType getButton() const; |
431 |
-- virtual ~IMouseEvent(); |
432 |
-+ virtual ~MouseEvent(); |
433 |
- private: |
434 |
- MouseEvent(); |
435 |
- }; |
436 |
|
437 |
diff --git a/games-engines/fife/files/fife-0.3.3-unbundle-libpng.patch b/games-engines/fife/files/fife-0.3.3-unbundle-libpng.patch |
438 |
deleted file mode 100644 |
439 |
index 580edfa..0000000 |
440 |
--- a/games-engines/fife/files/fife-0.3.3-unbundle-libpng.patch |
441 |
+++ /dev/null |
442 |
@@ -1,24 +0,0 @@ |
443 |
-Index: image.h |
444 |
-=================================================================== |
445 |
---- a/engine/core/video/image.h (revision 3239) |
446 |
-+++ b/engine/core/video/image.h (working copy) |
447 |
-@@ -27,7 +27,6 @@ |
448 |
- |
449 |
- // 3rd party library includes |
450 |
- #include <SDL.h> |
451 |
--#include <png.h> |
452 |
- |
453 |
- // FIFE includes |
454 |
- // These includes are split up in two parts, separated by one empty line |
455 |
-Index: image.cpp |
456 |
-=================================================================== |
457 |
---- a/engine/core/video/image.cpp (revision 3239) |
458 |
-+++ b/engine/core/video/image.cpp (working copy) |
459 |
-@@ -25,6 +25,7 @@ |
460 |
- |
461 |
- // 3rd party library includes |
462 |
- #include <SDL.h> |
463 |
-+#include <png.h> |
464 |
- |
465 |
- // FIFE includes |
466 |
- // These includes are split up in two parts, separated by one empty line |
467 |
|
468 |
diff --git a/games-engines/fife/files/fife-0.3.5-unbundle-libpng.patch b/games-engines/fife/files/fife-0.3.5-unbundle-libpng.patch |
469 |
deleted file mode 100644 |
470 |
index 580edfa..0000000 |
471 |
--- a/games-engines/fife/files/fife-0.3.5-unbundle-libpng.patch |
472 |
+++ /dev/null |
473 |
@@ -1,24 +0,0 @@ |
474 |
-Index: image.h |
475 |
-=================================================================== |
476 |
---- a/engine/core/video/image.h (revision 3239) |
477 |
-+++ b/engine/core/video/image.h (working copy) |
478 |
-@@ -27,7 +27,6 @@ |
479 |
- |
480 |
- // 3rd party library includes |
481 |
- #include <SDL.h> |
482 |
--#include <png.h> |
483 |
- |
484 |
- // FIFE includes |
485 |
- // These includes are split up in two parts, separated by one empty line |
486 |
-Index: image.cpp |
487 |
-=================================================================== |
488 |
---- a/engine/core/video/image.cpp (revision 3239) |
489 |
-+++ b/engine/core/video/image.cpp (working copy) |
490 |
-@@ -25,6 +25,7 @@ |
491 |
- |
492 |
- // 3rd party library includes |
493 |
- #include <SDL.h> |
494 |
-+#include <png.h> |
495 |
- |
496 |
- // FIFE includes |
497 |
- // These includes are split up in two parts, separated by one empty line |
498 |
|
499 |
diff --git a/games-engines/fifechan/fifechan-0.1.4.ebuild b/games-engines/fifechan/fifechan-0.1.4.ebuild |
500 |
new file mode 100644 |
501 |
index 0000000..23f1725 |
502 |
--- /dev/null |
503 |
+++ b/games-engines/fifechan/fifechan-0.1.4.ebuild |
504 |
@@ -0,0 +1,49 @@ |
505 |
+# Copyright 1999-2017 Gentoo Foundation |
506 |
+# Distributed under the terms of the GNU General Public License v2 |
507 |
+ |
508 |
+EAPI=6 |
509 |
+ |
510 |
+inherit cmake-utils |
511 |
+ |
512 |
+DESCRIPTION="Lightweight cross platform GUI C++ library designed for games" |
513 |
+HOMEPAGE="http://fifengine.github.io/fifechan/" |
514 |
+SRC_URI="https://github.com/fifengine/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
515 |
+ |
516 |
+LICENSE="LGPL-2.1" |
517 |
+SLOT="0" |
518 |
+KEYWORDS="~amd64" |
519 |
+IUSE="allegro +opengl +sdl irrlicht" |
520 |
+ |
521 |
+DEPEND=" |
522 |
+ x11-libs/libXext |
523 |
+ irrlicht? ( |
524 |
+ dev-games/irrlicht |
525 |
+ ) |
526 |
+ sdl? ( |
527 |
+ media-libs/libsdl2 |
528 |
+ media-libs/sdl-ttf |
529 |
+ media-libs/sdl2-image[png] |
530 |
+ ) |
531 |
+ opengl? ( |
532 |
+ virtual/opengl |
533 |
+ virtual/glu |
534 |
+ ) |
535 |
+ allegro? ( |
536 |
+ media-libs/allegro:0 |
537 |
+ ) |
538 |
+" |
539 |
+RDEPEND="${DEPEND}" |
540 |
+ |
541 |
+usx() { usex $* ON OFF; } |
542 |
+ |
543 |
+src_configure() { |
544 |
+ local mycmakeargs=( |
545 |
+ -DENABLE_ALLEGRO=$(usx allegro) |
546 |
+ -DENABLE_OPENGL=$(usx opengl) |
547 |
+# -DENABLE_OPENGL_CONTRIB=$(usx opengl) |
548 |
+ -DENABLE_SDL=$(usx sdl) |
549 |
+ -DENABLE_SDL_CONTRIB=$(usx sdl) |
550 |
+ -DENABLE_IRRLICHT=$(usx irrlicht) |
551 |
+ ) |
552 |
+ cmake-utils_src_configure |
553 |
+} |
554 |
|
555 |
diff --git a/games-engines/fifechan/fifechan-9999.ebuild b/games-engines/fifechan/fifechan-9999.ebuild |
556 |
new file mode 100644 |
557 |
index 0000000..cdd5bcc |
558 |
--- /dev/null |
559 |
+++ b/games-engines/fifechan/fifechan-9999.ebuild |
560 |
@@ -0,0 +1,49 @@ |
561 |
+# Copyright 1999-2017 Gentoo Foundation |
562 |
+# Distributed under the terms of the GNU General Public License v2 |
563 |
+ |
564 |
+EAPI=6 |
565 |
+ |
566 |
+inherit cmake-utils git-r3 |
567 |
+ |
568 |
+DESCRIPTION="Lightweight cross platform GUI C++ library designed for games" |
569 |
+HOMEPAGE="http://fifengine.github.io/fifechan/" |
570 |
+EGIT_REPO_URI="https://github.com/fifengine/fifechan" |
571 |
+ |
572 |
+LICENSE="LGPL-2.1" |
573 |
+SLOT="0" |
574 |
+KEYWORDS="~amd64" |
575 |
+IUSE="allegro +opengl +sdl irrlicht" |
576 |
+ |
577 |
+DEPEND=" |
578 |
+ x11-libs/libXext |
579 |
+ irrlicht? ( |
580 |
+ dev-games/irrlicht |
581 |
+ ) |
582 |
+ sdl? ( |
583 |
+ media-libs/libsdl2 |
584 |
+ media-libs/sdl-ttf |
585 |
+ media-libs/sdl2-image[png] |
586 |
+ ) |
587 |
+ opengl? ( |
588 |
+ virtual/opengl |
589 |
+ virtual/glu |
590 |
+ ) |
591 |
+ allegro? ( |
592 |
+ media-libs/allegro:0 |
593 |
+ ) |
594 |
+" |
595 |
+RDEPEND="${DEPEND}" |
596 |
+ |
597 |
+usx() { usex $* ON OFF; } |
598 |
+ |
599 |
+src_configure() { |
600 |
+ local mycmakeargs=( |
601 |
+ -DENABLE_ALLEGRO=$(usx allegro) |
602 |
+ -DENABLE_OPENGL=$(usx opengl) |
603 |
+# -DENABLE_OPENGL_CONTRIB=$(usx opengl) |
604 |
+ -DENABLE_SDL=$(usx sdl) |
605 |
+ -DENABLE_SDL_CONTRIB=$(usx sdl) |
606 |
+ -DENABLE_IRRLICHT=$(usx irrlicht) |
607 |
+ ) |
608 |
+ cmake-utils_src_configure |
609 |
+} |
610 |
|
611 |
diff --git a/games-engines/fifechan/metadata.xml b/games-engines/fifechan/metadata.xml |
612 |
new file mode 100644 |
613 |
index 0000000..b6d976a |
614 |
--- /dev/null |
615 |
+++ b/games-engines/fifechan/metadata.xml |
616 |
@@ -0,0 +1,12 @@ |
617 |
+<?xml version="1.0" encoding="UTF-8"?> |
618 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
619 |
+<pkgmetadata> |
620 |
+ <maintainer type="person"> |
621 |
+ <email>mplichta@×××××.com</email> |
622 |
+ <name>Michal Plichta</name> |
623 |
+ </maintainer> |
624 |
+ <use> |
625 |
+ <flag name="allegro">Support for <pkg>media-libs/allegro</pkg></flag> |
626 |
+ <flag name="irrlicht">Support for <pkg>dev-games/irrlicht</pkg></flag> |
627 |
+ </use> |
628 |
+</pkgmetadata> |
629 |
|
630 |
diff --git a/games-engines/fifengine/fifengine-0.4.1.ebuild b/games-engines/fifengine/fifengine-0.4.1.ebuild |
631 |
new file mode 100644 |
632 |
index 0000000..0d5d63d |
633 |
--- /dev/null |
634 |
+++ b/games-engines/fifengine/fifengine-0.4.1.ebuild |
635 |
@@ -0,0 +1,78 @@ |
636 |
+# Copyright 1999-2017 Gentoo Foundation |
637 |
+# Distributed under the terms of the GNU General Public License v2 |
638 |
+ |
639 |
+EAPI=6 |
640 |
+ |
641 |
+#PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5}} ) |
642 |
+# py3 is not yet tested by upstream -> not merged in master |
643 |
+PYTHON_COMPAT=( pypy python2_7 ) |
644 |
+ |
645 |
+inherit eutils python-single-r1 cmake-utils |
646 |
+ |
647 |
+DESCRIPTION="Flexible Isometric Free Engine, 2D" |
648 |
+HOMEPAGE="http://fifengine.de" |
649 |
+SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
650 |
+ |
651 |
+LICENSE="GPL-2" |
652 |
+ |
653 |
+KEYWORDS="" |
654 |
+SLOT="0" |
655 |
+IUSE="debug +log +opengl +zip +fifechan librocket cegui python" |
656 |
+ |
657 |
+RDEPEND=" |
658 |
+ librocket? ( dev-libs/libRocket ) |
659 |
+ cegui? ( dev-games/cegui ) |
660 |
+ fifechan? ( games-engines/fifechan ) |
661 |
+ >=dev-libs/boost-1.33.1 |
662 |
+ media-libs/libsdl2 |
663 |
+ media-libs/sdl2-ttf |
664 |
+ media-libs/sdl2-image[png] |
665 |
+ media-libs/libvorbis |
666 |
+ media-libs/libogg |
667 |
+ media-libs/openal |
668 |
+ >=sys-libs/zlib-1.2 |
669 |
+ x11-libs/libXcursor |
670 |
+ x11-libs/libXext |
671 |
+ virtual/opengl |
672 |
+ virtual/glu |
673 |
+ python? ( |
674 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
675 |
+ ${PYTHON_DEPS} |
676 |
+ ) |
677 |
+" |
678 |
+DEPEND=" |
679 |
+ ${RDEPEND} |
680 |
+ python? ( >=dev-lang/swig-1.3.40 ) |
681 |
+" |
682 |
+ |
683 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
684 |
+ |
685 |
+ |
686 |
+usx() { usex $* ON OFF; } |
687 |
+ |
688 |
+pkg_setup() { |
689 |
+ use python && python-single-r1_pkg_setup |
690 |
+} |
691 |
+ |
692 |
+src_prepare() { |
693 |
+ epatch "${FILESDIR}/${P}-unbundle-libpng.patch" |
694 |
+ default |
695 |
+} |
696 |
+ |
697 |
+src_configure() { |
698 |
+ local mycmakeargs=( |
699 |
+ -Dopengl=$(usx opengl) |
700 |
+ -Dfifechan=$(usx fifechan) |
701 |
+ -Dlibrocket=$(usx librocket) |
702 |
+ -Dcegui=$(usx cegui) |
703 |
+ -Dlogging=$(usx log) |
704 |
+ -Dbuild-python=$(usx python) |
705 |
+ -Dbuild-library=ON |
706 |
+ ) |
707 |
+ |
708 |
+ cmake-utils_src_configure |
709 |
+} |
710 |
+ |
711 |
+src_install() { |
712 |
+ cmake-utils_src_install |
713 |
+} |
714 |
|
715 |
diff --git a/games-engines/fifengine/fifengine-9999.ebuild b/games-engines/fifengine/fifengine-9999.ebuild |
716 |
new file mode 100644 |
717 |
index 0000000..30c4ab1 |
718 |
--- /dev/null |
719 |
+++ b/games-engines/fifengine/fifengine-9999.ebuild |
720 |
@@ -0,0 +1,78 @@ |
721 |
+# Copyright 1999-2017 Gentoo Foundation |
722 |
+# Distributed under the terms of the GNU General Public License v2 |
723 |
+ |
724 |
+EAPI=6 |
725 |
+ |
726 |
+#PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5}} ) |
727 |
+# py3 is not yet tested by upstream -> not merged in master |
728 |
+PYTHON_COMPAT=( pypy python2_7 ) |
729 |
+ |
730 |
+inherit eutils python-single-r1 cmake-utils git-r3 |
731 |
+ |
732 |
+DESCRIPTION="Flexible Isometric Free Engine, 2D" |
733 |
+HOMEPAGE="http://fifengine.de" |
734 |
+EGIT_REPO_URI="https://github.com/${PN}/${PN}" |
735 |
+ |
736 |
+LICENSE="GPL-2" |
737 |
+ |
738 |
+KEYWORDS="" |
739 |
+SLOT="0" |
740 |
+IUSE="debug +log +opengl +zip +fifechan librocket cegui python" |
741 |
+ |
742 |
+RDEPEND=" |
743 |
+ librocket? ( dev-libs/libRocket ) |
744 |
+ cegui? ( dev-games/cegui ) |
745 |
+ fifechan? ( games-engines/fifechan ) |
746 |
+ >=dev-libs/boost-1.33.1 |
747 |
+ media-libs/libsdl2 |
748 |
+ media-libs/sdl2-ttf |
749 |
+ media-libs/sdl2-image[png] |
750 |
+ media-libs/libvorbis |
751 |
+ media-libs/libogg |
752 |
+ media-libs/openal |
753 |
+ >=sys-libs/zlib-1.2 |
754 |
+ x11-libs/libXcursor |
755 |
+ x11-libs/libXext |
756 |
+ virtual/opengl |
757 |
+ virtual/glu |
758 |
+ python? ( |
759 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
760 |
+ ${PYTHON_DEPS} |
761 |
+ ) |
762 |
+" |
763 |
+DEPEND=" |
764 |
+ ${RDEPEND} |
765 |
+ python? ( >=dev-lang/swig-1.3.40 ) |
766 |
+" |
767 |
+ |
768 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
769 |
+ |
770 |
+ |
771 |
+usx() { usex $* ON OFF; } |
772 |
+ |
773 |
+pkg_setup() { |
774 |
+ use python && python-single-r1_pkg_setup |
775 |
+} |
776 |
+ |
777 |
+src_prepare() { |
778 |
+ epatch "${FILESDIR}/${P}-unbundle-libpng.patch" |
779 |
+ default |
780 |
+} |
781 |
+ |
782 |
+src_configure() { |
783 |
+ local mycmakeargs=( |
784 |
+ -Dopengl=$(usx opengl) |
785 |
+ -Dfifechan=$(usx fifechan) |
786 |
+ -Dlibrocket=$(usx librocket) |
787 |
+ -Dcegui=$(usx cegui) |
788 |
+ -Dlogging=$(usx log) |
789 |
+ -Dbuild-python=$(usx python) |
790 |
+ -Dbuild-library=ON |
791 |
+ ) |
792 |
+ |
793 |
+ cmake-utils_src_configure |
794 |
+} |
795 |
+ |
796 |
+src_install() { |
797 |
+ cmake-utils_src_install |
798 |
+} |
799 |
|
800 |
diff --git a/games-engines/fife/files/fife-0.3.1-unbundle-libpng.patch b/games-engines/fifengine/files/fifengine-0.4.1-unbundle-libpng.patch |
801 |
similarity index 93% |
802 |
rename from games-engines/fife/files/fife-0.3.1-unbundle-libpng.patch |
803 |
rename to games-engines/fifengine/files/fifengine-0.4.1-unbundle-libpng.patch |
804 |
index 580edfa..9509211 100644 |
805 |
--- a/games-engines/fife/files/fife-0.3.1-unbundle-libpng.patch |
806 |
+++ b/games-engines/fifengine/files/fifengine-0.4.1-unbundle-libpng.patch |
807 |
@@ -2,10 +2,11 @@ Index: image.h |
808 |
=================================================================== |
809 |
--- a/engine/core/video/image.h (revision 3239) |
810 |
+++ b/engine/core/video/image.h (working copy) |
811 |
-@@ -27,7 +27,6 @@ |
812 |
+@@ -27,8 +27,6 @@ |
813 |
|
814 |
// 3rd party library includes |
815 |
#include <SDL.h> |
816 |
+-#define PNG_SKIP_SETJMP_CHECK |
817 |
-#include <png.h> |
818 |
|
819 |
// FIFE includes |
820 |
|
821 |
diff --git a/games-engines/fife/files/fife-0.3.2.2-unbundle-libpng.patch b/games-engines/fifengine/files/fifengine-9999-unbundle-libpng.patch |
822 |
similarity index 93% |
823 |
rename from games-engines/fife/files/fife-0.3.2.2-unbundle-libpng.patch |
824 |
rename to games-engines/fifengine/files/fifengine-9999-unbundle-libpng.patch |
825 |
index 580edfa..9509211 100644 |
826 |
--- a/games-engines/fife/files/fife-0.3.2.2-unbundle-libpng.patch |
827 |
+++ b/games-engines/fifengine/files/fifengine-9999-unbundle-libpng.patch |
828 |
@@ -2,10 +2,11 @@ Index: image.h |
829 |
=================================================================== |
830 |
--- a/engine/core/video/image.h (revision 3239) |
831 |
+++ b/engine/core/video/image.h (working copy) |
832 |
-@@ -27,7 +27,6 @@ |
833 |
+@@ -27,8 +27,6 @@ |
834 |
|
835 |
// 3rd party library includes |
836 |
#include <SDL.h> |
837 |
+-#define PNG_SKIP_SETJMP_CHECK |
838 |
-#include <png.h> |
839 |
|
840 |
// FIFE includes |
841 |
|
842 |
diff --git a/games-engines/fife/metadata.xml b/games-engines/fifengine/metadata.xml |
843 |
similarity index 100% |
844 |
rename from games-engines/fife/metadata.xml |
845 |
rename to games-engines/fifengine/metadata.xml |
846 |
|
847 |
diff --git a/games-strategy/unknown-horizons/unknown-horizons-2011.1a.ebuild b/games-strategy/unknown-horizons/unknown-horizons-2011.1a.ebuild |
848 |
deleted file mode 100644 |
849 |
index 3bb60a3..0000000 |
850 |
--- a/games-strategy/unknown-horizons/unknown-horizons-2011.1a.ebuild |
851 |
+++ /dev/null |
852 |
@@ -1,38 +0,0 @@ |
853 |
-# Copyright 1999-2011 Gentoo Foundation |
854 |
-# Distributed under the terms of the GNU General Public License v2 |
855 |
-# $Header: $ |
856 |
- |
857 |
-EAPI="3" |
858 |
- |
859 |
-PYTHON_DEPEND="2:2.7" |
860 |
-PYTHON_USE_WITH="sqlite" |
861 |
- |
862 |
-inherit distutils games |
863 |
-DESCRIPTION="Anno-like real time strategy game" |
864 |
-HOMEPAGE="http://www.unknown-horizons.org/" |
865 |
- |
866 |
-SRC_URI="mirror://sourceforge/unknownhorizons/${P}.tar.xz" |
867 |
- |
868 |
-LICENSE="GPL-2" |
869 |
-KEYWORDS="~amd64 ~x86" |
870 |
-SLOT="0" |
871 |
-IUSE="" |
872 |
- |
873 |
-DEPEND="dev-python/pyyaml |
874 |
- =games-engines/fife-0.3.2.2 |
875 |
- dev-python/python-distutils-extra" |
876 |
- |
877 |
-RDEPEND="$DEPEND" |
878 |
- |
879 |
-S="${WORKDIR}"/${PN} |
880 |
- |
881 |
-src_compile() { |
882 |
- distutils_src_compile build_i18n |
883 |
-} |
884 |
- |
885 |
-src_install() { |
886 |
- # FIXME: exe and data-files goes into wrong place, games.gentoo.org policy |
887 |
- # violation |
888 |
- distutils_src_install |
889 |
- prepgamesdirs |
890 |
-} |
891 |
|
892 |
diff --git a/games-strategy/unknown-horizons/unknown-horizons-2011.2.ebuild b/games-strategy/unknown-horizons/unknown-horizons-2011.2.ebuild |
893 |
deleted file mode 100644 |
894 |
index 3bb60a3..0000000 |
895 |
--- a/games-strategy/unknown-horizons/unknown-horizons-2011.2.ebuild |
896 |
+++ /dev/null |
897 |
@@ -1,38 +0,0 @@ |
898 |
-# Copyright 1999-2011 Gentoo Foundation |
899 |
-# Distributed under the terms of the GNU General Public License v2 |
900 |
-# $Header: $ |
901 |
- |
902 |
-EAPI="3" |
903 |
- |
904 |
-PYTHON_DEPEND="2:2.7" |
905 |
-PYTHON_USE_WITH="sqlite" |
906 |
- |
907 |
-inherit distutils games |
908 |
-DESCRIPTION="Anno-like real time strategy game" |
909 |
-HOMEPAGE="http://www.unknown-horizons.org/" |
910 |
- |
911 |
-SRC_URI="mirror://sourceforge/unknownhorizons/${P}.tar.xz" |
912 |
- |
913 |
-LICENSE="GPL-2" |
914 |
-KEYWORDS="~amd64 ~x86" |
915 |
-SLOT="0" |
916 |
-IUSE="" |
917 |
- |
918 |
-DEPEND="dev-python/pyyaml |
919 |
- =games-engines/fife-0.3.2.2 |
920 |
- dev-python/python-distutils-extra" |
921 |
- |
922 |
-RDEPEND="$DEPEND" |
923 |
- |
924 |
-S="${WORKDIR}"/${PN} |
925 |
- |
926 |
-src_compile() { |
927 |
- distutils_src_compile build_i18n |
928 |
-} |
929 |
- |
930 |
-src_install() { |
931 |
- # FIXME: exe and data-files goes into wrong place, games.gentoo.org policy |
932 |
- # violation |
933 |
- distutils_src_install |
934 |
- prepgamesdirs |
935 |
-} |
936 |
|
937 |
diff --git a/games-strategy/unknown-horizons/unknown-horizons-2011.3.ebuild b/games-strategy/unknown-horizons/unknown-horizons-2011.3.ebuild |
938 |
deleted file mode 100644 |
939 |
index f73d0c3..0000000 |
940 |
--- a/games-strategy/unknown-horizons/unknown-horizons-2011.3.ebuild |
941 |
+++ /dev/null |
942 |
@@ -1,37 +0,0 @@ |
943 |
-# Copyright 1999-2011 Gentoo Foundation |
944 |
-# Distributed under the terms of the GNU General Public License v2 |
945 |
-# $Header: $ |
946 |
- |
947 |
-EAPI="3" |
948 |
- |
949 |
-PYTHON_DEPEND="2:2.7" |
950 |
-PYTHON_USE_WITH="sqlite berkdb" |
951 |
- |
952 |
-inherit distutils games |
953 |
-DESCRIPTION="Anno-like real time strategy game" |
954 |
-HOMEPAGE="http://www.unknown-horizons.org/" |
955 |
- |
956 |
-SRC_URI="mirror://sourceforge/unknownhorizons/${P}-source.tar.bz2" |
957 |
- |
958 |
-LICENSE="GPL-2" |
959 |
-KEYWORDS="~amd64 ~x86" |
960 |
-SLOT="0" |
961 |
-IUSE="" |
962 |
- |
963 |
-DEPEND="dev-python/pyyaml |
964 |
- =games-engines/fife-0.3.3-r2" |
965 |
- |
966 |
-RDEPEND="$DEPEND" |
967 |
- |
968 |
-S="${WORKDIR}"/${PN} |
969 |
- |
970 |
-src_compile() { |
971 |
- distutils_src_compile build_i18n |
972 |
-} |
973 |
- |
974 |
-src_install() { |
975 |
- # FIXME: exe and data-files goes into wrong place, games.gentoo.org policy |
976 |
- # violation |
977 |
- distutils_src_install |
978 |
- prepgamesdirs |
979 |
-} |
980 |
|
981 |
diff --git a/games-strategy/unknown-horizons/unknown-horizons-2012.1.ebuild b/games-strategy/unknown-horizons/unknown-horizons-2012.1.ebuild |
982 |
deleted file mode 100644 |
983 |
index e2e73a5..0000000 |
984 |
--- a/games-strategy/unknown-horizons/unknown-horizons-2012.1.ebuild |
985 |
+++ /dev/null |
986 |
@@ -1,61 +0,0 @@ |
987 |
-# Copyright 1999-2011 Gentoo Foundation |
988 |
-# Distributed under the terms of the GNU General Public License v2 |
989 |
-# $Header: $ |
990 |
- |
991 |
-EAPI="4" |
992 |
- |
993 |
-PYTHON_DEPEND="2:2.7" |
994 |
-RESTRICT_PYTHON_ABIS="3.*" |
995 |
- |
996 |
-PYTHON_USE_WITH="sqlite" |
997 |
- |
998 |
-inherit python games distutils |
999 |
- |
1000 |
-DESCRIPTION="Anno-like real time strategy game" |
1001 |
-HOMEPAGE="http://www.unknown-horizons.org/" |
1002 |
- |
1003 |
-SRC_URI="mirror://sourceforge/unknownhorizons/${P}.tar.xz" |
1004 |
- |
1005 |
-LICENSE="GPL-2" |
1006 |
-KEYWORDS="~amd64 ~x86" |
1007 |
-SLOT="0" |
1008 |
-IUSE="" |
1009 |
- |
1010 |
-DEPEND="dev-python/pyyaml |
1011 |
- dev-python/bsddb3 |
1012 |
- =games-engines/fife-0.3.3-r3" |
1013 |
- |
1014 |
-RDEPEND="$DEPEND" |
1015 |
- |
1016 |
-S="${WORKDIR}"/${PN} |
1017 |
- |
1018 |
-pkg_setup() { |
1019 |
- python_set_active_version 2 |
1020 |
- python_pkg_setup |
1021 |
- games_pkg_setup |
1022 |
-} |
1023 |
- |
1024 |
-src_compile() { |
1025 |
- distutils_src_compile build_i18n |
1026 |
-} |
1027 |
- |
1028 |
-src_prepare() { |
1029 |
- # make sure version two is started for startup scripts |
1030 |
- python_convert_shebangs -r 2 . |
1031 |
-} |
1032 |
- |
1033 |
-src_install() { |
1034 |
- distutils_src_install |
1035 |
- # fix install paths to Gentoo specific locations |
1036 |
- insinto "${GAMES_DATADIR}/${PN}" |
1037 |
- doins -r content || die "doins failed" |
1038 |
- rm -rf "${D}/usr/share/${PN}/content" |
1039 |
- dogamesbin "${D}/usr/bin/${PN}" || die "dogamesbin failed" |
1040 |
- rm -rf "${D}/usr/bin/" |
1041 |
- prepgamesdirs |
1042 |
-} |
1043 |
- |
1044 |
-pkg_postinst() { |
1045 |
- games_pkg_postinst |
1046 |
- distutils_pkg_postinst |
1047 |
-} |
1048 |
|
1049 |
diff --git a/games-strategy/unknown-horizons/unknown-horizons-2013.3.ebuild b/games-strategy/unknown-horizons/unknown-horizons-2013.3.ebuild |
1050 |
deleted file mode 100644 |
1051 |
index f69a564..0000000 |
1052 |
--- a/games-strategy/unknown-horizons/unknown-horizons-2013.3.ebuild |
1053 |
+++ /dev/null |
1054 |
@@ -1,60 +0,0 @@ |
1055 |
-# Copyright 1999-2011 Gentoo Foundation |
1056 |
-# Distributed under the terms of the GNU General Public License v2 |
1057 |
-# $Header: $ |
1058 |
- |
1059 |
-EAPI=5 |
1060 |
- |
1061 |
-PYTHON_DEPEND="2:2.7" |
1062 |
-RESTRICT_PYTHON_ABIS="3.*" |
1063 |
- |
1064 |
-PYTHON_USE_WITH="sqlite" |
1065 |
- |
1066 |
-inherit python games distutils |
1067 |
- |
1068 |
-DESCRIPTION="Anno-like real time strategy game" |
1069 |
-HOMEPAGE="http://www.unknown-horizons.org/" |
1070 |
-SRC_URI="http://github.com/unknown-horizons/unknown-horizons/archive/${PV}.tar.gz" |
1071 |
- |
1072 |
-LICENSE="GPL-2" |
1073 |
-KEYWORDS="~amd64 ~x86" |
1074 |
-SLOT="0" |
1075 |
-IUSE="" |
1076 |
- |
1077 |
-DEPEND="dev-python/pyyaml |
1078 |
- dev-python/bsddb3 |
1079 |
- >=games-engines/fife-0.3.5" |
1080 |
- |
1081 |
-RDEPEND="$DEPEND" |
1082 |
- |
1083 |
-#S="${WORKDIR}"/${PN} |
1084 |
- |
1085 |
-pkg_setup() { |
1086 |
- python_set_active_version 2 |
1087 |
- python_pkg_setup |
1088 |
- games_pkg_setup |
1089 |
-} |
1090 |
- |
1091 |
-src_compile() { |
1092 |
- distutils_src_compile build_i18n |
1093 |
-} |
1094 |
- |
1095 |
-src_prepare() { |
1096 |
- # make sure version two is started for startup scripts |
1097 |
- python_convert_shebangs -r 2 . |
1098 |
-} |
1099 |
- |
1100 |
-src_install() { |
1101 |
- distutils_src_install |
1102 |
- # fix install paths to Gentoo specific locations |
1103 |
- insinto "${GAMES_DATADIR}/${PN}" |
1104 |
- doins -r content || die "doins failed" |
1105 |
- rm -rf "${D}/usr/share/${PN}/content" |
1106 |
- dogamesbin "${D}/usr/bin/${PN}" || die "dogamesbin failed" |
1107 |
- rm -rf "${D}/usr/bin/" |
1108 |
- prepgamesdirs |
1109 |
-} |
1110 |
- |
1111 |
-pkg_postinst() { |
1112 |
- games_pkg_postinst |
1113 |
- distutils_pkg_postinst |
1114 |
-} |
1115 |
|
1116 |
diff --git a/games-strategy/unknown-horizons/unknown-horizons-2017.2.ebuild b/games-strategy/unknown-horizons/unknown-horizons-2017.2.ebuild |
1117 |
new file mode 100644 |
1118 |
index 0000000..fc07388 |
1119 |
--- /dev/null |
1120 |
+++ b/games-strategy/unknown-horizons/unknown-horizons-2017.2.ebuild |
1121 |
@@ -0,0 +1,52 @@ |
1122 |
+# Copyright 1999-2017 Gentoo Foundation |
1123 |
+# Distributed under the terms of the GNU General Public License v2 |
1124 |
+ |
1125 |
+EAPI=6 |
1126 |
+ |
1127 |
+PYTHON_COMPAT=( python2_7 pypy ) |
1128 |
+DISTUTILS_SINGLE_IMPL=1 |
1129 |
+PYTHON_REQ_USE="sqlite" |
1130 |
+ |
1131 |
+inherit distutils-r1 |
1132 |
+ |
1133 |
+DESCRIPTION="Anno-like real time strategy game" |
1134 |
+HOMEPAGE="http://www.unknown-horizons.org/" |
1135 |
+SRC_URI="http://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
1136 |
+ |
1137 |
+LICENSE="GPL-2" |
1138 |
+KEYWORDS="~amd64 ~x86" |
1139 |
+SLOT="0" |
1140 |
+IUSE="test" |
1141 |
+ |
1142 |
+DEPEND=" |
1143 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
1144 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
1145 |
+ test? ( |
1146 |
+ dev-python/greenlet[${PYTHON_USEDEP}] |
1147 |
+ dev-python/polib[${PYTHON_USEDEP}] |
1148 |
+ dev-python/isort[${PYTHON_USEDEP}] |
1149 |
+ dev-python/pylint[${PYTHON_USEDEP}] |
1150 |
+ dev-python/mock[${PYTHON_USEDEP}] |
1151 |
+ dev-python/nose[${PYTHON_USEDEP}] |
1152 |
+ dev-python/pycodestyle[${PYTHON_USEDEP}] |
1153 |
+ ) |
1154 |
+ games-engines/fifengine[${PYTHON_USEDEP}] |
1155 |
+ games-engines/fifechan |
1156 |
+ ${PYTHON_DEPS} |
1157 |
+" |
1158 |
+ |
1159 |
+RDEPEND="$DEPEND" |
1160 |
+ |
1161 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
1162 |
+ |
1163 |
+src_test() { |
1164 |
+ ${PYTHON} ./run_tests.py |
1165 |
+} |
1166 |
+ |
1167 |
+src_compile() { |
1168 |
+ distutils-r1_src_compile build_i18n |
1169 |
+} |
1170 |
+ |
1171 |
+src_install() { |
1172 |
+ distutils-r1_src_install |
1173 |
+} |
1174 |
|
1175 |
diff --git a/games-strategy/unknown-horizons/unknown-horizons-9999.ebuild b/games-strategy/unknown-horizons/unknown-horizons-9999.ebuild |
1176 |
index d742ab1..63cc011 100644 |
1177 |
--- a/games-strategy/unknown-horizons/unknown-horizons-9999.ebuild |
1178 |
+++ b/games-strategy/unknown-horizons/unknown-horizons-9999.ebuild |
1179 |
@@ -1,30 +1,52 @@ |
1180 |
-# Copyright 1999-2011 Gentoo Foundation |
1181 |
+# Copyright 1999-2017 Gentoo Foundation |
1182 |
# Distributed under the terms of the GNU General Public License v2 |
1183 |
-# $Header: $ |
1184 |
|
1185 |
-EAPI="3" |
1186 |
+EAPI=6 |
1187 |
|
1188 |
-PYTHON_DEPEND="2:2.7" |
1189 |
-PYTHON_USE_WITH="sqlite" |
1190 |
+PYTHON_COMPAT=( python2_7 pypy ) |
1191 |
+DISTUTILS_SINGLE_IMPL=1 |
1192 |
+PYTHON_REQ_USE="sqlite" |
1193 |
|
1194 |
-inherit git-2 distutils python |
1195 |
+inherit distutils-r1 git-r3 |
1196 |
|
1197 |
DESCRIPTION="Anno-like real time strategy game" |
1198 |
-HOMEPAGE="http://unknown-horizons.org/" |
1199 |
- |
1200 |
-EGIT_REPO_URI="git://github.com/unknown-horizons/unknown-horizons.git" |
1201 |
- |
1202 |
-SRC_URI="" |
1203 |
+HOMEPAGE="http://www.unknown-horizons.org/" |
1204 |
+EGIT_REPO_URI="http://github.com/${PN}/${PN}" |
1205 |
|
1206 |
LICENSE="GPL-2" |
1207 |
-KEYWORDS="" |
1208 |
+KEYWORDS="~amd64 ~x86" |
1209 |
SLOT="0" |
1210 |
-IUSE="" |
1211 |
+IUSE="test" |
1212 |
|
1213 |
DEPEND=" |
1214 |
- dev-python/bsddb3 |
1215 |
- =games-engines/fife-9999 |
1216 |
- dev-python/pyyaml |
1217 |
- dev-python/python-distutils-extra |
1218 |
+ dev-python/pyyaml[${PYTHON_USEDEP}] |
1219 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
1220 |
+ test? ( |
1221 |
+ dev-python/greenlet[${PYTHON_USEDEP}] |
1222 |
+ dev-python/polib[${PYTHON_USEDEP}] |
1223 |
+ dev-python/isort[${PYTHON_USEDEP}] |
1224 |
+ dev-python/pylint[${PYTHON_USEDEP}] |
1225 |
+ dev-python/mock[${PYTHON_USEDEP}] |
1226 |
+ dev-python/nose[${PYTHON_USEDEP}] |
1227 |
+ dev-python/pycodestyle[${PYTHON_USEDEP}] |
1228 |
+ ) |
1229 |
+ games-engines/fifengine[${PYTHON_USEDEP}] |
1230 |
+ games-engines/fifechan |
1231 |
+ ${PYTHON_DEPS} |
1232 |
" |
1233 |
+ |
1234 |
RDEPEND="$DEPEND" |
1235 |
+ |
1236 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
1237 |
+ |
1238 |
+src_test() { |
1239 |
+ ${PYTHON} ./run_tests.py |
1240 |
+} |
1241 |
+ |
1242 |
+src_compile() { |
1243 |
+ distutils-r1_src_compile build_i18n |
1244 |
+} |
1245 |
+ |
1246 |
+src_install() { |
1247 |
+ distutils-r1_src_install |
1248 |
+} |