1 |
commit: 1383ad28176209b45b09d4748767ebe1ca01bad5 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 7 18:05:02 2017 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 7 21:04:16 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1383ad28 |
7 |
|
8 |
games-strategy/darwinia-demo: remove deprecated games eclass |
9 |
|
10 |
Also update to EAPI 6 |
11 |
|
12 |
Gentoo-Bug: https://bugs.gentoo.org/574082 |
13 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
14 |
|
15 |
.../darwinia-demo/darwinia-demo-1.3.0-r1.ebuild | 48 ++++++++++++++++++++++ |
16 |
1 file changed, 48 insertions(+) |
17 |
|
18 |
diff --git a/games-strategy/darwinia-demo/darwinia-demo-1.3.0-r1.ebuild b/games-strategy/darwinia-demo/darwinia-demo-1.3.0-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..c49c2f6401b |
21 |
--- /dev/null |
22 |
+++ b/games-strategy/darwinia-demo/darwinia-demo-1.3.0-r1.ebuild |
23 |
@@ -0,0 +1,48 @@ |
24 |
+# Copyright 1999-2017 Gentoo Foundation |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=6 |
28 |
+inherit eutils unpacker |
29 |
+ |
30 |
+DESCRIPTION="Darwinia, the hyped indie game of the year. By the Uplink creators" |
31 |
+HOMEPAGE="http://www.darwinia.co.uk/downloads/demo_linux.html" |
32 |
+SRC_URI="http://www.introversion.co.uk/darwinia/downloads/${PN}2-${PV}.sh" |
33 |
+ |
34 |
+LICENSE="Introversion" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="-* ~amd64 ~x86" |
37 |
+IUSE="" |
38 |
+RESTRICT="mirror strip" |
39 |
+ |
40 |
+RDEPEND=" |
41 |
+ media-libs/libsdl[abi_x86_32(-)] |
42 |
+ media-libs/libvorbis[abi_x86_32(-)] |
43 |
+ virtual/glu[abi_x86_32(-)] |
44 |
+ ~virtual/libstdc++-3.3 |
45 |
+ virtual/opengl[abi_x86_32(-)]" |
46 |
+ |
47 |
+S=${WORKDIR} |
48 |
+ |
49 |
+dir="/opt/${PN}" |
50 |
+ |
51 |
+src_unpack() { |
52 |
+ unpack_makeself |
53 |
+} |
54 |
+ |
55 |
+src_install() { |
56 |
+ exeinto "${dir}/lib" |
57 |
+ insinto "${dir}/lib" |
58 |
+ |
59 |
+ doexe lib/{darwinia.bin.x86,open-www.sh} |
60 |
+ doins lib/{sounds,main,language}.dat |
61 |
+ |
62 |
+ insinto "${dir}" |
63 |
+ dodoc README |
64 |
+ |
65 |
+ exeinto "${dir}" |
66 |
+ doexe bin/Linux/x86/darwinia |
67 |
+ |
68 |
+ make_wrapper darwinia-demo ./darwinia "${dir}" "${dir}" |
69 |
+ newicon darwinian.png ${PN}.png |
70 |
+ make_desktop_entry darwinia-demo "Darwinia (Demo)" |
71 |
+} |