1 |
commit: 2cff8f8fc777a404dcefa8ad8fd4e09140fa56d4 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 10 21:43:55 2018 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 10 21:45:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cff8f8f |
7 |
|
8 |
games-action/badland: New package |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
games-action/badland/Manifest | 2 + |
14 |
games-action/badland/badland-121.ebuild | 67 +++++++++++++++++++++++++++++++++ |
15 |
games-action/badland/metadata.xml | 8 ++++ |
16 |
3 files changed, 77 insertions(+) |
17 |
|
18 |
diff --git a/games-action/badland/Manifest b/games-action/badland/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..984eb00c0fd |
21 |
--- /dev/null |
22 |
+++ b/games-action/badland/Manifest |
23 |
@@ -0,0 +1,2 @@ |
24 |
+DIST Badland_GotY_121.tar 191872792 BLAKE2B ed1c75d378b742a9f2c82f2ca1055837ff302e1438d4d1a48118ff0caf0455ce0001bb3b90e7c80361672435d2a846d67c94d1c8f28e8ecf8afe87d4177aaa86 SHA512 db018e79fada80c2e6f4ce9dc1f23bf43a8b6257207e52dbb583c484bb71e4e6b0109f750ab8fb7b1e221e2618a1994828c4525d478b7d45bf7d60012f9cf13a |
25 |
+DIST badland.png 42439 BLAKE2B 9439349c8f0a0133fdc042a373a4f625d0988ef4b9de71456ccc1dab4b0f8f56ab386e5f2ba5b322ca5f885c9784c325c9be25d691a740a89dc237afa2216451 SHA512 30387f1906fb35ff9684a8ad28535de7804e456ff545fd69bc6bad3d96c6e2149ca9c5fe19a6dc711f145191d72311538b402d3891971185fc07edabd61ba52f |
26 |
|
27 |
diff --git a/games-action/badland/badland-121.ebuild b/games-action/badland/badland-121.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..78a303c6988 |
30 |
--- /dev/null |
31 |
+++ b/games-action/badland/badland-121.ebuild |
32 |
@@ -0,0 +1,67 @@ |
33 |
+# Copyright 1999-2018 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit desktop eutils gnome2-utils |
39 |
+ |
40 |
+DESCRIPTION="Atmospheric side-scrolling action adventure platformer set in a gorgeous forest" |
41 |
+HOMEPAGE="http://badlandgame.com" |
42 |
+SRC_URI="Badland_GotY_${PV}.tar |
43 |
+ https://dev.gentoo.org/~chewi/distfiles/${PN}.png" |
44 |
+LICENSE="all-rights-reserved" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="-* ~amd64 ~x86" |
47 |
+RESTRICT="bindist splitdebug" |
48 |
+ |
49 |
+QA_PREBUILT="opt/${PN}/*" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ app-admin/chrpath |
53 |
+" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ dev-db/sqlite:3[abi_x86_32] |
57 |
+ media-libs/fontconfig:1.0[abi_x86_32] |
58 |
+ media-libs/freetype:2[abi_x86_32] |
59 |
+ media-libs/libpng:1.2[abi_x86_32] |
60 |
+ media-libs/libsdl2[abi_x86_32,joystick,opengl,sound,threads,video] |
61 |
+ net-misc/curl[abi_x86_32] |
62 |
+ >=sys-devel/gcc-4.6[cxx] |
63 |
+ >=sys-libs/glibc-2.14 |
64 |
+ virtual/opengl[abi_x86_32] |
65 |
+ x11-libs/libX11[abi_x86_32] |
66 |
+" |
67 |
+ |
68 |
+S="${WORKDIR}" |
69 |
+ |
70 |
+pkg_nofetch() { |
71 |
+ einfo "Please buy and download ${SRC_URI} from:" |
72 |
+ einfo " https://www.humblebundle.com/store/badland-game-of-the-year-humble-deluxe-edition" |
73 |
+ einfo "and move it to your distfiles directory." |
74 |
+} |
75 |
+ |
76 |
+src_prepare() { |
77 |
+ default |
78 |
+ |
79 |
+ # Replace insecure RPATH. |
80 |
+ chrpath -r '$ORIGIN' ${PN} || die |
81 |
+} |
82 |
+ |
83 |
+src_install() { |
84 |
+ local dir=/opt/${PN} |
85 |
+ |
86 |
+ insinto "${dir}" |
87 |
+ doins -r Resources |
88 |
+ |
89 |
+ exeinto "${dir}" |
90 |
+ doexe ${PN} *.so |
91 |
+ |
92 |
+ make_wrapper ${PN} "./${PN}" "${dir}" |
93 |
+ make_desktop_entry ${PN} "Badland" |
94 |
+ |
95 |
+ doicon -s 128 "${DISTDIR}"/${PN}.png |
96 |
+} |
97 |
+ |
98 |
+pkg_postinst() { gnome2_icon_cache_update; } |
99 |
+pkg_postrm() { gnome2_icon_cache_update; } |
100 |
|
101 |
diff --git a/games-action/badland/metadata.xml b/games-action/badland/metadata.xml |
102 |
new file mode 100644 |
103 |
index 00000000000..26079e608be |
104 |
--- /dev/null |
105 |
+++ b/games-action/badland/metadata.xml |
106 |
@@ -0,0 +1,8 @@ |
107 |
+<?xml version="1.0" encoding="UTF-8"?> |
108 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
109 |
+<pkgmetadata> |
110 |
+ <maintainer type="project"> |
111 |
+ <email>games@g.o</email> |
112 |
+ <name>Gentoo Games Project</name> |
113 |
+ </maintainer> |
114 |
+</pkgmetadata> |