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