1 |
commit: 60e5b0d37301e4b61013b2fbad9d8aa4ae0ef4b2 |
2 |
Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Nov 10 16:35:11 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 13 18:45:00 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60e5b0d3 |
7 |
|
8 |
games-misc/katawa-shoujo: Update to EAPI 7 |
9 |
|
10 |
The system-renpy USE flag is removed since system dependencies should |
11 |
be used rather than those bundled in the package. |
12 |
|
13 |
Package-Manager: Portage-2.3.78, Repoman-2.3.17 |
14 |
Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com> |
15 |
Closes: https://github.com/gentoo/gentoo/pull/13601 |
16 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
17 |
|
18 |
games-misc/katawa-shoujo/Manifest | 2 - |
19 |
.../katawa-shoujo/katawa-shoujo-1.3.1-r1.ebuild | 84 ---------------------- |
20 |
.../katawa-shoujo/katawa-shoujo-1.3.1-r2.ebuild | 33 +++++++++ |
21 |
games-misc/katawa-shoujo/metadata.xml | 3 - |
22 |
4 files changed, 33 insertions(+), 89 deletions(-) |
23 |
|
24 |
diff --git a/games-misc/katawa-shoujo/Manifest b/games-misc/katawa-shoujo/Manifest |
25 |
index bca40183149..8e49bf1e084 100644 |
26 |
--- a/games-misc/katawa-shoujo/Manifest |
27 |
+++ b/games-misc/katawa-shoujo/Manifest |
28 |
@@ -1,3 +1 @@ |
29 |
DIST katawa-shoujo-1.3.1.tar.bz2 496188604 BLAKE2B a27fbc84ac0594790ad5b77e6c7e49c19c2b4716b1e5e516171b593211f1d5f2ca1bddc3e0ebb92420b7529b4b2fdff7b0732bb61b5aa2acdaf45e33dd713497 SHA512 d5f1b49c60b70b272dd5d62c1d49cb9e3c17e3f77339fc593db2122f1c140005bc23ecb7ad9b0d93c0701c77f9bcfcd5c1c67db1cbe3034a3be42a4309387809 |
30 |
-DIST katawa-shoujo-256.png 59803 BLAKE2B 2acf08b55ae3e776ac260b552fd6a04b17a3246534702fbf39bdfcd49348778c1703d0ad135bca7933a82de3d983b9c19c255ed72006b7ca2c73acc157f6e9cb SHA512 7d920c24f4182ba72d5b3d641d7d373c166ca4c7d0b6a396f5e3b9281cb43f7e6e8e761f2f181ff061705118b3080807866fcd290d2b471e98c3a584d5fa8e0e |
31 |
-DIST katawa-shoujo-48.png 3621 BLAKE2B 1f9ad61bcbd90218d6b11269e7c93a5b2816eee0640f191027e656978dc968a673a3ff02deee0d960a188c2893dde95a45134a847c58c627e1fd7ff2e5b28da1 SHA512 ad24156cf446ffe92068baaa6d512e6bab90587db5ce01b3c18e6c42bb9b8c91f7eae3e9547099d3f8f0a5d3f144676c3499c0a38d9af845abf79e153b543bef |
32 |
|
33 |
diff --git a/games-misc/katawa-shoujo/katawa-shoujo-1.3.1-r1.ebuild b/games-misc/katawa-shoujo/katawa-shoujo-1.3.1-r1.ebuild |
34 |
deleted file mode 100644 |
35 |
index aa8f03ef61c..00000000000 |
36 |
--- a/games-misc/katawa-shoujo/katawa-shoujo-1.3.1-r1.ebuild |
37 |
+++ /dev/null |
38 |
@@ -1,84 +0,0 @@ |
39 |
-# Copyright 1999-2018 Gentoo Foundation |
40 |
-# Distributed under the terms of the GNU General Public License v2 |
41 |
- |
42 |
-EAPI=6 |
43 |
-inherit eutils gnome2-utils |
44 |
- |
45 |
-DESCRIPTION="Bishoujo-style visual novel by Four Leaf Studios" |
46 |
-HOMEPAGE="https://www.katawa-shoujo.com" |
47 |
-SRC_URI="https://dl.katawa-shoujo.com/gold_1.3.1/%5B4ls%5D_katawa_shoujo_1.3.1-%5Blinux-x86%5D%5B18161880%5D.tar.bz2 -> ${P}.tar.bz2 |
48 |
- https://dev.gentoo.org/~hasufell/distfiles/katawa-shoujo-48.png |
49 |
- https://dev.gentoo.org/~hasufell/distfiles/katawa-shoujo-256.png" |
50 |
- |
51 |
-# bundled renpy includes licenses of all libraries |
52 |
-LICENSE=" |
53 |
- CC-BY-NC-ND-3.0 |
54 |
- !system-renpy? ( MIT PSF-2 LGPL-2.1 || ( FTL GPL-2+ ) IJG libpng ZLIB BZIP2 ) |
55 |
-" |
56 |
- |
57 |
-SLOT="0" |
58 |
-KEYWORDS="~amd64 ~x86" |
59 |
- |
60 |
-IUSE="doc +system-renpy" |
61 |
-REQUIRED_USE="!system-renpy? ( || ( amd64 x86 ) )" |
62 |
- |
63 |
-RDEPEND="system-renpy? ( games-engines/renpy:6.99 )" |
64 |
-DEPEND="" |
65 |
- |
66 |
-# Binaries are built extremely weirdly, resulting in errors like: |
67 |
-# BFD: Not enough room for program headers, try linking with -N |
68 |
-# |
69 |
-# Technically, we could make this unconditional because there are no other |
70 |
-# binaries, but it's still good practice. |
71 |
-RESTRICT="!system-renpy? ( strip )" |
72 |
- |
73 |
-QA_PREBUILT="/opt/${PN}/lib/*" |
74 |
- |
75 |
-S="${WORKDIR}/Katawa Shoujo-${PV}-linux" |
76 |
- |
77 |
-src_install() { |
78 |
- if use system-renpy; then |
79 |
- insinto "/usr/share/${PN}" |
80 |
- doins -r game/. |
81 |
- make_wrapper ${PN} "renpy '/usr/share/${PN}'" |
82 |
- else |
83 |
- insinto "/opt/${PN}" |
84 |
- doins -r game localizations renpy "Katawa Shoujo."{py,sh} |
85 |
- |
86 |
- local host="${CTARGET:-${CHOST}}" |
87 |
- local arch="${host%%-*}" |
88 |
- |
89 |
- cd lib |
90 |
- insinto "/opt/${PN}/lib" |
91 |
- doins -r linux-${arch} pythonlib2.7 |
92 |
- cd .. |
93 |
- |
94 |
- fperms +x "/opt/${PN}/lib/linux-${arch}/"{python,"Katawa Shoujo"} \ |
95 |
- "/opt/${PN}/Katawa Shoujo."{py,sh} |
96 |
- |
97 |
- make_wrapper ${PN} "./Katawa\ Shoujo.sh" "/opt/${PN}" |
98 |
- fi |
99 |
- |
100 |
- local i |
101 |
- for i in 48 256; do |
102 |
- newicon -s ${i} "${DISTDIR}"/${PN}-${i}.png ${PN}.png |
103 |
- done |
104 |
- |
105 |
- make_desktop_entry ${PN} "Katawa Shoujo" |
106 |
- |
107 |
- if use doc; then |
108 |
- dodoc "Game Manual.pdf" |
109 |
- fi |
110 |
-} |
111 |
- |
112 |
-pkg_preinst() { |
113 |
- gnome2_icon_savelist |
114 |
-} |
115 |
- |
116 |
-pkg_postinst() { |
117 |
- gnome2_icon_cache_update |
118 |
-} |
119 |
- |
120 |
-pkg_postrm() { |
121 |
- gnome2_icon_cache_update |
122 |
-} |
123 |
|
124 |
diff --git a/games-misc/katawa-shoujo/katawa-shoujo-1.3.1-r2.ebuild b/games-misc/katawa-shoujo/katawa-shoujo-1.3.1-r2.ebuild |
125 |
new file mode 100644 |
126 |
index 00000000000..2ab5b560711 |
127 |
--- /dev/null |
128 |
+++ b/games-misc/katawa-shoujo/katawa-shoujo-1.3.1-r2.ebuild |
129 |
@@ -0,0 +1,33 @@ |
130 |
+# Copyright 1999-2019 Gentoo Authors |
131 |
+# Distributed under the terms of the GNU General Public License v2 |
132 |
+ |
133 |
+EAPI=7 |
134 |
+ |
135 |
+inherit eutils desktop |
136 |
+ |
137 |
+RENPY_SLOT="6.99" |
138 |
+ |
139 |
+DESCRIPTION="Bishoujo-style visual novel by Four Leaf Studios" |
140 |
+HOMEPAGE="https://www.katawa-shoujo.com" |
141 |
+SRC_URI="https://dl.katawa-shoujo.com/gold_${PV}/%5B4ls%5D_katawa_shoujo_${PV}-%5Blinux-x86%5D%5B18161880%5D.tar.bz2 -> ${P}.tar.bz2" |
142 |
+ |
143 |
+LICENSE="CC-BY-NC-ND-3.0" |
144 |
+SLOT="0" |
145 |
+KEYWORDS="~amd64 ~x86" |
146 |
+IUSE="doc" |
147 |
+ |
148 |
+RDEPEND="games-engines/renpy:${RENPY_SLOT}" |
149 |
+ |
150 |
+S="${WORKDIR}/Katawa Shoujo-${PV}-linux" |
151 |
+ |
152 |
+src_install() { |
153 |
+ insinto "/usr/share/${PN}" |
154 |
+ doins -r game/. |
155 |
+ make_wrapper ${PN} "renpy-${RENPY_SLOT} '${EPREFIX}/usr/share/${PN}'" |
156 |
+ |
157 |
+ make_desktop_entry ${PN} "Katawa Shoujo" applications-games |
158 |
+ |
159 |
+ if use doc; then |
160 |
+ dodoc "Game Manual.pdf" |
161 |
+ fi |
162 |
+} |
163 |
|
164 |
diff --git a/games-misc/katawa-shoujo/metadata.xml b/games-misc/katawa-shoujo/metadata.xml |
165 |
index 7dd34911642..e1f782e395f 100644 |
166 |
--- a/games-misc/katawa-shoujo/metadata.xml |
167 |
+++ b/games-misc/katawa-shoujo/metadata.xml |
168 |
@@ -5,9 +5,6 @@ |
169 |
<email>games@g.o</email> |
170 |
<name>Gentoo Games Project</name> |
171 |
</maintainer> |
172 |
- <use> |
173 |
- <flag name="system-renpy">Use <pkg>games-engines/renpy</pkg> instead of the bundled one (experimental)</flag> |
174 |
- </use> |
175 |
<longdescription> |
176 |
Katawa Shoujo is a bishoujo-style visual novel set in the fictional |
177 |
Yamaku High School for disabled children, located somewhere in modern |