1 |
commit: 1d242eec2c4e76179630c6519a04e5cc81ae1225 |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Mon Jan 3 03:59:28 2022 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 24 11:28:29 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d242eec |
7 |
|
8 |
games-simulation/simutrans-paksets: New package |
9 |
|
10 |
Split from games-simulation/simutrans. |
11 |
|
12 |
The licenses for comic192, excentrique48 and nippon64 can be found in |
13 |
the git repos linked in SRC_URI. The licenses for cs128 and german128 |
14 |
can be found at |
15 |
<https://sourceforge.net/p/simutrans/code/HEAD/tree/>. The license for |
16 |
128 can be found at <https://github.com/simutrans/pak128/>. |
17 |
|
18 |
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> |
19 |
Closes: https://github.com/gentoo/gentoo/pull/23669 |
20 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
21 |
|
22 |
games-simulation/simutrans-paksets/Manifest | 6 +++ |
23 |
games-simulation/simutrans-paksets/metadata.xml | 27 +++++++++++ |
24 |
.../simutrans-paksets-123.0.1.ebuild | 55 ++++++++++++++++++++++ |
25 |
licenses/PAK128.German | 10 ++++ |
26 |
4 files changed, 98 insertions(+) |
27 |
|
28 |
diff --git a/games-simulation/simutrans-paksets/Manifest b/games-simulation/simutrans-paksets/Manifest |
29 |
new file mode 100644 |
30 |
index 000000000000..1af0a8608765 |
31 |
--- /dev/null |
32 |
+++ b/games-simulation/simutrans-paksets/Manifest |
33 |
@@ -0,0 +1,6 @@ |
34 |
+DIST simutrans_PAK128.german_2.1_for_ST_123.0.zip 249111808 BLAKE2B 40d8c70d57d6a508ff046791077be49f91429e44c43d25127f179e0f86ca2e94e0f6dfe8442e0c1e73ef79dd14895737239a9cc7555b69d911ba533ab5312d0b SHA512 17295ba03a91ec93f89d0a2856709cf26fa3525557d22cb48bd51b0baf86b0f7ce1a249cd5b360ff6c35f9028b49dd0f951884ca0042eda6d531bb1fe841518e |
35 |
+DIST simutrans_pak.nippon-v0.5.0.zip 16576816 BLAKE2B 67f81e738006561ccbcc7d362d78c4985dd6d6be3f8b2a5817ea49077406b0d6ae2595b9ec18816661ef94e9a0745884b03f4232567fbeaad9529f77f847dc72 SHA512 a7f30277a69b21202cef10d8379c81694aa664cf4644c38d89c6ccac82659fc2f746a9fc3536b5795c2818957cfd801990df7bbfe0eb9624c2f8a8fcb8854f48 |
36 |
+DIST simutrans_pak128.CS-r2096.zip 18908413 BLAKE2B 1eeb78efb83f882fe977de7290883968db7488ecbe16076b7795e6d69899456c41f83b9c04df3193a2b799fef9d444aa487c9ca5886a1c859b79001abcbbf5ab SHA512 15d2d85fa628b553bb2e367fb109b37b81914414f0a7c82e4816b88262d34dc621eeb2a31a593cb25014bd76207776d48afd61a5a5f47204b37d287bc68e05f0 |
37 |
+DIST simutrans_pak192.comic.0.6.RC2.zip 125425374 BLAKE2B 3132c04788312f429ea8277e7f83796fa16b97f8c28cb92826824752d3ab66d7afeca2987380882e2c6f3368b52334af50f772673154fb0615ff334506483f14 SHA512 5c052cd8b3fc447db7c1618b00462c0750c94d659e2050710ba2b2fa440099639100fff968ff80b2ca2868237fbbec560cc5fb14ee32f296ce434b05832ce336 |
38 |
+DIST simutrans_pak48.excentrique_v019rc3.zip 550330 BLAKE2B 954dcfac50246e3679d7266762baf30cae51f20813c10c0fbf493fe1c9636d07cb8329d963cbb9c61adfffdf6df8b44bb64116d728c3811c79601db441bf07e9 SHA512 8c2e7609984b82bed2006fb50adc7fa7e56e9006d4a4968f9da41f0cbe7437b83c9e9937b08489ac565b42868a951e25c19f6f2b5abfaafb50134dd2dfdf5b50 |
39 |
+DIST simutrans_simupak128-2.8.2-for123.zip 96971372 BLAKE2B 74385cb5b7765fb7306bd036fc0ab6d57e792b694894f39043bb1b9c0412d6fb56d8048bb3fdd60a3a52dd7498e9dd22edf4875116ed7def080383344b376225 SHA512 f2aca6c787ba218cae4677ed35764b17230cefafa358d4c238856c2ec91b75d13a557dd8369d536c0c76b00c6a029f71ebb778d5210a21a44a2c57da15ab0bc2 |
40 |
|
41 |
diff --git a/games-simulation/simutrans-paksets/metadata.xml b/games-simulation/simutrans-paksets/metadata.xml |
42 |
new file mode 100644 |
43 |
index 000000000000..56d5fb39c126 |
44 |
--- /dev/null |
45 |
+++ b/games-simulation/simutrans-paksets/metadata.xml |
46 |
@@ -0,0 +1,27 @@ |
47 |
+<?xml version="1.0" encoding="UTF-8"?> |
48 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
49 |
+<pkgmetadata> |
50 |
+ <maintainer type="person" proxied="yes"> |
51 |
+ <email>gentoo@××××××××.de</email> |
52 |
+ <name>Ronny (tastytea) Gutbrod</name> |
53 |
+ </maintainer> |
54 |
+ <maintainer type="project" proxied="proxy"> |
55 |
+ <email>proxy-maint@g.o</email> |
56 |
+ <name>Proxy Maintainers</name> |
57 |
+ </maintainer> |
58 |
+ <upstream> |
59 |
+ <remote-id type="sourceforge">simutrans</remote-id> |
60 |
+ <remote-id type="github">simutrans/pak128</remote-id> |
61 |
+ <remote-id type="github">Varkalandar/pak48.Excentrique</remote-id> |
62 |
+ <remote-id type="github">Flemmbrav/Pak192.Comic</remote-id> |
63 |
+ <remote-id type="github">wa-st/pak-nippon</remote-id> |
64 |
+ </upstream> |
65 |
+ <use> |
66 |
+ <flag name="128">Install higher resolution scenario data (128 px graphics)</flag> |
67 |
+ <flag name="comic192">Install comic-like scenario data (192 px graphics)</flag> |
68 |
+ <flag name="cs128">Install Czech-Slovak scenario data (128 px graphics)</flag> |
69 |
+ <flag name="excentrique48">Install eccentric scenario data (48 px graphics)</flag> |
70 |
+ <flag name="german128">Install German scenario data (128 px graphics)</flag> |
71 |
+ <flag name="nippon64">Install Nippon scenario data (64 px graphics)</flag> |
72 |
+ </use> |
73 |
+</pkgmetadata> |
74 |
|
75 |
diff --git a/games-simulation/simutrans-paksets/simutrans-paksets-123.0.1.ebuild b/games-simulation/simutrans-paksets/simutrans-paksets-123.0.1.ebuild |
76 |
new file mode 100644 |
77 |
index 000000000000..f5ab644af47a |
78 |
--- /dev/null |
79 |
+++ b/games-simulation/simutrans-paksets/simutrans-paksets-123.0.1.ebuild |
80 |
@@ -0,0 +1,55 @@ |
81 |
+# Copyright 2022 Gentoo Authors |
82 |
+# Distributed under the terms of the GNU General Public License v2 |
83 |
+ |
84 |
+EAPI=8 |
85 |
+ |
86 |
+MY_PAK_CS_128="pak128.CS-r2096.zip" |
87 |
+MY_PAK_GERMAN_128="PAK128.german_2.1_for_ST_123.0.zip" |
88 |
+MY_PAK_128="simupak128-2.8.2-for123.zip" |
89 |
+ |
90 |
+DESCRIPTION="PakSets (scenario data) for games-simulation/simutrans" |
91 |
+HOMEPAGE="https://www.simutrans.com/paksets/" |
92 |
+SRC_URI=" |
93 |
+ 128? ( mirror://sourceforge/simutrans/${MY_PAK_128} -> simutrans_${MY_PAK_128} ) |
94 |
+ comic192? ( https://github.com/Flemmbrav/Pak192.Comic/releases/download/2021-V0.6-RC2/pak192.comic.0.6.RC2.zip -> simutrans_pak192.comic.0.6.RC2.zip ) |
95 |
+ cs128? ( mirror://sourceforge/simutrans/${MY_PAK_CS_128} -> simutrans_${MY_PAK_CS_128} ) |
96 |
+ german128? ( mirror://sourceforge/simutrans/${MY_PAK_GERMAN_128} -> simutrans_${MY_PAK_GERMAN_128} ) |
97 |
+ nippon64? ( https://github.com/wa-st/pak-nippon/releases/download/v0.5.0/pak.nippon-v0.5.0.zip -> simutrans_pak.nippon-v0.5.0.zip ) |
98 |
+ excentrique48? ( https://github.com/Varkalandar/pak48.Excentrique/releases/download/v0.19_RC3/pak48.excentrique_v019rc3.zip -> simutrans_pak48.excentrique_v019rc3.zip ) |
99 |
+" |
100 |
+S="${WORKDIR}" |
101 |
+ |
102 |
+LICENSE=" |
103 |
+ 128? ( Artistic-2 ) |
104 |
+ comic192? ( CC-BY-SA-3.0 ) |
105 |
+ cs128? ( Artistic-2 ) |
106 |
+ excentrique48? ( CC-BY-SA-4.0 ) |
107 |
+ german128? ( PAK128.German ) |
108 |
+ nippon64? ( MIT ) |
109 |
+" |
110 |
+SLOT="0" |
111 |
+KEYWORDS="~amd64 ~x86" |
112 |
+IUSE="128 comic192 cs128 excentrique48 german128 nippon64" |
113 |
+REQUIRED_USE="|| ( 128 comic192 cs128 excentrique48 german128 nippon64 )" |
114 |
+ |
115 |
+RDEPEND="!<games-simulation/simutrans-123.0" |
116 |
+BDEPEND="app-arch/unzip" |
117 |
+ |
118 |
+src_prepare() { |
119 |
+ default |
120 |
+ |
121 |
+ # Only 128 and german128 have a simutrans/ folder. |
122 |
+ if [[ -d simutrans ]]; then |
123 |
+ mv simutrans/* . || die |
124 |
+ rmdir simutrans || die |
125 |
+ fi |
126 |
+ |
127 |
+ if use comic192; then |
128 |
+ mv pak192.comic-nightly-datconverter pak192.comic || die |
129 |
+ fi |
130 |
+} |
131 |
+ |
132 |
+src_install() { |
133 |
+ insinto usr/share/simutrans |
134 |
+ doins -r * |
135 |
+} |
136 |
|
137 |
diff --git a/licenses/PAK128.German b/licenses/PAK128.German |
138 |
new file mode 100644 |
139 |
index 000000000000..94883cfc928f |
140 |
--- /dev/null |
141 |
+++ b/licenses/PAK128.German |
142 |
@@ -0,0 +1,10 @@ |
143 |
+This packet and its content are Freeware and partially Open Source. |
144 |
+The complete Set PAK128.German can be distributed unlimited as a whole. |
145 |
+ |
146 |
+The authors have given a unlimited right of use of their works to PAK128.German. The maintainer of the PAK128.German may enforce the rights of the authors mentioned for these works. With a change of the maintainer, this right goes automatically to his successor. |
147 |
+The current maintainer of PAK128.German is Makie. He is successor of Michelstadt. |
148 |
+ |
149 |
+The works of the authors may be freely used, changed and released again within Simutrans. And can be freely distributed for Simutrans. |
150 |
+The authors wish that their name is preserved as an author, or being mentioned. |
151 |
+ |
152 |
+Any other use, requires permission from the author, or from the maintainer of the Pakset as a representative of the authors. |