1 |
commit: 28432b98983038c5db5b3713c03e5e5fadb4767e |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 1 15:30:01 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 1 15:30:47 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28432b98 |
7 |
|
8 |
games-action/guacamelee: New package |
9 |
|
10 |
This is for the Gold Edition, which is the only version ported to |
11 |
Linux, from Humble Indie Bundle 11 as that's the only version I |
12 |
have. If you bought it from GOG then please contact me. |
13 |
|
14 |
Package-Manager: Portage-2.3.67, Repoman-2.3.13 |
15 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
16 |
|
17 |
games-action/guacamelee/Manifest | 1 + |
18 |
games-action/guacamelee/guacamelee-20140222.ebuild | 57 ++++++++++++++++++++++ |
19 |
games-action/guacamelee/metadata.xml | 8 +++ |
20 |
3 files changed, 66 insertions(+) |
21 |
|
22 |
diff --git a/games-action/guacamelee/Manifest b/games-action/guacamelee/Manifest |
23 |
new file mode 100644 |
24 |
index 00000000000..66c038e1a97 |
25 |
--- /dev/null |
26 |
+++ b/games-action/guacamelee/Manifest |
27 |
@@ -0,0 +1 @@ |
28 |
+DIST Guacamelee_linux_1393037377.sh 552784497 BLAKE2B 1f36e1a6b65bcf774d0f4e15b37d8eda3ec91691c7e3c556f73e903559c3215f3611fdbec284259fe7690037cf4ab8e338c1caa7faea80c8ce98d02581b0de4b SHA512 e52c4099e15f20df6512c3c9617cbf29f5ea428c117a0520ce57bacf99b7d33ace6a04c811fd9ced63b7ba11a3a79549b93f83fd18e42ca9a1366aeb4114cd87 |
29 |
|
30 |
diff --git a/games-action/guacamelee/guacamelee-20140222.ebuild b/games-action/guacamelee/guacamelee-20140222.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..4774a553e4e |
33 |
--- /dev/null |
34 |
+++ b/games-action/guacamelee/guacamelee-20140222.ebuild |
35 |
@@ -0,0 +1,57 @@ |
36 |
+# Copyright 1999-2019 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+inherit desktop unpacker xdg-utils |
42 |
+ |
43 |
+DESCRIPTION="A Metroidvania-style action-platformer set in a magical Mexican-inspired world" |
44 |
+HOMEPAGE="http://guacamelee.com" |
45 |
+SRC_URI="Guacamelee_linux_1393037377.sh" |
46 |
+LICENSE="all-rights-reserved" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="-* ~amd64 ~x86" |
49 |
+RESTRICT="bindist fetch splitdebug" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ media-libs/libsdl2[abi_x86_32,joystick,opengl,sound,threads,video] |
53 |
+ virtual/opengl[abi_x86_32] |
54 |
+" |
55 |
+ |
56 |
+S="${WORKDIR}/data" |
57 |
+ |
58 |
+DIR="/opt/${PN}" |
59 |
+QA_PREBUILT="${DIR}/*" |
60 |
+ |
61 |
+pkg_nofetch() { |
62 |
+ einfo "This package requires the Guacamelee! Gold Edition file included in" |
63 |
+ einfo "Humble Indie Bundle 11. If you have it then please move" |
64 |
+ einfo "${SRC_URI} to your distfiles directory. If you" |
65 |
+ einfo "missed it then the game is also available to buy from GOG but the" |
66 |
+ einfo "package will need adapting first. Please contact the Gentoo Games team" |
67 |
+ einfo "if you bought it from GOG." |
68 |
+} |
69 |
+ |
70 |
+src_unpack() { |
71 |
+ unpack_zip ${A} |
72 |
+} |
73 |
+ |
74 |
+src_install() { |
75 |
+ exeinto "${DIR}" |
76 |
+ newexe x86/game-bin ${PN} |
77 |
+ dosym "${DIR}"/${PN} /usr/bin/${PN} |
78 |
+ |
79 |
+ insinto "${DIR}" |
80 |
+ doins -r noarch/{*.dat*,media/} |
81 |
+ |
82 |
+ exeinto "${DIR}/lib32" |
83 |
+ doexe x86/lib32/libfmod*.so |
84 |
+ |
85 |
+ dodoc noarch/README.linux |
86 |
+ |
87 |
+ newicon -s 512 noarch/Guacamelee.png ${PN}.png |
88 |
+ make_desktop_entry ${PN} "Guacamelee" |
89 |
+} |
90 |
+ |
91 |
+pkg_postinst() { xdg_icon_cache_update; } |
92 |
+pkg_postrm() { xdg_icon_cache_update; } |
93 |
|
94 |
diff --git a/games-action/guacamelee/metadata.xml b/games-action/guacamelee/metadata.xml |
95 |
new file mode 100644 |
96 |
index 00000000000..26079e608be |
97 |
--- /dev/null |
98 |
+++ b/games-action/guacamelee/metadata.xml |
99 |
@@ -0,0 +1,8 @@ |
100 |
+<?xml version="1.0" encoding="UTF-8"?> |
101 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
102 |
+<pkgmetadata> |
103 |
+ <maintainer type="project"> |
104 |
+ <email>games@g.o</email> |
105 |
+ <name>Gentoo Games Project</name> |
106 |
+ </maintainer> |
107 |
+</pkgmetadata> |