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