1 |
commit: 46a45ff08e849676f4f6c5c61f5baa74a82ae02b |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 6 15:09:20 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 6 15:09:20 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46a45ff0 |
7 |
|
8 |
games-rpg/costume-quest: New package |
9 |
|
10 |
This only supports the GOG version for now. This is probably the GOG |
11 |
version number rather than the upstream one but I can't find an |
12 |
upstream one. |
13 |
|
14 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
15 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
16 |
|
17 |
games-rpg/costume-quest/Manifest | 1 + |
18 |
.../costume-quest/costume-quest-2.0.0.3.ebuild | 55 ++++++++++++++++++++++ |
19 |
games-rpg/costume-quest/metadata.xml | 8 ++++ |
20 |
3 files changed, 64 insertions(+) |
21 |
|
22 |
diff --git a/games-rpg/costume-quest/Manifest b/games-rpg/costume-quest/Manifest |
23 |
new file mode 100644 |
24 |
index 00000000000..5c5e94d9aa4 |
25 |
--- /dev/null |
26 |
+++ b/games-rpg/costume-quest/Manifest |
27 |
@@ -0,0 +1 @@ |
28 |
+DIST gog_costume_quest_2.0.0.3.sh 565855108 BLAKE2B 779d0b0b408921589bb78256cf1b69b912a57143472e3f2d7b6aebf95c07fcd8b86831234519a0c7a30b15c645668d81c0c7502d058465caa337f76ad0311cdf SHA512 9e7ab258b860ec6ee5bef3aab1e745d3dfa02defd6011d195925b50c7a0fd068f4e9e7d483734ad002bcc8353a436a349d9246d947c863b2e3d63e17c41acd71 |
29 |
|
30 |
diff --git a/games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild b/games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..822f7a14687 |
33 |
--- /dev/null |
34 |
+++ b/games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild |
35 |
@@ -0,0 +1,55 @@ |
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 Halloween adventure from Tim Schafer's Double Fine Productions" |
44 |
+HOMEPAGE="https://www.doublefine.com" |
45 |
+SRC_URI="gog_${PN//-/_}_${PV}.sh" |
46 |
+LICENSE="all-rights-reserved" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="-* ~amd64 ~x86" |
49 |
+RESTRICT="bindist fetch splitdebug" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ media-libs/glu[abi_x86_32] |
53 |
+ media-libs/libsdl2[abi_x86_32,joystick,opengl,sound,threads,video] |
54 |
+ sys-libs/zlib[abi_x86_32] |
55 |
+ virtual/opengl[abi_x86_32] |
56 |
+" |
57 |
+ |
58 |
+S="${WORKDIR}/data/noarch/game" |
59 |
+ |
60 |
+DIR="/opt/${PN}" |
61 |
+QA_PREBUILT="${DIR}/*" |
62 |
+ |
63 |
+src_unpack() { |
64 |
+ unpack_zip ${A} |
65 |
+} |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ default |
69 |
+ |
70 |
+ # I think our SDL2 package has a newer database. |
71 |
+ rm -v Data/Config/SDLGamepad.config || die |
72 |
+} |
73 |
+ |
74 |
+src_install() { |
75 |
+ exeinto "${DIR}" |
76 |
+ newexe Cq.bin.x86 Cq.bin |
77 |
+ dosym "${DIR}"/Cq.bin /usr/bin/${PN} |
78 |
+ |
79 |
+ insinto "${DIR}" |
80 |
+ doins -r DFCONFIG Data/ Linux/ OGL/ Win/ |
81 |
+ |
82 |
+ exeinto "${DIR}/lib" |
83 |
+ doexe lib/libfmod*.so |
84 |
+ |
85 |
+ newicon -s 256 CostumeQuest.png ${PN}.png |
86 |
+ make_desktop_entry ${PN} "Costume Quest" |
87 |
+} |
88 |
+ |
89 |
+pkg_postinst() { xdg_icon_cache_update; } |
90 |
+pkg_postrm() { xdg_icon_cache_update; } |
91 |
|
92 |
diff --git a/games-rpg/costume-quest/metadata.xml b/games-rpg/costume-quest/metadata.xml |
93 |
new file mode 100644 |
94 |
index 00000000000..26079e608be |
95 |
--- /dev/null |
96 |
+++ b/games-rpg/costume-quest/metadata.xml |
97 |
@@ -0,0 +1,8 @@ |
98 |
+<?xml version="1.0" encoding="UTF-8"?> |
99 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
100 |
+<pkgmetadata> |
101 |
+ <maintainer type="project"> |
102 |
+ <email>games@g.o</email> |
103 |
+ <name>Gentoo Games Project</name> |
104 |
+ </maintainer> |
105 |
+</pkgmetadata> |