Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/vice/, app-emulation/vice/files/
Date: Wed, 28 Mar 2018 18:37:24
Message-Id: 1522262101.2d4843bd31a8d55d4594e8d167226d35c4c34cfd.pacho@gentoo
1 commit: 2d4843bd31a8d55d4594e8d167226d35c4c34cfd
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 28 18:35:01 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 28 18:35:01 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d4843bd
7
8 app-emulation/vice: Drop old
9
10 Package-Manager: Portage-2.3.26, Repoman-2.3.7
11
12 app-emulation/vice/Manifest | 3 -
13 .../vice/files/vice-2.4.22-autotools.patch | 11 --
14 .../vice/files/vice-2.4.27-autotools.patch | 11 --
15 .../vice/files/vice-31580-ffmpeg-build.patch | 64 --------
16 app-emulation/vice/vice-2.4.22.ebuild | 169 -------------------
17 app-emulation/vice/vice-2.4.27-r2.ebuild | 179 ---------------------
18 app-emulation/vice/vice-2.4.27-r3.ebuild | 178 --------------------
19 app-emulation/vice/vice-2.4.27.ebuild | 169 -------------------
20 app-emulation/vice/vice-2.4.31.ebuild | 173 --------------------
21 9 files changed, 957 deletions(-)
22
23 diff --git a/app-emulation/vice/Manifest b/app-emulation/vice/Manifest
24 index ff495dc9e4d..cf78f5afb3d 100644
25 --- a/app-emulation/vice/Manifest
26 +++ b/app-emulation/vice/Manifest
27 @@ -1,4 +1 @@
28 -DIST vice-2.4.22.tar.gz 25180343 BLAKE2B 9c48539b0ec1604a196211819c43c7cdba970cee404b64fbaa1957bb8167ae9f7f108ba0f54ef0ef82314331694dfc5f6bca0d569ee940d6531ed49cd7bb2ffa SHA512 b43e609ae2f43717d10e079d3b8ac284e5c4920ed222c7502e9a7b75dfe32784628031ae6cf8672c8d9d50576fb714cecdd1a9292bf53477f4bbd52c10403975
29 -DIST vice-2.4.27.tar.gz 25561665 BLAKE2B 36e8460ef1e4aed9f83caf2b46924766d6830368c947ddfee68ecf992685f950db9e433238b61c34691dadb719ede4e9c5cc7104279e06140e347b04eb8a97a3 SHA512 589b9892f3180db6f169e74b863171f08567045862f2f47cac73ef946e81d55dcde5373fc910cfd1659238669f12ee6ad934c7143c87fad736cda77479439bec
30 -DIST vice-2.4.31.tar.gz 25898329 BLAKE2B 113be451d322f21488f23711ce971ff7a83538d3dfd516138fec84f27e4933025bbba8cbbc627111aadad437ab7805491286760b4fe9db915307922d00dba27f SHA512 eebd25fb808b1837ea8d76b1399d3d7ed80a66ae206ea3e0d51fe0fb9df21f3bfeb3fbe353c1022e02754987116e33d4c6888e61448b3250ebefbbfe1b854e94
31 DIST vice-3.1.tar.gz 30714226 BLAKE2B 75c2cce5294dad5b954cd23b623b6b4610c8142a09aef05dbefed6b3e6b268077d375e644dde6a057682d41ab9cf15e93a9f4a9359bfa0d1567d6d1862053a0e SHA512 bc02a3597a17dadb37c487e6942192c0e9dc1a7d4e440fbf0dc8a165dbb2dee60ddf157697a020d2780ddef56a0a67802768d5c6d117b9cf5cdc124de45bc579
32
33 diff --git a/app-emulation/vice/files/vice-2.4.22-autotools.patch b/app-emulation/vice/files/vice-2.4.22-autotools.patch
34 deleted file mode 100644
35 index 7bebd2800ef..00000000000
36 --- a/app-emulation/vice/files/vice-2.4.22-autotools.patch
37 +++ /dev/null
38 @@ -1,11 +0,0 @@
39 ---- vice-2.4.7.orig/configure.ac
40 -+++ vice-2.4.7/configure.ac
41 -@@ -124,7 +118,7 @@
42 - AC_SUBST(VICE_VERSION)
43 -
44 - AM_INIT_AUTOMAKE(vice, $VICE_VERSION)
45 --AM_CONFIG_HEADER(src/config.h)
46 -+AC_CONFIG_HEADERS(src/config.h)
47 -
48 - if test x"$VICE_VERSION_BUILD" = "x" -o x"$VICE_VERSION_BUILD" = "x0" ; then
49 - VERSION_RC=$VICE_VERSION_MAJOR","$VICE_VERSION_MINOR",0,0"
50
51 diff --git a/app-emulation/vice/files/vice-2.4.27-autotools.patch b/app-emulation/vice/files/vice-2.4.27-autotools.patch
52 deleted file mode 100644
53 index 7bebd2800ef..00000000000
54 --- a/app-emulation/vice/files/vice-2.4.27-autotools.patch
55 +++ /dev/null
56 @@ -1,11 +0,0 @@
57 ---- vice-2.4.7.orig/configure.ac
58 -+++ vice-2.4.7/configure.ac
59 -@@ -124,7 +118,7 @@
60 - AC_SUBST(VICE_VERSION)
61 -
62 - AM_INIT_AUTOMAKE(vice, $VICE_VERSION)
63 --AM_CONFIG_HEADER(src/config.h)
64 -+AC_CONFIG_HEADERS(src/config.h)
65 -
66 - if test x"$VICE_VERSION_BUILD" = "x" -o x"$VICE_VERSION_BUILD" = "x0" ; then
67 - VERSION_RC=$VICE_VERSION_MAJOR","$VICE_VERSION_MINOR",0,0"
68
69 diff --git a/app-emulation/vice/files/vice-31580-ffmpeg-build.patch b/app-emulation/vice/files/vice-31580-ffmpeg-build.patch
70 deleted file mode 100644
71 index 82dc3421218..00000000000
72 --- a/app-emulation/vice/files/vice-31580-ffmpeg-build.patch
73 +++ /dev/null
74 @@ -1,64 +0,0 @@
75 -# Patch to fix compiling with ffmpeg-3.
76 -# Backported from: https://sourceforge.net/p/vice-emu/code/31580/
77 -
78 ---- /src/gfxoutputdrv/ffmpeglib.h
79 -+++ /src/gfxoutputdrv/ffmpeglib.h
80 -@@ -76,6 +76,14 @@
81 - #define AVCodecID CodecID
82 - #endif
83 -
84 -+#if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(55,17,103)
85 -+#define VICE_AV_PIX_FMT_RGB24 PIX_FMT_RGB24
86 -+#define VICE_AV_PixelFormat PixelFormat
87 -+#else
88 -+#define VICE_AV_PIX_FMT_RGB24 AV_PIX_FMT_RGB24
89 -+#define VICE_AV_PixelFormat AVPixelFormat
90 -+#endif
91 -+
92 - /* avcodec fucntions */
93 - typedef void(*av_init_packet_t)(AVPacket *pkt);
94 - typedef int(*avcodec_open2_t)(AVCodecContext*, AVCodec*, AVDictionary **);
95 -@@ -118,7 +126,7 @@
96 -
97 - /* swscale functions */
98 - typedef struct SwsContext * (*sws_getContext_t)(int srcW, int srcH,
99 -- enum PixelFormat srcFormat, int dstW, int dstH, enum PixelFormat dstFormat,
100 -+ enum VICE_AV_PixelFormat srcFormat, int dstW, int dstH, enum VICE_AV_PixelFormat dstFormat,
101 - int flags, SwsFilter *srcFilter, SwsFilter *dstFilter, double *param);
102 - typedef void (*sws_freeContext_t)(struct SwsContext *swsContext);
103 - typedef int (*sws_scale_t)(struct SwsContext *context, uint8_t* srcSlice[],
104 -
105 ---- /src/gfxoutputdrv/ffmpegdrv.c
106 -+++ /src/gfxoutputdrv/ffmpegdrv.c
107 -@@ -671,8 +671,8 @@
108 - picture is needed too. It is then converted to the required
109 - output format */
110 - video_st.tmp_frame = NULL;
111 -- if (c->pix_fmt != PIX_FMT_RGB24) {
112 -- video_st.tmp_frame = ffmpegdrv_alloc_picture(PIX_FMT_RGB24, c->width, c->height);
113 -+ if (c->pix_fmt != VICE_AV_PIX_FMT_RGB24) {
114 -+ video_st.tmp_frame = ffmpegdrv_alloc_picture(VICE_AV_PIX_FMT_RGB24, c->width, c->height);
115 - if (!video_st.tmp_frame) {
116 - log_debug("ffmpegdrv: could not allocate temporary picture");
117 - return -1;
118 -@@ -769,9 +769,9 @@
119 -
120 - #ifdef HAVE_FFMPEG_SWSCALE
121 - /* setup scaler */
122 -- if (c->pix_fmt != PIX_FMT_RGB24) {
123 -+ if (c->pix_fmt != VICE_AV_PIX_FMT_RGB24) {
124 - sws_ctx = VICE_P_SWS_GETCONTEXT
125 -- (video_width, video_height, PIX_FMT_RGB24,
126 -+ (video_width, video_height, VICE_AV_PIX_FMT_RGB24,
127 - video_width, video_height, c->pix_fmt,
128 - SWS_BICUBIC,
129 - NULL, NULL, NULL);
130 -@@ -948,7 +948,7 @@
131 -
132 - c = video_st.st->codec;
133 -
134 -- if (c->pix_fmt != PIX_FMT_RGB24) {
135 -+ if (c->pix_fmt != VICE_AV_PIX_FMT_RGB24) {
136 - ffmpegdrv_fill_rgb_image(screenshot, video_st.tmp_frame);
137 -
138 - if (sws_ctx != NULL) {
139
140 diff --git a/app-emulation/vice/vice-2.4.22.ebuild b/app-emulation/vice/vice-2.4.22.ebuild
141 deleted file mode 100644
142 index d03e3365e83..00000000000
143 --- a/app-emulation/vice/vice-2.4.22.ebuild
144 +++ /dev/null
145 @@ -1,169 +0,0 @@
146 -# Copyright 1999-2015 Gentoo Foundation
147 -# Distributed under the terms of the GNU General Public License v2
148 -
149 -EAPI=5
150 -inherit autotools eutils toolchain-funcs flag-o-matic games
151 -
152 -DESCRIPTION="The Versatile Commodore 8-bit Emulator"
153 -HOMEPAGE="http://vice-emu.sourceforge.net/"
154 -SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
155 -
156 -LICENSE="GPL-2+"
157 -SLOT="0"
158 -KEYWORDS="amd64 x86"
159 -IUSE="Xaw3d alsa ethernet ffmpeg fullscreen +gtk ipv6 lame nls oss png pulseaudio sdl +sdlsound threads vte zlib"
160 -
161 -# upstream says gtk3 and sdl2 shouldn't be exposed yet.
162 -#REQUIRED_USE="?? ( gtk2 gtk3 sdl )"
163 -REQUIRED_USE="?? ( gtk sdl )"
164 -
165 -GTK_COMMON="
166 - x11-libs/pango
167 - x11-libs/cairo"
168 -# gtk3? (
169 -# x11-libs/gtk+:3
170 -# vte? ( x11-libs/vte:2.90 )
171 -# ${GTK_COMMON}
172 -# )
173 -RDEPEND="
174 - virtual/jpeg:0
175 - virtual/opengl
176 - media-libs/giflib
177 - alsa? ( media-libs/alsa-lib )
178 - pulseaudio? ( media-sound/pulseaudio )
179 - sdlsound? ( media-libs/libsdl[sound] )
180 - ethernet? (
181 - >=net-libs/libpcap-0.9.8
182 - >=net-libs/libnet-1.1.2.1:1.1
183 - )
184 - ffmpeg? ( virtual/ffmpeg )
185 - lame? ( media-sound/lame )
186 - nls? ( virtual/libintl )
187 - png? ( media-libs/libpng:0 )
188 - zlib? ( sys-libs/zlib )
189 - sdl? (
190 - media-libs/libsdl[joystick,video]
191 - )
192 - !sdl? (
193 - fullscreen? (
194 - x11-libs/libXrandr
195 - x11-libs/libXxf86vm )
196 - x11-libs/libX11
197 - x11-libs/libXext
198 - sys-libs/readline:0
199 - )
200 - gtk? (
201 - x11-libs/gtk+:2
202 - vte? ( x11-libs/vte:0 )
203 - x11-libs/gtkglext
204 - ${GTK_COMMON}
205 - )
206 - !sdl? ( !gtk? (
207 - x11-libs/libXmu
208 - x11-libs/libXpm
209 - x11-libs/libXt
210 - x11-libs/libXv
211 - Xaw3d? ( x11-libs/libXaw3d )
212 - !Xaw3d? ( x11-libs/libXaw )
213 - ) )
214 - "
215 -DEPEND="${RDEPEND}
216 - virtual/pkgconfig
217 - !sdl? (
218 - fullscreen? ( x11-proto/xf86vidmodeproto )
219 - !gtk? (
220 - x11-libs/libICE
221 - x11-libs/libSM
222 - )
223 - )
224 - x11-apps/bdftopcf
225 - x11-apps/mkfontdir
226 - x11-proto/xproto
227 - x11-proto/xextproto
228 - media-libs/fontconfig
229 - x11-proto/videoproto
230 - nls? ( sys-devel/gettext )"
231 -
232 -src_prepare() {
233 - epatch "${FILESDIR}"/${P}-autotools.patch
234 - sed -i \
235 - -e 's/building//' \
236 - doc/Makefile.am || die
237 - sed -i \
238 - -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}:" \
239 - doc/Makefile.am \
240 - doc/readmes/Makefile.am || die
241 - sed -i \
242 - -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}/html:" \
243 - doc/html/Makefile.am || die
244 - sed -i \
245 - -e "s:/usr/local/lib/VICE:$(games_get_libdir)/${PN}:" \
246 - man/vice.1 \
247 - $(grep -rl --exclude="*texi" /usr/local/lib doc) || die
248 - sed -i \
249 - -e "/VICEDIR=/s:=.*:=\"$(games_get_libdir)/${PN}\";:" \
250 - configure.ac || die
251 - sed -i \
252 - -e "s:\(#define LIBDIR \).*:\1\"$(games_get_libdir)/${PN}\":" \
253 - -e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
254 - src/arch/unix/archdep.h \
255 - src/arch/sdl/archdep_unix.h || die
256 - rm -rf src/lib/{libffmpeg,liblame} || die
257 - sed -i \
258 - -e '/SUBDIRS/s/libffmpeg//;' \
259 - -e '/SUBDIRS/s/liblame//;' \
260 - src/lib/Makefile.am || die
261 - AT_NO_RECURSIVE=1 eautoreconf
262 -}
263 -
264 -src_configure() {
265 - local gui_arg snd_arg
266 -
267 - snd_arg+=" $(use_with alsa)"
268 - snd_arg+=" $(use_with oss)"
269 - snd_arg+=" $(use_with pulseaudio pulse)"
270 - snd_arg+=" $(use_with sdlsound)"
271 -
272 - gui_arg+=" $(use_enable sdl sdlui)"
273 - # The gtk UI code has raw calls to XOpenDisplay and
274 - # is missing -lX11 if vte doesn't pull it in.
275 - #if use gtk2 || use gtk3 ; then
276 - if use gtk ; then
277 - use vte || append-libs -lX11
278 - fi
279 - gui_arg+=" $(use_enable gtk gnomeui)"
280 - #gui_arg+=" $(use_enable gtk3 gnomeui3)"
281 - gui_arg+=" $(use_enable Xaw3d xaw3d)"
282 -
283 - # --with-readline is forced to avoid using the embedded copy
284 - # don't try to actually run fc-cache (bug #280976)
285 - FCCACHE=/bin/true \
286 - PKG_CONFIG=$(tc-getPKG_CONFIG) \
287 - egamesconf \
288 - --enable-parsid \
289 - --with-resid \
290 - --with-readline \
291 - --without-arts \
292 - --without-midas \
293 - $(use_enable ethernet) \
294 - $(use_enable ffmpeg) \
295 - $(use_enable ffmpeg external-ffmpeg) \
296 - $(use_enable fullscreen) \
297 - $(use_enable ipv6) \
298 - $(use_enable lame) \
299 - $(use_enable nls) \
300 - $(use_enable vte) \
301 - $(use_with png) \
302 - $(use_with threads uithreads) \
303 - $(use_with zlib) \
304 - ${gui_arg} \
305 - ${snd_arg} \
306 - --disable-option-checking
307 - # --disable-option-checking has to be last
308 -}
309 -
310 -src_install() {
311 - DOCS="AUTHORS ChangeLog FEEDBACK README" \
312 - default
313 - prepgamesdirs
314 -}
315
316 diff --git a/app-emulation/vice/vice-2.4.27-r2.ebuild b/app-emulation/vice/vice-2.4.27-r2.ebuild
317 deleted file mode 100644
318 index 3ebd21b27dd..00000000000
319 --- a/app-emulation/vice/vice-2.4.27-r2.ebuild
320 +++ /dev/null
321 @@ -1,179 +0,0 @@
322 -# Copyright 1999-2016 Gentoo Foundation
323 -# Distributed under the terms of the GNU General Public License v2
324 -
325 -EAPI=6
326 -inherit autotools eutils toolchain-funcs flag-o-matic
327 -
328 -DESCRIPTION="The Versatile Commodore 8-bit Emulator"
329 -HOMEPAGE="http://vice-emu.sourceforge.net/"
330 -SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
331 -
332 -LICENSE="GPL-2+"
333 -SLOT="0"
334 -KEYWORDS="~amd64 ~x86"
335 -IUSE="Xaw3d alsa ethernet ffmpeg fullscreen +gtk ipv6 lame nls oss png pulseaudio sdl +sdlsound threads vte zlib"
336 -
337 -# upstream says gtk3 and sdl2 shouldn't be exposed yet.
338 -#REQUIRED_USE="?? ( gtk2 gtk3 sdl )"
339 -REQUIRED_USE="?? ( gtk sdl )"
340 -
341 -GTK_COMMON="
342 - x11-libs/pango
343 - x11-libs/cairo"
344 -# gtk3? (
345 -# x11-libs/gtk+:3
346 -# vte? ( x11-libs/vte:2.90 )
347 -# ${GTK_COMMON}
348 -# )
349 -RDEPEND="
350 - virtual/jpeg:0
351 - virtual/opengl
352 - media-libs/giflib
353 - alsa? ( media-libs/alsa-lib )
354 - pulseaudio? ( media-sound/pulseaudio )
355 - sdlsound? ( media-libs/libsdl[sound] )
356 - ethernet? (
357 - >=net-libs/libpcap-0.9.8
358 - >=net-libs/libnet-1.1.2.1:1.1
359 - )
360 - ffmpeg? ( virtual/ffmpeg )
361 - lame? ( media-sound/lame )
362 - nls? ( virtual/libintl )
363 - png? ( media-libs/libpng:0 )
364 - zlib? ( sys-libs/zlib )
365 - sdl? (
366 - media-libs/libsdl[joystick,video]
367 - )
368 - !sdl? (
369 - fullscreen? (
370 - x11-libs/libXrandr
371 - x11-libs/libXxf86vm )
372 - x11-libs/libX11
373 - x11-libs/libXext
374 - sys-libs/readline:0
375 - )
376 - gtk? (
377 - x11-libs/gtk+:2
378 - vte? ( x11-libs/vte:0 )
379 - x11-libs/gtkglext
380 - ${GTK_COMMON}
381 - )
382 - !sdl? ( !gtk? (
383 - x11-libs/libXmu
384 - x11-libs/libXpm
385 - x11-libs/libXt
386 - x11-libs/libXv
387 - Xaw3d? ( x11-libs/libXaw3d )
388 - !Xaw3d? ( x11-libs/libXaw )
389 - ) )
390 - "
391 -DEPEND="${RDEPEND}
392 - virtual/pkgconfig
393 - !sdl? (
394 - fullscreen? ( x11-proto/xf86vidmodeproto )
395 - !gtk? (
396 - x11-libs/libICE
397 - x11-libs/libSM
398 - )
399 - )
400 - x11-apps/bdftopcf
401 - x11-apps/mkfontdir
402 - x11-proto/xproto
403 - x11-proto/xextproto
404 - media-libs/fontconfig
405 - x11-proto/videoproto
406 - nls? ( sys-devel/gettext )"
407 -
408 -PATCHES=(
409 - "${FILESDIR}"/${P}-autotools.patch
410 -)
411 - #"${FILESDIR}"/vice_rath.txt
412 -
413 -src_prepare() {
414 - if use ffmpeg && has_version ">=media-video/ffmpeg-3" ; then
415 - PATCHES+=(
416 - "${FILESDIR}"/${PN}-31580-ffmpeg-build.patch
417 - )
418 - fi
419 -
420 - default
421 - sed -i \
422 - -e 's/building//' \
423 - doc/Makefile.am || die
424 - sed -i \
425 - -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}:" \
426 - doc/Makefile.am \
427 - doc/readmes/Makefile.am || die
428 - sed -i \
429 - -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}/html:" \
430 - doc/html/Makefile.am || die
431 - sed -i \
432 - -e "s:/usr/local/lib/VICE:/usr/$(get_libdir)/${PN}:" \
433 - man/vice.1 \
434 - $(grep -rl --exclude="*texi" /usr/local/lib doc) || die
435 - sed -i \
436 - -e "/VICEDIR=/s:=.*:=\"/usr/$(get_libdir)/${PN}\";:" \
437 - configure.ac || die
438 - sed -i \
439 - -e "s:\(#define LIBDIR \).*:\1\"/usr/$(get_libdir)/${PN}\":" \
440 - -e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
441 - src/arch/unix/archdep.h \
442 - src/arch/sdl/archdep_unix.h || die
443 - rm -rf src/lib/{libffmpeg,liblame} || die
444 - sed -i \
445 - -e '/SUBDIRS/s/libffmpeg//;' \
446 - -e '/SUBDIRS/s/liblame//;' \
447 - src/lib/Makefile.am || die
448 - AT_NO_RECURSIVE=1 eautoreconf
449 -}
450 -
451 -src_configure() {
452 - local gui_arg snd_arg
453 -
454 - snd_arg+=" $(use_with alsa)"
455 - snd_arg+=" $(use_with oss)"
456 - snd_arg+=" $(use_with pulseaudio pulse)"
457 - snd_arg+=" $(use_with sdlsound)"
458 -
459 - gui_arg+=" $(use_enable sdl sdlui)"
460 - # The gtk UI code has raw calls to XOpenDisplay and
461 - # is missing -lX11 if vte doesn't pull it in.
462 - #if use gtk2 || use gtk3 ; then
463 - if use gtk ; then
464 - use vte || append-libs -lX11
465 - fi
466 - gui_arg+=" $(use_enable gtk gnomeui)"
467 - #gui_arg+=" $(use_enable gtk3 gnomeui3)"
468 - gui_arg+=" $(use_enable Xaw3d xaw3d)"
469 -
470 - # --with-readline is forced to avoid using the embedded copy
471 - # don't try to actually run fc-cache (bug #280976)
472 - FCCACHE=/bin/true \
473 - PKG_CONFIG=$(tc-getPKG_CONFIG) \
474 - econf \
475 - --enable-parsid \
476 - --with-resid \
477 - --with-readline \
478 - --without-arts \
479 - --without-midas \
480 - $(use_enable ethernet) \
481 - $(use_enable ffmpeg) \
482 - $(use_enable ffmpeg external-ffmpeg) \
483 - $(use_enable fullscreen) \
484 - $(use_enable ipv6) \
485 - $(use_enable lame) \
486 - $(use_enable nls) \
487 - $(use_enable vte) \
488 - $(use_with png) \
489 - $(use_with threads uithreads) \
490 - $(use_with zlib) \
491 - ${gui_arg} \
492 - ${snd_arg} \
493 - --disable-option-checking
494 - # --disable-option-checking has to be last
495 -}
496 -
497 -src_install() {
498 - DOCS="FEEDBACK"
499 - default
500 -}
501
502 diff --git a/app-emulation/vice/vice-2.4.27-r3.ebuild b/app-emulation/vice/vice-2.4.27-r3.ebuild
503 deleted file mode 100644
504 index be11e99dd48..00000000000
505 --- a/app-emulation/vice/vice-2.4.27-r3.ebuild
506 +++ /dev/null
507 @@ -1,178 +0,0 @@
508 -# Copyright 1999-2016 Gentoo Foundation
509 -# Distributed under the terms of the GNU General Public License v2
510 -
511 -EAPI=6
512 -inherit autotools eutils toolchain-funcs flag-o-matic xdg-utils
513 -
514 -DESCRIPTION="The Versatile Commodore 8-bit Emulator"
515 -HOMEPAGE="http://vice-emu.sourceforge.net/"
516 -SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
517 -
518 -LICENSE="GPL-2+"
519 -SLOT="0"
520 -KEYWORDS="~amd64 ~x86"
521 -IUSE="Xaw3d alsa ethernet ffmpeg fullscreen +gtk ipv6 lame nls oss png pulseaudio sdl +sdlsound threads vte zlib"
522 -
523 -# upstream says gtk3 and sdl2 shouldn't be exposed yet.
524 -#REQUIRED_USE="?? ( gtk2 gtk3 sdl )"
525 -REQUIRED_USE="?? ( gtk sdl )"
526 -
527 -GTK_COMMON="
528 - x11-libs/pango
529 - x11-libs/cairo"
530 -# gtk3? (
531 -# x11-libs/gtk+:3
532 -# vte? ( x11-libs/vte:2.90 )
533 -# ${GTK_COMMON}
534 -# )
535 -
536 -RDEPEND="
537 - virtual/jpeg:0
538 - virtual/opengl
539 - media-libs/giflib
540 - alsa? ( media-libs/alsa-lib )
541 - pulseaudio? ( media-sound/pulseaudio )
542 - sdlsound? ( media-libs/libsdl[sound] )
543 - ethernet? (
544 - >=net-libs/libpcap-0.9.8
545 - >=net-libs/libnet-1.1.2.1:1.1
546 - )
547 - ffmpeg? ( virtual/ffmpeg )
548 - lame? ( media-sound/lame )
549 - nls? ( virtual/libintl )
550 - png? ( media-libs/libpng:0 )
551 - zlib? ( sys-libs/zlib )
552 - sdl? (
553 - media-libs/libsdl[joystick,video]
554 - )
555 - !sdl? (
556 - fullscreen? (
557 - x11-libs/libXrandr
558 - x11-libs/libXxf86vm )
559 - x11-libs/libX11
560 - x11-libs/libXext
561 - sys-libs/readline:0
562 - )
563 - gtk? (
564 - x11-libs/gtk+:2
565 - vte? ( x11-libs/vte:0 )
566 - x11-libs/gtkglext
567 - ${GTK_COMMON}
568 - )
569 - !sdl? ( !gtk? (
570 - x11-libs/libXmu
571 - x11-libs/libXpm
572 - x11-libs/libXt
573 - x11-libs/libXv
574 - Xaw3d? ( x11-libs/libXaw3d )
575 - !Xaw3d? ( x11-libs/libXaw )
576 - ) )
577 - "
578 -
579 -DEPEND="${RDEPEND}
580 - virtual/pkgconfig
581 - !sdl? (
582 - fullscreen? ( x11-proto/xf86vidmodeproto )
583 - !gtk? (
584 - x11-libs/libICE
585 - x11-libs/libSM
586 - )
587 - )
588 - x11-apps/bdftopcf
589 - x11-apps/mkfontdir
590 - x11-proto/xproto
591 - x11-proto/xextproto
592 - media-libs/fontconfig
593 - x11-proto/videoproto
594 - nls? ( sys-devel/gettext )"
595 -
596 -PATCH=(
597 - "${FILESDIR}"/${P}-autotools.patch
598 -)
599 - #"${FILESDIR}"/vice_rath.txt
600 -
601 -src_prepare() {
602 - # See https://bugs.gentoo.org/599576
603 - xdg_environment_reset
604 -
605 - default
606 - sed -i \
607 - -e 's/building//' \
608 - doc/Makefile.am || die
609 - sed -i \
610 - -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}:" \
611 - doc/Makefile.am \
612 - doc/readmes/Makefile.am || die
613 - sed -i \
614 - -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}/html:" \
615 - doc/html/Makefile.am || die
616 - sed -i \
617 - -e "s:/usr/local/lib/VICE:/usr/$(get_libdir)/${PN}:" \
618 - man/vice.1 \
619 - $(grep -rl --exclude="*texi" /usr/local/lib doc) || die
620 - sed -i \
621 - -e "/VICEDIR=/s:=.*:=\"/usr/$(get_libdir)/${PN}\";:" \
622 - configure.ac || die
623 - sed -i \
624 - -e "s:\(#define LIBDIR \).*:\1\"/usr/$(get_libdir)/${PN}\":" \
625 - -e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
626 - src/arch/unix/archdep.h \
627 - src/arch/sdl/archdep_unix.h || die
628 - rm -rf src/lib/{libffmpeg,liblame} || die
629 - sed -i \
630 - -e '/SUBDIRS/s/libffmpeg//;' \
631 - -e '/SUBDIRS/s/liblame//;' \
632 - src/lib/Makefile.am || die
633 - AT_NO_RECURSIVE=1 eautoreconf
634 -}
635 -
636 -src_configure() {
637 - local gui_arg snd_arg
638 -
639 - snd_arg+=" $(use_with alsa)"
640 - snd_arg+=" $(use_with oss)"
641 - snd_arg+=" $(use_with pulseaudio pulse)"
642 - snd_arg+=" $(use_with sdlsound)"
643 -
644 - gui_arg+=" $(use_enable sdl sdlui)"
645 - # The gtk UI code has raw calls to XOpenDisplay and
646 - # is missing -lX11 if vte doesn't pull it in.
647 - #if use gtk2 || use gtk3 ; then
648 - if use gtk ; then
649 - use vte || append-libs -lX11
650 - fi
651 - gui_arg+=" $(use_enable gtk gnomeui)"
652 - #gui_arg+=" $(use_enable gtk3 gnomeui3)"
653 - gui_arg+=" $(use_enable Xaw3d xaw3d)"
654 -
655 - # --with-readline is forced to avoid using the embedded copy
656 - # don't try to actually run fc-cache (bug #280976)
657 - FCCACHE=/bin/true \
658 - PKG_CONFIG=$(tc-getPKG_CONFIG) \
659 - econf \
660 - --enable-parsid \
661 - --with-resid \
662 - --with-readline \
663 - --without-arts \
664 - --without-midas \
665 - $(use_enable ethernet) \
666 - $(use_enable ffmpeg) \
667 - $(use_enable ffmpeg external-ffmpeg) \
668 - $(use_enable fullscreen) \
669 - $(use_enable ipv6) \
670 - $(use_enable lame) \
671 - $(use_enable nls) \
672 - $(use_enable vte) \
673 - $(use_with png) \
674 - $(use_with threads uithreads) \
675 - $(use_with zlib) \
676 - ${gui_arg} \
677 - ${snd_arg} \
678 - --disable-option-checking
679 - # --disable-option-checking has to be last
680 -}
681 -
682 -src_install() {
683 - DOCS="FEEDBACK"
684 - default
685 -}
686
687 diff --git a/app-emulation/vice/vice-2.4.27.ebuild b/app-emulation/vice/vice-2.4.27.ebuild
688 deleted file mode 100644
689 index fa039a36415..00000000000
690 --- a/app-emulation/vice/vice-2.4.27.ebuild
691 +++ /dev/null
692 @@ -1,169 +0,0 @@
693 -# Copyright 1999-2016 Gentoo Foundation
694 -# Distributed under the terms of the GNU General Public License v2
695 -
696 -EAPI=5
697 -inherit autotools eutils toolchain-funcs flag-o-matic games
698 -
699 -DESCRIPTION="The Versatile Commodore 8-bit Emulator"
700 -HOMEPAGE="http://vice-emu.sourceforge.net/"
701 -SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
702 -
703 -LICENSE="GPL-2+"
704 -SLOT="0"
705 -KEYWORDS="~amd64 ~x86"
706 -IUSE="Xaw3d alsa ethernet ffmpeg fullscreen +gtk ipv6 lame nls oss png pulseaudio sdl +sdlsound threads vte zlib"
707 -
708 -# upstream says gtk3 and sdl2 shouldn't be exposed yet.
709 -#REQUIRED_USE="?? ( gtk2 gtk3 sdl )"
710 -REQUIRED_USE="?? ( gtk sdl )"
711 -
712 -GTK_COMMON="
713 - x11-libs/pango
714 - x11-libs/cairo"
715 -# gtk3? (
716 -# x11-libs/gtk+:3
717 -# vte? ( x11-libs/vte:2.90 )
718 -# ${GTK_COMMON}
719 -# )
720 -RDEPEND="
721 - virtual/jpeg:0
722 - virtual/opengl
723 - media-libs/giflib
724 - alsa? ( media-libs/alsa-lib )
725 - pulseaudio? ( media-sound/pulseaudio )
726 - sdlsound? ( media-libs/libsdl[sound] )
727 - ethernet? (
728 - >=net-libs/libpcap-0.9.8
729 - >=net-libs/libnet-1.1.2.1:1.1
730 - )
731 - ffmpeg? ( virtual/ffmpeg )
732 - lame? ( media-sound/lame )
733 - nls? ( virtual/libintl )
734 - png? ( media-libs/libpng:0 )
735 - zlib? ( sys-libs/zlib )
736 - sdl? (
737 - media-libs/libsdl[joystick,video]
738 - )
739 - !sdl? (
740 - fullscreen? (
741 - x11-libs/libXrandr
742 - x11-libs/libXxf86vm )
743 - x11-libs/libX11
744 - x11-libs/libXext
745 - sys-libs/readline:0
746 - )
747 - gtk? (
748 - x11-libs/gtk+:2
749 - vte? ( x11-libs/vte:0 )
750 - x11-libs/gtkglext
751 - ${GTK_COMMON}
752 - )
753 - !sdl? ( !gtk? (
754 - x11-libs/libXmu
755 - x11-libs/libXpm
756 - x11-libs/libXt
757 - x11-libs/libXv
758 - Xaw3d? ( x11-libs/libXaw3d )
759 - !Xaw3d? ( x11-libs/libXaw )
760 - ) )
761 - "
762 -DEPEND="${RDEPEND}
763 - virtual/pkgconfig
764 - !sdl? (
765 - fullscreen? ( x11-proto/xf86vidmodeproto )
766 - !gtk? (
767 - x11-libs/libICE
768 - x11-libs/libSM
769 - )
770 - )
771 - x11-apps/bdftopcf
772 - x11-apps/mkfontdir
773 - x11-proto/xproto
774 - x11-proto/xextproto
775 - media-libs/fontconfig
776 - x11-proto/videoproto
777 - nls? ( sys-devel/gettext )"
778 -
779 -src_prepare() {
780 - epatch "${FILESDIR}"/${P}-autotools.patch
781 - sed -i \
782 - -e 's/building//' \
783 - doc/Makefile.am || die
784 - sed -i \
785 - -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}:" \
786 - doc/Makefile.am \
787 - doc/readmes/Makefile.am || die
788 - sed -i \
789 - -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}/html:" \
790 - doc/html/Makefile.am || die
791 - sed -i \
792 - -e "s:/usr/local/lib/VICE:$(games_get_libdir)/${PN}:" \
793 - man/vice.1 \
794 - $(grep -rl --exclude="*texi" /usr/local/lib doc) || die
795 - sed -i \
796 - -e "/VICEDIR=/s:=.*:=\"$(games_get_libdir)/${PN}\";:" \
797 - configure.ac || die
798 - sed -i \
799 - -e "s:\(#define LIBDIR \).*:\1\"$(games_get_libdir)/${PN}\":" \
800 - -e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
801 - src/arch/unix/archdep.h \
802 - src/arch/sdl/archdep_unix.h || die
803 - rm -rf src/lib/{libffmpeg,liblame} || die
804 - sed -i \
805 - -e '/SUBDIRS/s/libffmpeg//;' \
806 - -e '/SUBDIRS/s/liblame//;' \
807 - src/lib/Makefile.am || die
808 - AT_NO_RECURSIVE=1 eautoreconf
809 -}
810 -
811 -src_configure() {
812 - local gui_arg snd_arg
813 -
814 - snd_arg+=" $(use_with alsa)"
815 - snd_arg+=" $(use_with oss)"
816 - snd_arg+=" $(use_with pulseaudio pulse)"
817 - snd_arg+=" $(use_with sdlsound)"
818 -
819 - gui_arg+=" $(use_enable sdl sdlui)"
820 - # The gtk UI code has raw calls to XOpenDisplay and
821 - # is missing -lX11 if vte doesn't pull it in.
822 - #if use gtk2 || use gtk3 ; then
823 - if use gtk ; then
824 - use vte || append-libs -lX11
825 - fi
826 - gui_arg+=" $(use_enable gtk gnomeui)"
827 - #gui_arg+=" $(use_enable gtk3 gnomeui3)"
828 - gui_arg+=" $(use_enable Xaw3d xaw3d)"
829 -
830 - # --with-readline is forced to avoid using the embedded copy
831 - # don't try to actually run fc-cache (bug #280976)
832 - FCCACHE=/bin/true \
833 - PKG_CONFIG=$(tc-getPKG_CONFIG) \
834 - egamesconf \
835 - --enable-parsid \
836 - --with-resid \
837 - --with-readline \
838 - --without-arts \
839 - --without-midas \
840 - $(use_enable ethernet) \
841 - $(use_enable ffmpeg) \
842 - $(use_enable ffmpeg external-ffmpeg) \
843 - $(use_enable fullscreen) \
844 - $(use_enable ipv6) \
845 - $(use_enable lame) \
846 - $(use_enable nls) \
847 - $(use_enable vte) \
848 - $(use_with png) \
849 - $(use_with threads uithreads) \
850 - $(use_with zlib) \
851 - ${gui_arg} \
852 - ${snd_arg} \
853 - --disable-option-checking
854 - # --disable-option-checking has to be last
855 -}
856 -
857 -src_install() {
858 - DOCS="AUTHORS ChangeLog FEEDBACK README" \
859 - default
860 - prepgamesdirs
861 -}
862
863 diff --git a/app-emulation/vice/vice-2.4.31.ebuild b/app-emulation/vice/vice-2.4.31.ebuild
864 deleted file mode 100644
865 index f36bb6969d3..00000000000
866 --- a/app-emulation/vice/vice-2.4.31.ebuild
867 +++ /dev/null
868 @@ -1,173 +0,0 @@
869 -# Copyright 1999-2016 Gentoo Foundation
870 -# Distributed under the terms of the GNU General Public License v2
871 -
872 -EAPI=6
873 -inherit autotools eutils toolchain-funcs flag-o-matic
874 -
875 -DESCRIPTION="The Versatile Commodore 8-bit Emulator"
876 -HOMEPAGE="http://vice-emu.sourceforge.net/"
877 -SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
878 -
879 -LICENSE="GPL-2+"
880 -SLOT="0"
881 -KEYWORDS="~amd64 ~x86"
882 -IUSE="Xaw3d alsa ethernet ffmpeg fullscreen +gtk ipv6 lame nls oss png pulseaudio sdl +sdlsound threads vte zlib"
883 -
884 -# upstream says gtk3 and sdl2 shouldn't be exposed yet.
885 -#REQUIRED_USE="?? ( gtk2 gtk3 sdl )"
886 -REQUIRED_USE="?? ( gtk sdl )"
887 -
888 -GTK_COMMON="
889 - x11-libs/pango
890 - x11-libs/cairo"
891 -# gtk3? (
892 -# x11-libs/gtk+:3
893 -# vte? ( x11-libs/vte:2.90 )
894 -# ${GTK_COMMON}
895 -# )
896 -RDEPEND="
897 - virtual/jpeg:0
898 - virtual/opengl
899 - media-libs/giflib
900 - alsa? ( media-libs/alsa-lib )
901 - pulseaudio? ( media-sound/pulseaudio )
902 - sdlsound? ( media-libs/libsdl[sound] )
903 - ethernet? (
904 - >=net-libs/libpcap-0.9.8
905 - >=net-libs/libnet-1.1.2.1:1.1
906 - )
907 - ffmpeg? ( virtual/ffmpeg )
908 - lame? ( media-sound/lame )
909 - nls? ( virtual/libintl )
910 - png? ( media-libs/libpng:0 )
911 - zlib? ( sys-libs/zlib )
912 - sdl? (
913 - media-libs/libsdl[joystick,video]
914 - )
915 - !sdl? (
916 - fullscreen? (
917 - x11-libs/libXrandr
918 - x11-libs/libXxf86vm )
919 - x11-libs/libX11
920 - x11-libs/libXext
921 - sys-libs/readline:0
922 - )
923 - gtk? (
924 - x11-libs/gtk+:2
925 - vte? ( x11-libs/vte:0 )
926 - x11-libs/gtkglext
927 - ${GTK_COMMON}
928 - )
929 - !sdl? ( !gtk? (
930 - x11-libs/libXmu
931 - x11-libs/libXpm
932 - x11-libs/libXt
933 - x11-libs/libXv
934 - Xaw3d? ( x11-libs/libXaw3d )
935 - !Xaw3d? ( x11-libs/libXaw )
936 - ) )
937 - "
938 -DEPEND="${RDEPEND}
939 - virtual/pkgconfig
940 - !sdl? (
941 - fullscreen? ( x11-proto/xf86vidmodeproto )
942 - !gtk? (
943 - x11-libs/libICE
944 - x11-libs/libSM
945 - )
946 - )
947 - x11-apps/bdftopcf
948 - x11-apps/mkfontdir
949 - x11-proto/xproto
950 - x11-proto/xextproto
951 - media-libs/fontconfig
952 - x11-proto/videoproto
953 - nls? ( sys-devel/gettext )"
954 -
955 -PATCH=(
956 - "${FILESDIR}"/${P}-autotools.patch
957 -)
958 - #"${FILESDIR}"/vice_rath.txt
959 -
960 -src_prepare() {
961 - default
962 - sed -i \
963 - -e 's/building//' \
964 - doc/Makefile.am || die
965 - sed -i \
966 - -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}:" \
967 - doc/Makefile.am \
968 - doc/readmes/Makefile.am || die
969 - sed -i \
970 - -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}/html:" \
971 - doc/html/Makefile.am || die
972 - sed -i \
973 - -e "s:/usr/local/lib/VICE:/usr/$(get_libdir)/${PN}:" \
974 - man/vice.1 \
975 - $(grep -rl --exclude="*texi" /usr/local/lib doc) || die
976 - sed -i \
977 - -e "/VICEDIR=/s:=.*:=\"/usr/$(get_libdir)/${PN}\";:" \
978 - configure.ac || die
979 - sed -i \
980 - -e "s:\(#define LIBDIR \).*:\1\"/usr/$(get_libdir)/${PN}\":" \
981 - -e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
982 - src/arch/unix/archdep.h \
983 - src/arch/sdl/archdep_unix.h || die
984 - rm -rf src/lib/{libffmpeg,liblame} || die
985 - sed -i \
986 - -e '/SUBDIRS/s/libffmpeg//;' \
987 - -e '/SUBDIRS/s/liblame//;' \
988 - src/lib/Makefile.am || die
989 - AT_NO_RECURSIVE=1 eautoreconf
990 -}
991 -
992 -src_configure() {
993 - local gui_arg snd_arg
994 -
995 - snd_arg+=" $(use_with alsa)"
996 - snd_arg+=" $(use_with oss)"
997 - snd_arg+=" $(use_with pulseaudio pulse)"
998 - snd_arg+=" $(use_with sdlsound)"
999 -
1000 - gui_arg+=" $(use_enable sdl sdlui)"
1001 - # The gtk UI code has raw calls to XOpenDisplay and
1002 - # is missing -lX11 if vte doesn't pull it in.
1003 - #if use gtk2 || use gtk3 ; then
1004 - if use gtk ; then
1005 - use vte || append-libs -lX11
1006 - fi
1007 - gui_arg+=" $(use_enable gtk gnomeui)"
1008 - #gui_arg+=" $(use_enable gtk3 gnomeui3)"
1009 - gui_arg+=" $(use_enable Xaw3d xaw3d)"
1010 -
1011 - # --with-readline is forced to avoid using the embedded copy
1012 - # don't try to actually run fc-cache (bug #280976)
1013 - FCCACHE=/bin/true \
1014 - PKG_CONFIG=$(tc-getPKG_CONFIG) \
1015 - econf \
1016 - --enable-parsid \
1017 - --with-resid \
1018 - --with-readline \
1019 - --without-arts \
1020 - --without-midas \
1021 - $(use_enable ethernet) \
1022 - $(use_enable ffmpeg) \
1023 - $(use_enable ffmpeg external-ffmpeg) \
1024 - $(use_enable fullscreen) \
1025 - $(use_enable ipv6) \
1026 - $(use_enable lame) \
1027 - $(use_enable nls) \
1028 - $(use_enable vte) \
1029 - $(use_with png) \
1030 - $(use_with threads uithreads) \
1031 - $(use_with zlib) \
1032 - ${gui_arg} \
1033 - ${snd_arg} \
1034 - --disable-option-checking
1035 - # --disable-option-checking has to be last
1036 -}
1037 -
1038 -src_install() {
1039 - DOCS="FEEDBACK"
1040 - default
1041 -}