1 |
commit: bb06c4171f88467a4f354eac22b44d4d9bde83fc |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 3 12:23:00 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 3 12:23:00 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb06c417 |
7 |
|
8 |
games-simulation/openttd: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
games-simulation/openttd/Manifest | 2 - |
14 |
games-simulation/openttd/files/openttd.initd | 19 --- |
15 |
games-simulation/openttd/openttd-1.7.1-r1.ebuild | 170 ----------------------- |
16 |
games-simulation/openttd/openttd-1.7.2.ebuild | 170 ----------------------- |
17 |
4 files changed, 361 deletions(-) |
18 |
|
19 |
diff --git a/games-simulation/openttd/Manifest b/games-simulation/openttd/Manifest |
20 |
index bf1c8e1257c..8bae6409e8b 100644 |
21 |
--- a/games-simulation/openttd/Manifest |
22 |
+++ b/games-simulation/openttd/Manifest |
23 |
@@ -1,4 +1,2 @@ |
24 |
-DIST openttd-1.7.1-source.tar.gz 10090311 BLAKE2B 339171cd2895398ee1fedcfd24d1126fbc060b6d4530b267310b3f220448f8e6469a726e71e9882bea117585ea7b9f7271205f576ee2b26de6dec079f57f1620 SHA512 4a0d2ee424374b50fe0d089b86ff16b5de3159848a38143ca6745e349b6126567f1e4beda9afe2e6bc21ffffce1166acf719d3f5c95703a14c1379f8857e83d3 |
25 |
-DIST openttd-1.7.2-source.tar.gz 10097175 BLAKE2B a027b6ca6d3116dc3e6ad6ae43965682107268e367032418200cf1c1e16c5b5dad39c275ea57d923f17564d80cceb0e9909dc5aaf7ee230242f0ce0f46f06b1a SHA512 44d25061c42cb9c81baa67a40ff31a6681dcbb121c61db74c5179a31f189919471a82b7fd3f79c2cdeef02af5b47ec35fdbdc7feed74ca2360c028869fe772e8 |
26 |
DIST openttd-1.8.0-source.tar.xz 6521016 BLAKE2B b3a608fd21d21f861af6eba235c028a59f071ab4698cfdcdd499b6ea7ece853679b064935368d95330414a24ac90aaa3c426afc12a2e135d5b0a48170879b807 SHA512 a2d61b3c94a550c8f3a581127df8c3459b1ddff5ba924942c468cbc70e88e0bf4405cecb68a91243b544ead64f215aa8d489a07b38dce507ae7d59e8ec155d7a |
27 |
DIST openttd-1.9.0-source.tar.xz 6575956 BLAKE2B 31d663b2f8aa67d9e3eb7899795468e8641671bb977957fdc6e55c8dedf3f2a00757de67ed034bf6180cc6091006a1b0bfba8af22d09744eb839a54ca662cbd9 SHA512 fcc044ea93810c99e9b3e80676676272c6f0efb43faa7ef4bfa7184aea793680df22504a1831837cc5ae8481e898d0636b992d1ddb8560cd4848463343adba2d |
28 |
|
29 |
diff --git a/games-simulation/openttd/files/openttd.initd b/games-simulation/openttd/files/openttd.initd |
30 |
deleted file mode 100644 |
31 |
index 7a719587c7d..00000000000 |
32 |
--- a/games-simulation/openttd/files/openttd.initd |
33 |
+++ /dev/null |
34 |
@@ -1,19 +0,0 @@ |
35 |
-#!/sbin/openrc-run |
36 |
-# Copyright 1999-2004 Gentoo Foundation |
37 |
-# Distributed under the terms of the GNU General Public License, v2 or later |
38 |
- |
39 |
-depend() { |
40 |
- need net |
41 |
-} |
42 |
- |
43 |
-start() { |
44 |
- ebegin "Starting OpenTTD dedicated server" |
45 |
- start-stop-daemon --start -q --exec /usr/games/bin/openttd -- -D -f > /dev/null |
46 |
- eend $? |
47 |
-} |
48 |
- |
49 |
-stop() { |
50 |
- ebegin "Stopping OpenTTD dedicated server" |
51 |
- start-stop-daemon --stop -q -n openttd |
52 |
- eend $? |
53 |
-} |
54 |
|
55 |
diff --git a/games-simulation/openttd/openttd-1.7.1-r1.ebuild b/games-simulation/openttd/openttd-1.7.1-r1.ebuild |
56 |
deleted file mode 100644 |
57 |
index f24302009a4..00000000000 |
58 |
--- a/games-simulation/openttd/openttd-1.7.1-r1.ebuild |
59 |
+++ /dev/null |
60 |
@@ -1,170 +0,0 @@ |
61 |
-# Copyright 1999-2017 Gentoo Foundation |
62 |
-# Distributed under the terms of the GNU General Public License v2 |
63 |
- |
64 |
-EAPI=6 |
65 |
-inherit eutils gnome2-utils |
66 |
- |
67 |
-DESCRIPTION="OpenTTD is a clone of Transport Tycoon Deluxe" |
68 |
-HOMEPAGE="http://www.openttd.org/" |
69 |
-SRC_URI="http://binaries.openttd.org/releases/${PV}/${P}-source.tar.gz" |
70 |
- |
71 |
-LICENSE="GPL-2" |
72 |
-SLOT="0" |
73 |
-KEYWORDS="~amd64 ~ppc64 ~x86" |
74 |
-IUSE="aplaymidi debug dedicated iconv icu lzo +openmedia +png cpu_flags_x86_sse +timidity +truetype zlib" |
75 |
-RESTRICT="test" # needs a graphics set in order to test |
76 |
- |
77 |
-RDEPEND="!dedicated? ( |
78 |
- media-libs/libsdl[sound,X,video] |
79 |
- icu? ( |
80 |
- dev-libs/icu-layoutex |
81 |
- dev-libs/icu-le-hb |
82 |
- >=dev-libs/icu-58.1:= |
83 |
- ) |
84 |
- truetype? ( |
85 |
- media-libs/fontconfig |
86 |
- media-libs/freetype:2 |
87 |
- sys-libs/zlib |
88 |
- ) |
89 |
- ) |
90 |
- lzo? ( dev-libs/lzo:2 ) |
91 |
- iconv? ( virtual/libiconv ) |
92 |
- png? ( media-libs/libpng:0 ) |
93 |
- zlib? ( sys-libs/zlib )" |
94 |
-DEPEND="${RDEPEND} |
95 |
- virtual/pkgconfig" |
96 |
-PDEPEND=" |
97 |
- !dedicated? ( |
98 |
- openmedia? ( |
99 |
- games-misc/openmsx |
100 |
- games-misc/opensfx |
101 |
- ) |
102 |
- aplaymidi? ( media-sound/alsa-utils ) |
103 |
- !aplaymidi? ( timidity? ( media-sound/timidity++ ) ) |
104 |
- ) |
105 |
- openmedia? ( >=games-misc/opengfx-0.4.7 )" |
106 |
- |
107 |
-PATCHES=( |
108 |
- "${FILESDIR}"/${PN}-1.6.0-cflags.patch |
109 |
-) |
110 |
- |
111 |
-src_configure() { |
112 |
- local myopts=() |
113 |
- # there is an allegro interface available as well as sdl, but |
114 |
- # the configure for it looks broken so the sdl interface is |
115 |
- # always built instead. |
116 |
- local myopts+=( --without-allegro ) |
117 |
- |
118 |
- # libtimidity not needed except for some embedded platform |
119 |
- # nevertheless, it will be automagically linked if it is |
120 |
- # installed. Hence, we disable it. |
121 |
- myopts+=( --without-libtimidity ) |
122 |
- |
123 |
- use debug && myopts+=( --enable-debug=3 ) |
124 |
- |
125 |
- if use dedicated ; then |
126 |
- myopts+=( --enable-dedicated ) |
127 |
- else |
128 |
- use aplaymidi && myopts+=( --with-midi='/usr/bin/aplaymidi' ) |
129 |
- myopts+=( |
130 |
- $(use_with truetype freetype) |
131 |
- $(use_with icu) |
132 |
- --with-sdl |
133 |
- ) |
134 |
- fi |
135 |
- if use png || { use !dedicated && use truetype; } || use zlib ; then |
136 |
- myopts+=( --with-zlib ) |
137 |
- else |
138 |
- myopts+=( --without-zlib ) |
139 |
- fi |
140 |
- |
141 |
- # configure is a hand-written bash-script, so econf will not work. |
142 |
- # It's all built as C++, upstream uses CFLAGS internally. |
143 |
- CFLAGS="" ./configure \ |
144 |
- --disable-strip \ |
145 |
- --prefix-dir="${EPREFIX%/}/usr" \ |
146 |
- --binary-dir="bin" \ |
147 |
- --install-dir="${D}" \ |
148 |
- --menu-group="Game;Simulation;" \ |
149 |
- ${myopts[@]} \ |
150 |
- $(use_with iconv) \ |
151 |
- $(use_with png) \ |
152 |
- $(use_with cpu_flags_x86_sse sse) \ |
153 |
- $(use_with lzo liblzo2) \ |
154 |
- || die |
155 |
-} |
156 |
- |
157 |
-src_compile() { |
158 |
- emake VERBOSE=1 |
159 |
-} |
160 |
- |
161 |
-src_install() { |
162 |
- default |
163 |
- if use dedicated ; then |
164 |
- newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} |
165 |
- rm -rf "${ED}"/usr/share/{applications,icons,pixmaps} |
166 |
- fi |
167 |
- rm -f "${ED}"/usr/share/doc/${PF}/COPYING |
168 |
-} |
169 |
- |
170 |
-pkg_preinst() { |
171 |
- gnome2_icon_savelist |
172 |
-} |
173 |
- |
174 |
-pkg_postinst() { |
175 |
- gnome2_icon_cache_update |
176 |
- |
177 |
- if ! use lzo ; then |
178 |
- elog "OpenTTD was built without 'lzo' in USE. While 'lzo' is not" |
179 |
- elog "required, disabling it does mean that loading old savegames" |
180 |
- elog "or scenarios from ancient versions (~0.2) will fail." |
181 |
- elog |
182 |
- fi |
183 |
- |
184 |
- if use dedicated ; then |
185 |
- ewarn "Warning: The init script will kill all running openttd" |
186 |
- ewarn "processes when triggered, including any running client sessions!" |
187 |
- else |
188 |
- if use aplaymidi ; then |
189 |
- elog "You have emerged with 'aplaymidi' for playing MIDI." |
190 |
- elog "This option is for those with a hardware midi device," |
191 |
- elog "or who have set up ALSA to handle midi ports." |
192 |
- elog "You must set the environment variable ALSA_OUTPUT_PORTS." |
193 |
- elog "Available ports can be listed by using 'aplaymidi -l'." |
194 |
- else |
195 |
- if ! use timidity ; then |
196 |
- elog "OpenTTD was built with neither 'aplaymidi' nor 'timidity'" |
197 |
- elog "in USE. Music may or may not work in-game. If you happen" |
198 |
- elog "to have timidity++ installed, music will work so long" |
199 |
- elog "as it remains installed, but OpenTTD will not depend on it." |
200 |
- fi |
201 |
- fi |
202 |
- if ! use openmedia ; then |
203 |
- elog |
204 |
- elog "OpenTTD was compiled without the 'openmedia' USE flag." |
205 |
- elog |
206 |
- elog "In order to play, you must at least install:" |
207 |
- elog "games-misc/opengfx, and games-misc/opensfx, or copy the " |
208 |
- elog "following 6 files from a version of Transport Tycoon Deluxe" |
209 |
- elog "(windows or DOS) to ~/.openttd/data/ or" |
210 |
- elog "${GAMES_DATADIR}/${PN}/data/." |
211 |
- elog |
212 |
- elog "From the WINDOWS version you need: " |
213 |
- elog "sample.cat trg1r.grf trgcr.grf trghr.grf trgir.grf trgtr.grf" |
214 |
- elog "OR from the DOS version you need: " |
215 |
- elog "SAMPLE.CAT TRG1.GRF TRGC.GRF TRGH.GRF TRGI.GRF TRGT.GRF" |
216 |
- elog |
217 |
- elog "File names are case sensitive, but should work either with" |
218 |
- elog "all upper or all lower case names" |
219 |
- elog |
220 |
- elog "In addition, in-game music will be unavailable: for music," |
221 |
- elog "install games-misc/openmsx, or use the in-game download" |
222 |
- elog "functionality to get a music set" |
223 |
- elog |
224 |
- fi |
225 |
- fi |
226 |
-} |
227 |
- |
228 |
-pkg_postrm() { |
229 |
- gnome2_icon_cache_update |
230 |
-} |
231 |
|
232 |
diff --git a/games-simulation/openttd/openttd-1.7.2.ebuild b/games-simulation/openttd/openttd-1.7.2.ebuild |
233 |
deleted file mode 100644 |
234 |
index f6e90e926ac..00000000000 |
235 |
--- a/games-simulation/openttd/openttd-1.7.2.ebuild |
236 |
+++ /dev/null |
237 |
@@ -1,170 +0,0 @@ |
238 |
-# Copyright 1999-2018 Gentoo Foundation |
239 |
-# Distributed under the terms of the GNU General Public License v2 |
240 |
- |
241 |
-EAPI=6 |
242 |
-inherit eutils gnome2-utils |
243 |
- |
244 |
-DESCRIPTION="OpenTTD is a clone of Transport Tycoon Deluxe" |
245 |
-HOMEPAGE="http://www.openttd.org/" |
246 |
-SRC_URI="http://binaries.openttd.org/releases/${PV}/${P}-source.tar.gz" |
247 |
- |
248 |
-LICENSE="GPL-2" |
249 |
-SLOT="0" |
250 |
-KEYWORDS="~amd64 ~ppc64 ~x86" |
251 |
-IUSE="aplaymidi debug dedicated iconv icu lzo +openmedia +png cpu_flags_x86_sse +timidity +truetype zlib" |
252 |
-RESTRICT="test" # needs a graphics set in order to test |
253 |
- |
254 |
-RDEPEND="!dedicated? ( |
255 |
- media-libs/libsdl[sound,X,video] |
256 |
- icu? ( |
257 |
- dev-libs/icu-layoutex |
258 |
- dev-libs/icu-le-hb |
259 |
- >=dev-libs/icu-58.1:= |
260 |
- ) |
261 |
- truetype? ( |
262 |
- media-libs/fontconfig |
263 |
- media-libs/freetype:2 |
264 |
- sys-libs/zlib |
265 |
- ) |
266 |
- ) |
267 |
- lzo? ( dev-libs/lzo:2 ) |
268 |
- iconv? ( virtual/libiconv ) |
269 |
- png? ( media-libs/libpng:0 ) |
270 |
- zlib? ( sys-libs/zlib )" |
271 |
-DEPEND="${RDEPEND} |
272 |
- virtual/pkgconfig" |
273 |
-PDEPEND=" |
274 |
- !dedicated? ( |
275 |
- openmedia? ( |
276 |
- games-misc/openmsx |
277 |
- games-misc/opensfx |
278 |
- ) |
279 |
- aplaymidi? ( media-sound/alsa-utils ) |
280 |
- !aplaymidi? ( timidity? ( media-sound/timidity++ ) ) |
281 |
- ) |
282 |
- openmedia? ( >=games-misc/opengfx-0.4.7 )" |
283 |
- |
284 |
-PATCHES=( |
285 |
- "${FILESDIR}"/${PN}-1.6.0-cflags.patch |
286 |
-) |
287 |
- |
288 |
-src_configure() { |
289 |
- local myopts=() |
290 |
- # there is an allegro interface available as well as sdl, but |
291 |
- # the configure for it looks broken so the sdl interface is |
292 |
- # always built instead. |
293 |
- local myopts+=( --without-allegro ) |
294 |
- |
295 |
- # libtimidity not needed except for some embedded platform |
296 |
- # nevertheless, it will be automagically linked if it is |
297 |
- # installed. Hence, we disable it. |
298 |
- myopts+=( --without-libtimidity ) |
299 |
- |
300 |
- use debug && myopts+=( --enable-debug=3 ) |
301 |
- |
302 |
- if use dedicated ; then |
303 |
- myopts+=( --enable-dedicated ) |
304 |
- else |
305 |
- use aplaymidi && myopts+=( --with-midi='/usr/bin/aplaymidi' ) |
306 |
- myopts+=( |
307 |
- $(use_with truetype freetype) |
308 |
- $(use_with icu) |
309 |
- --with-sdl |
310 |
- ) |
311 |
- fi |
312 |
- if use png || { use !dedicated && use truetype; } || use zlib ; then |
313 |
- myopts+=( --with-zlib ) |
314 |
- else |
315 |
- myopts+=( --without-zlib ) |
316 |
- fi |
317 |
- |
318 |
- # configure is a hand-written bash-script, so econf will not work. |
319 |
- # It's all built as C++, upstream uses CFLAGS internally. |
320 |
- CFLAGS="" ./configure \ |
321 |
- --disable-strip \ |
322 |
- --prefix-dir="${EPREFIX%/}/usr" \ |
323 |
- --binary-dir="bin" \ |
324 |
- --install-dir="${D}" \ |
325 |
- --menu-group="Game;Simulation;" \ |
326 |
- ${myopts[@]} \ |
327 |
- $(use_with iconv) \ |
328 |
- $(use_with png) \ |
329 |
- $(use_with cpu_flags_x86_sse sse) \ |
330 |
- $(use_with lzo liblzo2) \ |
331 |
- || die |
332 |
-} |
333 |
- |
334 |
-src_compile() { |
335 |
- emake VERBOSE=1 |
336 |
-} |
337 |
- |
338 |
-src_install() { |
339 |
- default |
340 |
- if use dedicated ; then |
341 |
- newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN} |
342 |
- rm -rf "${ED}"/usr/share/{applications,icons,pixmaps} |
343 |
- fi |
344 |
- rm -f "${ED}"/usr/share/doc/${PF}/COPYING |
345 |
-} |
346 |
- |
347 |
-pkg_preinst() { |
348 |
- gnome2_icon_savelist |
349 |
-} |
350 |
- |
351 |
-pkg_postinst() { |
352 |
- gnome2_icon_cache_update |
353 |
- |
354 |
- if ! use lzo ; then |
355 |
- elog "OpenTTD was built without 'lzo' in USE. While 'lzo' is not" |
356 |
- elog "required, disabling it does mean that loading old savegames" |
357 |
- elog "or scenarios from ancient versions (~0.2) will fail." |
358 |
- elog |
359 |
- fi |
360 |
- |
361 |
- if use dedicated ; then |
362 |
- ewarn "Warning: The init script will kill all running openttd" |
363 |
- ewarn "processes when triggered, including any running client sessions!" |
364 |
- else |
365 |
- if use aplaymidi ; then |
366 |
- elog "You have emerged with 'aplaymidi' for playing MIDI." |
367 |
- elog "This option is for those with a hardware midi device," |
368 |
- elog "or who have set up ALSA to handle midi ports." |
369 |
- elog "You must set the environment variable ALSA_OUTPUT_PORTS." |
370 |
- elog "Available ports can be listed by using 'aplaymidi -l'." |
371 |
- else |
372 |
- if ! use timidity ; then |
373 |
- elog "OpenTTD was built with neither 'aplaymidi' nor 'timidity'" |
374 |
- elog "in USE. Music may or may not work in-game. If you happen" |
375 |
- elog "to have timidity++ installed, music will work so long" |
376 |
- elog "as it remains installed, but OpenTTD will not depend on it." |
377 |
- fi |
378 |
- fi |
379 |
- if ! use openmedia ; then |
380 |
- elog |
381 |
- elog "OpenTTD was compiled without the 'openmedia' USE flag." |
382 |
- elog |
383 |
- elog "In order to play, you must at least install:" |
384 |
- elog "games-misc/opengfx, and games-misc/opensfx, or copy the " |
385 |
- elog "following 6 files from a version of Transport Tycoon Deluxe" |
386 |
- elog "(windows or DOS) to ~/.openttd/data/ or" |
387 |
- elog "${GAMES_DATADIR}/${PN}/data/." |
388 |
- elog |
389 |
- elog "From the WINDOWS version you need: " |
390 |
- elog "sample.cat trg1r.grf trgcr.grf trghr.grf trgir.grf trgtr.grf" |
391 |
- elog "OR from the DOS version you need: " |
392 |
- elog "SAMPLE.CAT TRG1.GRF TRGC.GRF TRGH.GRF TRGI.GRF TRGT.GRF" |
393 |
- elog |
394 |
- elog "File names are case sensitive, but should work either with" |
395 |
- elog "all upper or all lower case names" |
396 |
- elog |
397 |
- elog "In addition, in-game music will be unavailable: for music," |
398 |
- elog "install games-misc/openmsx, or use the in-game download" |
399 |
- elog "functionality to get a music set" |
400 |
- elog |
401 |
- fi |
402 |
- fi |
403 |
-} |
404 |
- |
405 |
-pkg_postrm() { |
406 |
- gnome2_icon_cache_update |
407 |
-} |