1 |
commit: 9b3a82491c523a12fbb33a0fa9ac195e525b2f0c |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 31 22:53:48 2021 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 31 22:53:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b3a8249 |
7 |
|
8 |
games-rpg/deponia-doomsday: New package |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.1 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
games-rpg/deponia-doomsday/Manifest | 1 + |
14 |
.../deponia-doomsday-1.2.0267.ebuild | 71 ++++++++++++++++++++++ |
15 |
games-rpg/deponia-doomsday/metadata.xml | 11 ++++ |
16 |
3 files changed, 83 insertions(+) |
17 |
|
18 |
diff --git a/games-rpg/deponia-doomsday/Manifest b/games-rpg/deponia-doomsday/Manifest |
19 |
new file mode 100644 |
20 |
index 00000000000..37e363e8a7d |
21 |
--- /dev/null |
22 |
+++ b/games-rpg/deponia-doomsday/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST Deponia4_1.2.0267_DEB_Full_Multi_Daedalic_ESD.tar 3179350835 BLAKE2B caf1995f2a6204b083e7b462ec0ab45e8c84cf2bd626fbc20fbac36e066551a267cad391c07293dff5219c555523a68dc7e7a351c948a2d049af35be6ec5573c SHA512 daf3427ff3dd4568bb84a11fd63b630fa1de61331ceb84f70f7668c56abd2908e0cfdf897d9f1caefdb6d51d1082cfce435eb4378d1eeb9b0a3598edd6350c07 |
25 |
|
26 |
diff --git a/games-rpg/deponia-doomsday/deponia-doomsday-1.2.0267.ebuild b/games-rpg/deponia-doomsday/deponia-doomsday-1.2.0267.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..bbb377287f7 |
29 |
--- /dev/null |
30 |
+++ b/games-rpg/deponia-doomsday/deponia-doomsday-1.2.0267.ebuild |
31 |
@@ -0,0 +1,71 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit desktop wrapper |
38 |
+ |
39 |
+MY_PN="Deponia Doomsday" |
40 |
+DESCRIPTION="The fourth and final instalment of the Deponia point-and-click adventures" |
41 |
+HOMEPAGE="https://www.daedalic.com/deponia" |
42 |
+SRC_URI="Deponia4_${PV}_DEB_Full_Multi_Daedalic_ESD.tar" |
43 |
+LICENSE="all-rights-reserved BSD LGPL-2.1 MIT OFL-1.1" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="-* ~amd64" |
46 |
+IUSE="bonus" |
47 |
+RESTRICT="bindist fetch splitdebug strip" |
48 |
+ |
49 |
+# Bundles libopenal.so but 1.20.0 and later are not compatible because |
50 |
+# the game uses the SelectResampler function, which was inlined. |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ media-libs/libpng-compat:1.2 |
54 |
+ media-libs/libsdl2[opengl,video] |
55 |
+ sys-libs/zlib |
56 |
+ virtual/opengl |
57 |
+" |
58 |
+ |
59 |
+S="${WORKDIR}/${MY_PN}" |
60 |
+ |
61 |
+DIR="/opt/${PN}" |
62 |
+QA_PREBUILT="${DIR}/*" |
63 |
+ |
64 |
+pkg_nofetch() { |
65 |
+ einfo "Please buy and download ${SRC_URI} from:" |
66 |
+ einfo " https://www.humblebundle.com/store/${PN}" |
67 |
+ einfo "and move it to your distfiles directory." |
68 |
+} |
69 |
+ |
70 |
+src_prepare() { |
71 |
+ default |
72 |
+ rm libs64/libz.so.1 || die |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ exeinto "${DIR}" |
77 |
+ doexe Deponia4 |
78 |
+ |
79 |
+ make_wrapper \ |
80 |
+ ${PN} \ |
81 |
+ "env SDL_DYNAMIC_API=\"${EPREFIX}/usr/$(get_libdir)/libSDL2-2.0.so.0\" ./Deponia4" \ |
82 |
+ "${DIR}" \ |
83 |
+ "${DIR}/lib" |
84 |
+ |
85 |
+ insinto "${DIR}" |
86 |
+ doins -r \ |
87 |
+ config.ini \ |
88 |
+ data.vis \ |
89 |
+ version.txt \ |
90 |
+ characters/ \ |
91 |
+ lua/ \ |
92 |
+ scenes/ \ |
93 |
+ videos/ |
94 |
+ |
95 |
+ use bonus && doins -r "bonus content/" |
96 |
+ |
97 |
+ exeinto "${DIR}"/lib |
98 |
+ doexe libs64/* |
99 |
+ |
100 |
+ make_desktop_entry ${PN} "${MY_PN}" applications-games |
101 |
+ dodoc changes.txt documents/licenses/readme.txt |
102 |
+} |
103 |
|
104 |
diff --git a/games-rpg/deponia-doomsday/metadata.xml b/games-rpg/deponia-doomsday/metadata.xml |
105 |
new file mode 100644 |
106 |
index 00000000000..78d4f370ee3 |
107 |
--- /dev/null |
108 |
+++ b/games-rpg/deponia-doomsday/metadata.xml |
109 |
@@ -0,0 +1,11 @@ |
110 |
+<?xml version="1.0" encoding="UTF-8"?> |
111 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
112 |
+<pkgmetadata> |
113 |
+ <maintainer type="project"> |
114 |
+ <email>games@g.o</email> |
115 |
+ <name>Gentoo Games Project</name> |
116 |
+ </maintainer> |
117 |
+ <use> |
118 |
+ <flag name="bonus">Install the bonus content (Art Book, Concept Art, Soundtrack)</flag> |
119 |
+ </use> |
120 |
+</pkgmetadata> |