summaryrefslogtreecommitdiff
path: root/app-emulation/vice
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-29 16:53:27 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-03-29 16:53:27 +0100
commit1173ad5704ce725916e0c332416aff326d850d06 (patch)
treed48d60977ce19864893dfb2222bf2982ffb4262a /app-emulation/vice
parent8c364c784966be1700ea39ae45028f3e9be9cae0 (diff)
gentoo resync : 29.03.2018
Diffstat (limited to 'app-emulation/vice')
-rw-r--r--app-emulation/vice/Manifest13
-rw-r--r--app-emulation/vice/files/vice-2.4.22-autotools.patch11
-rw-r--r--app-emulation/vice/files/vice-2.4.27-autotools.patch11
-rw-r--r--app-emulation/vice/files/vice-31580-ffmpeg-build.patch64
-rw-r--r--app-emulation/vice/vice-2.4.22.ebuild169
-rw-r--r--app-emulation/vice/vice-2.4.27-r2.ebuild179
-rw-r--r--app-emulation/vice/vice-2.4.27-r3.ebuild178
-rw-r--r--app-emulation/vice/vice-2.4.27.ebuild169
-rw-r--r--app-emulation/vice/vice-2.4.31.ebuild173
-rw-r--r--app-emulation/vice/vice-3.1.ebuild2
10 files changed, 2 insertions, 967 deletions
diff --git a/app-emulation/vice/Manifest b/app-emulation/vice/Manifest
index 0eb04ae5eadb..498447f26c64 100644
--- a/app-emulation/vice/Manifest
+++ b/app-emulation/vice/Manifest
@@ -1,14 +1,3 @@
-AUX vice-2.4.22-autotools.patch 353 BLAKE2B 01b25d40ad4dd621e32896b0c7f30715fcf0ea7cce8bffdb742caf241ebb0ed7c7d0d40c2cea852640f8b0e4d84bac1d5a87653c9641a33acd8f177a39130c80 SHA512 10ba3f9f9c0e69f34ea3ab361b198826b7055586e2dade320a60c1a1e429797d2eaf1554b1e9fde63f8ddb23bd4a9b8fb24d3f9692433b6b6d043d09761924d3
-AUX vice-2.4.27-autotools.patch 353 BLAKE2B 01b25d40ad4dd621e32896b0c7f30715fcf0ea7cce8bffdb742caf241ebb0ed7c7d0d40c2cea852640f8b0e4d84bac1d5a87653c9641a33acd8f177a39130c80 SHA512 10ba3f9f9c0e69f34ea3ab361b198826b7055586e2dade320a60c1a1e429797d2eaf1554b1e9fde63f8ddb23bd4a9b8fb24d3f9692433b6b6d043d09761924d3
-AUX vice-31580-ffmpeg-build.patch 2635 BLAKE2B 43a5954851c6c082ddb4073768839708f517999068218e134a2cab57f0c8c6e935d9e988745650e84b386efe738d0710b6a2b9ed7ea419248dd3aa65988192f6 SHA512 fcacbe49c0d7768f1c40b76ac7afdb2ac16f651220e7a2005b0f2c28fa47a7aa466ecf4cf8d7ef43dde6d24d3d2472e70126619a8b25c7e2c9340225c897a3c3
-DIST vice-2.4.22.tar.gz 25180343 BLAKE2B 9c48539b0ec1604a196211819c43c7cdba970cee404b64fbaa1957bb8167ae9f7f108ba0f54ef0ef82314331694dfc5f6bca0d569ee940d6531ed49cd7bb2ffa SHA512 b43e609ae2f43717d10e079d3b8ac284e5c4920ed222c7502e9a7b75dfe32784628031ae6cf8672c8d9d50576fb714cecdd1a9292bf53477f4bbd52c10403975
-DIST vice-2.4.27.tar.gz 25561665 BLAKE2B 36e8460ef1e4aed9f83caf2b46924766d6830368c947ddfee68ecf992685f950db9e433238b61c34691dadb719ede4e9c5cc7104279e06140e347b04eb8a97a3 SHA512 589b9892f3180db6f169e74b863171f08567045862f2f47cac73ef946e81d55dcde5373fc910cfd1659238669f12ee6ad934c7143c87fad736cda77479439bec
-DIST vice-2.4.31.tar.gz 25898329 BLAKE2B 113be451d322f21488f23711ce971ff7a83538d3dfd516138fec84f27e4933025bbba8cbbc627111aadad437ab7805491286760b4fe9db915307922d00dba27f SHA512 eebd25fb808b1837ea8d76b1399d3d7ed80a66ae206ea3e0d51fe0fb9df21f3bfeb3fbe353c1022e02754987116e33d4c6888e61448b3250ebefbbfe1b854e94
DIST vice-3.1.tar.gz 30714226 BLAKE2B 75c2cce5294dad5b954cd23b623b6b4610c8142a09aef05dbefed6b3e6b268077d375e644dde6a057682d41ab9cf15e93a9f4a9359bfa0d1567d6d1862053a0e SHA512 bc02a3597a17dadb37c487e6942192c0e9dc1a7d4e440fbf0dc8a165dbb2dee60ddf157697a020d2780ddef56a0a67802768d5c6d117b9cf5cdc124de45bc579
-EBUILD vice-2.4.22.ebuild 4081 BLAKE2B aac80c7a5dd694f4dcdee8f4d594d84efc767f9715a299411fee645f848c823b5fbfa842c9c6fd6d1500d62d0a80d3ff9ba645500a9ddbcedc59a00d1cd12ae5 SHA512 0903ceb493b762870ed5f41af0fba9414f630918141c1f5b536b6998d74a9724ae29f2a02c3dad086595b08c4a22ab108511f9949d81498f82da890f4e315701
-EBUILD vice-2.4.27-r2.ebuild 4203 BLAKE2B c1306597f4b419f8e2ed1018b97578a43199fc538cc747c72e7b7cc7cdc92bad51459808d9e927cb08b682e3382643d6dc46ccabf9233d3a95f38a1ca2056fdd SHA512 934c4c6982f1147da237aa781c712b47935e354db95da715bc67f1a95ec2cbe72ac533300fc4e068b1362ab8c8da58d8df5b3823402dd3aa49e2f6d7ee49a5d8
-EBUILD vice-2.4.27-r3.ebuild 4143 BLAKE2B 77043ad81622a50338d5ec02d694eb2dbb3cbbffa4ba92b0fabd9ab52f6ed3918583e171248c04b37dc52f9657fe5bdc9ffde7a4202d853f77a2746377f4cac2 SHA512 6b93a2eb3f2f32360c53837d46623e833ab779f76e1404a23db9d37b46e01c310e1ab2c6de9291ec4c6bdd838ea1fe44f7a6d8c1f70c1dfde8f6917a880c5c5c
-EBUILD vice-2.4.27.ebuild 4083 BLAKE2B a1b6abba0b61203fc1e6177959d718307749ec3822826c66527c6929818398e0ad53494f50351477129800e34476dd564da02ddfd429bd35558b20f164c74f31 SHA512 d4e50dd2be23db39ac35d21ee9436032535f2d1dfcd4b6f9587df34ee9291a6fbe4378a19288f5b4661bf821841be3ca7f62c80c97c3f402ca37dfe7f34780b5
-EBUILD vice-2.4.31.ebuild 4069 BLAKE2B a375533a7015241359b32032b070b702b888c2232179fe2d411cc3d6163741a6ea7b8019cb9aefe0402fb3e9e83de0fb128898e9d74ef8e55c29b8d8f271b727 SHA512 f358edb6361d839e1f9d68f0f828f392e43e3c99ff9804ca03723f7a73f6b61f67309796a789c3bc4633283f333b0151453ab4b022c1f0c602babc4d698e8975
-EBUILD vice-3.1.ebuild 4121 BLAKE2B ef5b46774f42ec79bf328595cc4af7906ae0ce56722b19629921f4ccd4f36c171f8fa3db20e22e3e01c8510a0f8839e13693b6adb01ab5f685afd6fdbdd8b0b8 SHA512 7285b0dd716f17e425ecd7ca5dfec8d4ba73c0acb10df4b1f1a467a761ff94fb6685862e9090bb3f5842098e90c31bb9cb9f1013f87c4a00b8fa3ce1e6b51d22
+EBUILD vice-3.1.ebuild 4120 BLAKE2B 9c18944f0c940d84450ed8062c36a3c93ac202796e7a598af4185f4f4cb9473cc45eefde1196f0b8222b63eeb0d612cdf4628b71605cb0c6a10850c7528f409f SHA512 7c536e58183f9ba0cbab58bcdbe9cf3ac6ffe623932079ff1c19b3079342ade398477b3fea9b6fcc113cbda81edd73425f7530980b787f4db541487568dd3e97
MISC metadata.xml 646 BLAKE2B 94f3652c8e4217e34415b84f35b468febdefb688fe85b5b0b2ddafa0b3739bc36fbfaab12e4100df1cad3c5b4cd823b4af260811110da4410c09d32596ac7f43 SHA512 1d641f0e1ba5962aa7b9e230c20ade01595aed9f853be25ec4d5022aff22cbd75414a41fbf64427bf5a27485057ee3e767521561f396a5bf70ffa3e1da31739f
diff --git a/app-emulation/vice/files/vice-2.4.22-autotools.patch b/app-emulation/vice/files/vice-2.4.22-autotools.patch
deleted file mode 100644
index 7bebd2800ef6..000000000000
--- a/app-emulation/vice/files/vice-2.4.22-autotools.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- vice-2.4.7.orig/configure.ac
-+++ vice-2.4.7/configure.ac
-@@ -124,7 +118,7 @@
- AC_SUBST(VICE_VERSION)
-
- AM_INIT_AUTOMAKE(vice, $VICE_VERSION)
--AM_CONFIG_HEADER(src/config.h)
-+AC_CONFIG_HEADERS(src/config.h)
-
- if test x"$VICE_VERSION_BUILD" = "x" -o x"$VICE_VERSION_BUILD" = "x0" ; then
- VERSION_RC=$VICE_VERSION_MAJOR","$VICE_VERSION_MINOR",0,0"
diff --git a/app-emulation/vice/files/vice-2.4.27-autotools.patch b/app-emulation/vice/files/vice-2.4.27-autotools.patch
deleted file mode 100644
index 7bebd2800ef6..000000000000
--- a/app-emulation/vice/files/vice-2.4.27-autotools.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- vice-2.4.7.orig/configure.ac
-+++ vice-2.4.7/configure.ac
-@@ -124,7 +118,7 @@
- AC_SUBST(VICE_VERSION)
-
- AM_INIT_AUTOMAKE(vice, $VICE_VERSION)
--AM_CONFIG_HEADER(src/config.h)
-+AC_CONFIG_HEADERS(src/config.h)
-
- if test x"$VICE_VERSION_BUILD" = "x" -o x"$VICE_VERSION_BUILD" = "x0" ; then
- VERSION_RC=$VICE_VERSION_MAJOR","$VICE_VERSION_MINOR",0,0"
diff --git a/app-emulation/vice/files/vice-31580-ffmpeg-build.patch b/app-emulation/vice/files/vice-31580-ffmpeg-build.patch
deleted file mode 100644
index 82dc3421218a..000000000000
--- a/app-emulation/vice/files/vice-31580-ffmpeg-build.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-# Patch to fix compiling with ffmpeg-3.
-# Backported from: https://sourceforge.net/p/vice-emu/code/31580/
-
---- /src/gfxoutputdrv/ffmpeglib.h
-+++ /src/gfxoutputdrv/ffmpeglib.h
-@@ -76,6 +76,14 @@
- #define AVCodecID CodecID
- #endif
-
-+#if LIBAVUTIL_VERSION_INT < AV_VERSION_INT(55,17,103)
-+#define VICE_AV_PIX_FMT_RGB24 PIX_FMT_RGB24
-+#define VICE_AV_PixelFormat PixelFormat
-+#else
-+#define VICE_AV_PIX_FMT_RGB24 AV_PIX_FMT_RGB24
-+#define VICE_AV_PixelFormat AVPixelFormat
-+#endif
-+
- /* avcodec fucntions */
- typedef void(*av_init_packet_t)(AVPacket *pkt);
- typedef int(*avcodec_open2_t)(AVCodecContext*, AVCodec*, AVDictionary **);
-@@ -118,7 +126,7 @@
-
- /* swscale functions */
- typedef struct SwsContext * (*sws_getContext_t)(int srcW, int srcH,
-- enum PixelFormat srcFormat, int dstW, int dstH, enum PixelFormat dstFormat,
-+ enum VICE_AV_PixelFormat srcFormat, int dstW, int dstH, enum VICE_AV_PixelFormat dstFormat,
- int flags, SwsFilter *srcFilter, SwsFilter *dstFilter, double *param);
- typedef void (*sws_freeContext_t)(struct SwsContext *swsContext);
- typedef int (*sws_scale_t)(struct SwsContext *context, uint8_t* srcSlice[],
-
---- /src/gfxoutputdrv/ffmpegdrv.c
-+++ /src/gfxoutputdrv/ffmpegdrv.c
-@@ -671,8 +671,8 @@
- picture is needed too. It is then converted to the required
- output format */
- video_st.tmp_frame = NULL;
-- if (c->pix_fmt != PIX_FMT_RGB24) {
-- video_st.tmp_frame = ffmpegdrv_alloc_picture(PIX_FMT_RGB24, c->width, c->height);
-+ if (c->pix_fmt != VICE_AV_PIX_FMT_RGB24) {
-+ video_st.tmp_frame = ffmpegdrv_alloc_picture(VICE_AV_PIX_FMT_RGB24, c->width, c->height);
- if (!video_st.tmp_frame) {
- log_debug("ffmpegdrv: could not allocate temporary picture");
- return -1;
-@@ -769,9 +769,9 @@
-
- #ifdef HAVE_FFMPEG_SWSCALE
- /* setup scaler */
-- if (c->pix_fmt != PIX_FMT_RGB24) {
-+ if (c->pix_fmt != VICE_AV_PIX_FMT_RGB24) {
- sws_ctx = VICE_P_SWS_GETCONTEXT
-- (video_width, video_height, PIX_FMT_RGB24,
-+ (video_width, video_height, VICE_AV_PIX_FMT_RGB24,
- video_width, video_height, c->pix_fmt,
- SWS_BICUBIC,
- NULL, NULL, NULL);
-@@ -948,7 +948,7 @@
-
- c = video_st.st->codec;
-
-- if (c->pix_fmt != PIX_FMT_RGB24) {
-+ if (c->pix_fmt != VICE_AV_PIX_FMT_RGB24) {
- ffmpegdrv_fill_rgb_image(screenshot, video_st.tmp_frame);
-
- if (sws_ctx != NULL) {
diff --git a/app-emulation/vice/vice-2.4.22.ebuild b/app-emulation/vice/vice-2.4.22.ebuild
deleted file mode 100644
index d03e3365e83d..000000000000
--- a/app-emulation/vice/vice-2.4.22.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils toolchain-funcs flag-o-matic games
-
-DESCRIPTION="The Versatile Commodore 8-bit Emulator"
-HOMEPAGE="http://vice-emu.sourceforge.net/"
-SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="Xaw3d alsa ethernet ffmpeg fullscreen +gtk ipv6 lame nls oss png pulseaudio sdl +sdlsound threads vte zlib"
-
-# upstream says gtk3 and sdl2 shouldn't be exposed yet.
-#REQUIRED_USE="?? ( gtk2 gtk3 sdl )"
-REQUIRED_USE="?? ( gtk sdl )"
-
-GTK_COMMON="
- x11-libs/pango
- x11-libs/cairo"
-# gtk3? (
-# x11-libs/gtk+:3
-# vte? ( x11-libs/vte:2.90 )
-# ${GTK_COMMON}
-# )
-RDEPEND="
- virtual/jpeg:0
- virtual/opengl
- media-libs/giflib
- alsa? ( media-libs/alsa-lib )
- pulseaudio? ( media-sound/pulseaudio )
- sdlsound? ( media-libs/libsdl[sound] )
- ethernet? (
- >=net-libs/libpcap-0.9.8
- >=net-libs/libnet-1.1.2.1:1.1
- )
- ffmpeg? ( virtual/ffmpeg )
- lame? ( media-sound/lame )
- nls? ( virtual/libintl )
- png? ( media-libs/libpng:0 )
- zlib? ( sys-libs/zlib )
- sdl? (
- media-libs/libsdl[joystick,video]
- )
- !sdl? (
- fullscreen? (
- x11-libs/libXrandr
- x11-libs/libXxf86vm )
- x11-libs/libX11
- x11-libs/libXext
- sys-libs/readline:0
- )
- gtk? (
- x11-libs/gtk+:2
- vte? ( x11-libs/vte:0 )
- x11-libs/gtkglext
- ${GTK_COMMON}
- )
- !sdl? ( !gtk? (
- x11-libs/libXmu
- x11-libs/libXpm
- x11-libs/libXt
- x11-libs/libXv
- Xaw3d? ( x11-libs/libXaw3d )
- !Xaw3d? ( x11-libs/libXaw )
- ) )
- "
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- !sdl? (
- fullscreen? ( x11-proto/xf86vidmodeproto )
- !gtk? (
- x11-libs/libICE
- x11-libs/libSM
- )
- )
- x11-apps/bdftopcf
- x11-apps/mkfontdir
- x11-proto/xproto
- x11-proto/xextproto
- media-libs/fontconfig
- x11-proto/videoproto
- nls? ( sys-devel/gettext )"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-autotools.patch
- sed -i \
- -e 's/building//' \
- doc/Makefile.am || die
- sed -i \
- -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}:" \
- doc/Makefile.am \
- doc/readmes/Makefile.am || die
- sed -i \
- -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}/html:" \
- doc/html/Makefile.am || die
- sed -i \
- -e "s:/usr/local/lib/VICE:$(games_get_libdir)/${PN}:" \
- man/vice.1 \
- $(grep -rl --exclude="*texi" /usr/local/lib doc) || die
- sed -i \
- -e "/VICEDIR=/s:=.*:=\"$(games_get_libdir)/${PN}\";:" \
- configure.ac || die
- sed -i \
- -e "s:\(#define LIBDIR \).*:\1\"$(games_get_libdir)/${PN}\":" \
- -e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
- src/arch/unix/archdep.h \
- src/arch/sdl/archdep_unix.h || die
- rm -rf src/lib/{libffmpeg,liblame} || die
- sed -i \
- -e '/SUBDIRS/s/libffmpeg//;' \
- -e '/SUBDIRS/s/liblame//;' \
- src/lib/Makefile.am || die
- AT_NO_RECURSIVE=1 eautoreconf
-}
-
-src_configure() {
- local gui_arg snd_arg
-
- snd_arg+=" $(use_with alsa)"
- snd_arg+=" $(use_with oss)"
- snd_arg+=" $(use_with pulseaudio pulse)"
- snd_arg+=" $(use_with sdlsound)"
-
- gui_arg+=" $(use_enable sdl sdlui)"
- # The gtk UI code has raw calls to XOpenDisplay and
- # is missing -lX11 if vte doesn't pull it in.
- #if use gtk2 || use gtk3 ; then
- if use gtk ; then
- use vte || append-libs -lX11
- fi
- gui_arg+=" $(use_enable gtk gnomeui)"
- #gui_arg+=" $(use_enable gtk3 gnomeui3)"
- gui_arg+=" $(use_enable Xaw3d xaw3d)"
-
- # --with-readline is forced to avoid using the embedded copy
- # don't try to actually run fc-cache (bug #280976)
- FCCACHE=/bin/true \
- PKG_CONFIG=$(tc-getPKG_CONFIG) \
- egamesconf \
- --enable-parsid \
- --with-resid \
- --with-readline \
- --without-arts \
- --without-midas \
- $(use_enable ethernet) \
- $(use_enable ffmpeg) \
- $(use_enable ffmpeg external-ffmpeg) \
- $(use_enable fullscreen) \
- $(use_enable ipv6) \
- $(use_enable lame) \
- $(use_enable nls) \
- $(use_enable vte) \
- $(use_with png) \
- $(use_with threads uithreads) \
- $(use_with zlib) \
- ${gui_arg} \
- ${snd_arg} \
- --disable-option-checking
- # --disable-option-checking has to be last
-}
-
-src_install() {
- DOCS="AUTHORS ChangeLog FEEDBACK README" \
- default
- prepgamesdirs
-}
diff --git a/app-emulation/vice/vice-2.4.27-r2.ebuild b/app-emulation/vice/vice-2.4.27-r2.ebuild
deleted file mode 100644
index 3ebd21b27ddc..000000000000
--- a/app-emulation/vice/vice-2.4.27-r2.ebuild
+++ /dev/null
@@ -1,179 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools eutils toolchain-funcs flag-o-matic
-
-DESCRIPTION="The Versatile Commodore 8-bit Emulator"
-HOMEPAGE="http://vice-emu.sourceforge.net/"
-SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="Xaw3d alsa ethernet ffmpeg fullscreen +gtk ipv6 lame nls oss png pulseaudio sdl +sdlsound threads vte zlib"
-
-# upstream says gtk3 and sdl2 shouldn't be exposed yet.
-#REQUIRED_USE="?? ( gtk2 gtk3 sdl )"
-REQUIRED_USE="?? ( gtk sdl )"
-
-GTK_COMMON="
- x11-libs/pango
- x11-libs/cairo"
-# gtk3? (
-# x11-libs/gtk+:3
-# vte? ( x11-libs/vte:2.90 )
-# ${GTK_COMMON}
-# )
-RDEPEND="
- virtual/jpeg:0
- virtual/opengl
- media-libs/giflib
- alsa? ( media-libs/alsa-lib )
- pulseaudio? ( media-sound/pulseaudio )
- sdlsound? ( media-libs/libsdl[sound] )
- ethernet? (
- >=net-libs/libpcap-0.9.8
- >=net-libs/libnet-1.1.2.1:1.1
- )
- ffmpeg? ( virtual/ffmpeg )
- lame? ( media-sound/lame )
- nls? ( virtual/libintl )
- png? ( media-libs/libpng:0 )
- zlib? ( sys-libs/zlib )
- sdl? (
- media-libs/libsdl[joystick,video]
- )
- !sdl? (
- fullscreen? (
- x11-libs/libXrandr
- x11-libs/libXxf86vm )
- x11-libs/libX11
- x11-libs/libXext
- sys-libs/readline:0
- )
- gtk? (
- x11-libs/gtk+:2
- vte? ( x11-libs/vte:0 )
- x11-libs/gtkglext
- ${GTK_COMMON}
- )
- !sdl? ( !gtk? (
- x11-libs/libXmu
- x11-libs/libXpm
- x11-libs/libXt
- x11-libs/libXv
- Xaw3d? ( x11-libs/libXaw3d )
- !Xaw3d? ( x11-libs/libXaw )
- ) )
- "
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- !sdl? (
- fullscreen? ( x11-proto/xf86vidmodeproto )
- !gtk? (
- x11-libs/libICE
- x11-libs/libSM
- )
- )
- x11-apps/bdftopcf
- x11-apps/mkfontdir
- x11-proto/xproto
- x11-proto/xextproto
- media-libs/fontconfig
- x11-proto/videoproto
- nls? ( sys-devel/gettext )"
-
-PATCHES=(
- "${FILESDIR}"/${P}-autotools.patch
-)
- #"${FILESDIR}"/vice_rath.txt
-
-src_prepare() {
- if use ffmpeg && has_version ">=media-video/ffmpeg-3" ; then
- PATCHES+=(
- "${FILESDIR}"/${PN}-31580-ffmpeg-build.patch
- )
- fi
-
- default
- sed -i \
- -e 's/building//' \
- doc/Makefile.am || die
- sed -i \
- -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}:" \
- doc/Makefile.am \
- doc/readmes/Makefile.am || die
- sed -i \
- -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}/html:" \
- doc/html/Makefile.am || die
- sed -i \
- -e "s:/usr/local/lib/VICE:/usr/$(get_libdir)/${PN}:" \
- man/vice.1 \
- $(grep -rl --exclude="*texi" /usr/local/lib doc) || die
- sed -i \
- -e "/VICEDIR=/s:=.*:=\"/usr/$(get_libdir)/${PN}\";:" \
- configure.ac || die
- sed -i \
- -e "s:\(#define LIBDIR \).*:\1\"/usr/$(get_libdir)/${PN}\":" \
- -e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
- src/arch/unix/archdep.h \
- src/arch/sdl/archdep_unix.h || die
- rm -rf src/lib/{libffmpeg,liblame} || die
- sed -i \
- -e '/SUBDIRS/s/libffmpeg//;' \
- -e '/SUBDIRS/s/liblame//;' \
- src/lib/Makefile.am || die
- AT_NO_RECURSIVE=1 eautoreconf
-}
-
-src_configure() {
- local gui_arg snd_arg
-
- snd_arg+=" $(use_with alsa)"
- snd_arg+=" $(use_with oss)"
- snd_arg+=" $(use_with pulseaudio pulse)"
- snd_arg+=" $(use_with sdlsound)"
-
- gui_arg+=" $(use_enable sdl sdlui)"
- # The gtk UI code has raw calls to XOpenDisplay and
- # is missing -lX11 if vte doesn't pull it in.
- #if use gtk2 || use gtk3 ; then
- if use gtk ; then
- use vte || append-libs -lX11
- fi
- gui_arg+=" $(use_enable gtk gnomeui)"
- #gui_arg+=" $(use_enable gtk3 gnomeui3)"
- gui_arg+=" $(use_enable Xaw3d xaw3d)"
-
- # --with-readline is forced to avoid using the embedded copy
- # don't try to actually run fc-cache (bug #280976)
- FCCACHE=/bin/true \
- PKG_CONFIG=$(tc-getPKG_CONFIG) \
- econf \
- --enable-parsid \
- --with-resid \
- --with-readline \
- --without-arts \
- --without-midas \
- $(use_enable ethernet) \
- $(use_enable ffmpeg) \
- $(use_enable ffmpeg external-ffmpeg) \
- $(use_enable fullscreen) \
- $(use_enable ipv6) \
- $(use_enable lame) \
- $(use_enable nls) \
- $(use_enable vte) \
- $(use_with png) \
- $(use_with threads uithreads) \
- $(use_with zlib) \
- ${gui_arg} \
- ${snd_arg} \
- --disable-option-checking
- # --disable-option-checking has to be last
-}
-
-src_install() {
- DOCS="FEEDBACK"
- default
-}
diff --git a/app-emulation/vice/vice-2.4.27-r3.ebuild b/app-emulation/vice/vice-2.4.27-r3.ebuild
deleted file mode 100644
index be11e99dd48b..000000000000
--- a/app-emulation/vice/vice-2.4.27-r3.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools eutils toolchain-funcs flag-o-matic xdg-utils
-
-DESCRIPTION="The Versatile Commodore 8-bit Emulator"
-HOMEPAGE="http://vice-emu.sourceforge.net/"
-SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="Xaw3d alsa ethernet ffmpeg fullscreen +gtk ipv6 lame nls oss png pulseaudio sdl +sdlsound threads vte zlib"
-
-# upstream says gtk3 and sdl2 shouldn't be exposed yet.
-#REQUIRED_USE="?? ( gtk2 gtk3 sdl )"
-REQUIRED_USE="?? ( gtk sdl )"
-
-GTK_COMMON="
- x11-libs/pango
- x11-libs/cairo"
-# gtk3? (
-# x11-libs/gtk+:3
-# vte? ( x11-libs/vte:2.90 )
-# ${GTK_COMMON}
-# )
-
-RDEPEND="
- virtual/jpeg:0
- virtual/opengl
- media-libs/giflib
- alsa? ( media-libs/alsa-lib )
- pulseaudio? ( media-sound/pulseaudio )
- sdlsound? ( media-libs/libsdl[sound] )
- ethernet? (
- >=net-libs/libpcap-0.9.8
- >=net-libs/libnet-1.1.2.1:1.1
- )
- ffmpeg? ( virtual/ffmpeg )
- lame? ( media-sound/lame )
- nls? ( virtual/libintl )
- png? ( media-libs/libpng:0 )
- zlib? ( sys-libs/zlib )
- sdl? (
- media-libs/libsdl[joystick,video]
- )
- !sdl? (
- fullscreen? (
- x11-libs/libXrandr
- x11-libs/libXxf86vm )
- x11-libs/libX11
- x11-libs/libXext
- sys-libs/readline:0
- )
- gtk? (
- x11-libs/gtk+:2
- vte? ( x11-libs/vte:0 )
- x11-libs/gtkglext
- ${GTK_COMMON}
- )
- !sdl? ( !gtk? (
- x11-libs/libXmu
- x11-libs/libXpm
- x11-libs/libXt
- x11-libs/libXv
- Xaw3d? ( x11-libs/libXaw3d )
- !Xaw3d? ( x11-libs/libXaw )
- ) )
- "
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- !sdl? (
- fullscreen? ( x11-proto/xf86vidmodeproto )
- !gtk? (
- x11-libs/libICE
- x11-libs/libSM
- )
- )
- x11-apps/bdftopcf
- x11-apps/mkfontdir
- x11-proto/xproto
- x11-proto/xextproto
- media-libs/fontconfig
- x11-proto/videoproto
- nls? ( sys-devel/gettext )"
-
-PATCH=(
- "${FILESDIR}"/${P}-autotools.patch
-)
- #"${FILESDIR}"/vice_rath.txt
-
-src_prepare() {
- # See https://bugs.gentoo.org/599576
- xdg_environment_reset
-
- default
- sed -i \
- -e 's/building//' \
- doc/Makefile.am || die
- sed -i \
- -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}:" \
- doc/Makefile.am \
- doc/readmes/Makefile.am || die
- sed -i \
- -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}/html:" \
- doc/html/Makefile.am || die
- sed -i \
- -e "s:/usr/local/lib/VICE:/usr/$(get_libdir)/${PN}:" \
- man/vice.1 \
- $(grep -rl --exclude="*texi" /usr/local/lib doc) || die
- sed -i \
- -e "/VICEDIR=/s:=.*:=\"/usr/$(get_libdir)/${PN}\";:" \
- configure.ac || die
- sed -i \
- -e "s:\(#define LIBDIR \).*:\1\"/usr/$(get_libdir)/${PN}\":" \
- -e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
- src/arch/unix/archdep.h \
- src/arch/sdl/archdep_unix.h || die
- rm -rf src/lib/{libffmpeg,liblame} || die
- sed -i \
- -e '/SUBDIRS/s/libffmpeg//;' \
- -e '/SUBDIRS/s/liblame//;' \
- src/lib/Makefile.am || die
- AT_NO_RECURSIVE=1 eautoreconf
-}
-
-src_configure() {
- local gui_arg snd_arg
-
- snd_arg+=" $(use_with alsa)"
- snd_arg+=" $(use_with oss)"
- snd_arg+=" $(use_with pulseaudio pulse)"
- snd_arg+=" $(use_with sdlsound)"
-
- gui_arg+=" $(use_enable sdl sdlui)"
- # The gtk UI code has raw calls to XOpenDisplay and
- # is missing -lX11 if vte doesn't pull it in.
- #if use gtk2 || use gtk3 ; then
- if use gtk ; then
- use vte || append-libs -lX11
- fi
- gui_arg+=" $(use_enable gtk gnomeui)"
- #gui_arg+=" $(use_enable gtk3 gnomeui3)"
- gui_arg+=" $(use_enable Xaw3d xaw3d)"
-
- # --with-readline is forced to avoid using the embedded copy
- # don't try to actually run fc-cache (bug #280976)
- FCCACHE=/bin/true \
- PKG_CONFIG=$(tc-getPKG_CONFIG) \
- econf \
- --enable-parsid \
- --with-resid \
- --with-readline \
- --without-arts \
- --without-midas \
- $(use_enable ethernet) \
- $(use_enable ffmpeg) \
- $(use_enable ffmpeg external-ffmpeg) \
- $(use_enable fullscreen) \
- $(use_enable ipv6) \
- $(use_enable lame) \
- $(use_enable nls) \
- $(use_enable vte) \
- $(use_with png) \
- $(use_with threads uithreads) \
- $(use_with zlib) \
- ${gui_arg} \
- ${snd_arg} \
- --disable-option-checking
- # --disable-option-checking has to be last
-}
-
-src_install() {
- DOCS="FEEDBACK"
- default
-}
diff --git a/app-emulation/vice/vice-2.4.27.ebuild b/app-emulation/vice/vice-2.4.27.ebuild
deleted file mode 100644
index fa039a364155..000000000000
--- a/app-emulation/vice/vice-2.4.27.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils toolchain-funcs flag-o-matic games
-
-DESCRIPTION="The Versatile Commodore 8-bit Emulator"
-HOMEPAGE="http://vice-emu.sourceforge.net/"
-SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="Xaw3d alsa ethernet ffmpeg fullscreen +gtk ipv6 lame nls oss png pulseaudio sdl +sdlsound threads vte zlib"
-
-# upstream says gtk3 and sdl2 shouldn't be exposed yet.
-#REQUIRED_USE="?? ( gtk2 gtk3 sdl )"
-REQUIRED_USE="?? ( gtk sdl )"
-
-GTK_COMMON="
- x11-libs/pango
- x11-libs/cairo"
-# gtk3? (
-# x11-libs/gtk+:3
-# vte? ( x11-libs/vte:2.90 )
-# ${GTK_COMMON}
-# )
-RDEPEND="
- virtual/jpeg:0
- virtual/opengl
- media-libs/giflib
- alsa? ( media-libs/alsa-lib )
- pulseaudio? ( media-sound/pulseaudio )
- sdlsound? ( media-libs/libsdl[sound] )
- ethernet? (
- >=net-libs/libpcap-0.9.8
- >=net-libs/libnet-1.1.2.1:1.1
- )
- ffmpeg? ( virtual/ffmpeg )
- lame? ( media-sound/lame )
- nls? ( virtual/libintl )
- png? ( media-libs/libpng:0 )
- zlib? ( sys-libs/zlib )
- sdl? (
- media-libs/libsdl[joystick,video]
- )
- !sdl? (
- fullscreen? (
- x11-libs/libXrandr
- x11-libs/libXxf86vm )
- x11-libs/libX11
- x11-libs/libXext
- sys-libs/readline:0
- )
- gtk? (
- x11-libs/gtk+:2
- vte? ( x11-libs/vte:0 )
- x11-libs/gtkglext
- ${GTK_COMMON}
- )
- !sdl? ( !gtk? (
- x11-libs/libXmu
- x11-libs/libXpm
- x11-libs/libXt
- x11-libs/libXv
- Xaw3d? ( x11-libs/libXaw3d )
- !Xaw3d? ( x11-libs/libXaw )
- ) )
- "
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- !sdl? (
- fullscreen? ( x11-proto/xf86vidmodeproto )
- !gtk? (
- x11-libs/libICE
- x11-libs/libSM
- )
- )
- x11-apps/bdftopcf
- x11-apps/mkfontdir
- x11-proto/xproto
- x11-proto/xextproto
- media-libs/fontconfig
- x11-proto/videoproto
- nls? ( sys-devel/gettext )"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-autotools.patch
- sed -i \
- -e 's/building//' \
- doc/Makefile.am || die
- sed -i \
- -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}:" \
- doc/Makefile.am \
- doc/readmes/Makefile.am || die
- sed -i \
- -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}/html:" \
- doc/html/Makefile.am || die
- sed -i \
- -e "s:/usr/local/lib/VICE:$(games_get_libdir)/${PN}:" \
- man/vice.1 \
- $(grep -rl --exclude="*texi" /usr/local/lib doc) || die
- sed -i \
- -e "/VICEDIR=/s:=.*:=\"$(games_get_libdir)/${PN}\";:" \
- configure.ac || die
- sed -i \
- -e "s:\(#define LIBDIR \).*:\1\"$(games_get_libdir)/${PN}\":" \
- -e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
- src/arch/unix/archdep.h \
- src/arch/sdl/archdep_unix.h || die
- rm -rf src/lib/{libffmpeg,liblame} || die
- sed -i \
- -e '/SUBDIRS/s/libffmpeg//;' \
- -e '/SUBDIRS/s/liblame//;' \
- src/lib/Makefile.am || die
- AT_NO_RECURSIVE=1 eautoreconf
-}
-
-src_configure() {
- local gui_arg snd_arg
-
- snd_arg+=" $(use_with alsa)"
- snd_arg+=" $(use_with oss)"
- snd_arg+=" $(use_with pulseaudio pulse)"
- snd_arg+=" $(use_with sdlsound)"
-
- gui_arg+=" $(use_enable sdl sdlui)"
- # The gtk UI code has raw calls to XOpenDisplay and
- # is missing -lX11 if vte doesn't pull it in.
- #if use gtk2 || use gtk3 ; then
- if use gtk ; then
- use vte || append-libs -lX11
- fi
- gui_arg+=" $(use_enable gtk gnomeui)"
- #gui_arg+=" $(use_enable gtk3 gnomeui3)"
- gui_arg+=" $(use_enable Xaw3d xaw3d)"
-
- # --with-readline is forced to avoid using the embedded copy
- # don't try to actually run fc-cache (bug #280976)
- FCCACHE=/bin/true \
- PKG_CONFIG=$(tc-getPKG_CONFIG) \
- egamesconf \
- --enable-parsid \
- --with-resid \
- --with-readline \
- --without-arts \
- --without-midas \
- $(use_enable ethernet) \
- $(use_enable ffmpeg) \
- $(use_enable ffmpeg external-ffmpeg) \
- $(use_enable fullscreen) \
- $(use_enable ipv6) \
- $(use_enable lame) \
- $(use_enable nls) \
- $(use_enable vte) \
- $(use_with png) \
- $(use_with threads uithreads) \
- $(use_with zlib) \
- ${gui_arg} \
- ${snd_arg} \
- --disable-option-checking
- # --disable-option-checking has to be last
-}
-
-src_install() {
- DOCS="AUTHORS ChangeLog FEEDBACK README" \
- default
- prepgamesdirs
-}
diff --git a/app-emulation/vice/vice-2.4.31.ebuild b/app-emulation/vice/vice-2.4.31.ebuild
deleted file mode 100644
index f36bb6969d3d..000000000000
--- a/app-emulation/vice/vice-2.4.31.ebuild
+++ /dev/null
@@ -1,173 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools eutils toolchain-funcs flag-o-matic
-
-DESCRIPTION="The Versatile Commodore 8-bit Emulator"
-HOMEPAGE="http://vice-emu.sourceforge.net/"
-SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="Xaw3d alsa ethernet ffmpeg fullscreen +gtk ipv6 lame nls oss png pulseaudio sdl +sdlsound threads vte zlib"
-
-# upstream says gtk3 and sdl2 shouldn't be exposed yet.
-#REQUIRED_USE="?? ( gtk2 gtk3 sdl )"
-REQUIRED_USE="?? ( gtk sdl )"
-
-GTK_COMMON="
- x11-libs/pango
- x11-libs/cairo"
-# gtk3? (
-# x11-libs/gtk+:3
-# vte? ( x11-libs/vte:2.90 )
-# ${GTK_COMMON}
-# )
-RDEPEND="
- virtual/jpeg:0
- virtual/opengl
- media-libs/giflib
- alsa? ( media-libs/alsa-lib )
- pulseaudio? ( media-sound/pulseaudio )
- sdlsound? ( media-libs/libsdl[sound] )
- ethernet? (
- >=net-libs/libpcap-0.9.8
- >=net-libs/libnet-1.1.2.1:1.1
- )
- ffmpeg? ( virtual/ffmpeg )
- lame? ( media-sound/lame )
- nls? ( virtual/libintl )
- png? ( media-libs/libpng:0 )
- zlib? ( sys-libs/zlib )
- sdl? (
- media-libs/libsdl[joystick,video]
- )
- !sdl? (
- fullscreen? (
- x11-libs/libXrandr
- x11-libs/libXxf86vm )
- x11-libs/libX11
- x11-libs/libXext
- sys-libs/readline:0
- )
- gtk? (
- x11-libs/gtk+:2
- vte? ( x11-libs/vte:0 )
- x11-libs/gtkglext
- ${GTK_COMMON}
- )
- !sdl? ( !gtk? (
- x11-libs/libXmu
- x11-libs/libXpm
- x11-libs/libXt
- x11-libs/libXv
- Xaw3d? ( x11-libs/libXaw3d )
- !Xaw3d? ( x11-libs/libXaw )
- ) )
- "
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- !sdl? (
- fullscreen? ( x11-proto/xf86vidmodeproto )
- !gtk? (
- x11-libs/libICE
- x11-libs/libSM
- )
- )
- x11-apps/bdftopcf
- x11-apps/mkfontdir
- x11-proto/xproto
- x11-proto/xextproto
- media-libs/fontconfig
- x11-proto/videoproto
- nls? ( sys-devel/gettext )"
-
-PATCH=(
- "${FILESDIR}"/${P}-autotools.patch
-)
- #"${FILESDIR}"/vice_rath.txt
-
-src_prepare() {
- default
- sed -i \
- -e 's/building//' \
- doc/Makefile.am || die
- sed -i \
- -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}:" \
- doc/Makefile.am \
- doc/readmes/Makefile.am || die
- sed -i \
- -e "/^docdir =/s:=.*:=/usr/share/doc/${PF}/html:" \
- doc/html/Makefile.am || die
- sed -i \
- -e "s:/usr/local/lib/VICE:/usr/$(get_libdir)/${PN}:" \
- man/vice.1 \
- $(grep -rl --exclude="*texi" /usr/local/lib doc) || die
- sed -i \
- -e "/VICEDIR=/s:=.*:=\"/usr/$(get_libdir)/${PN}\";:" \
- configure.ac || die
- sed -i \
- -e "s:\(#define LIBDIR \).*:\1\"/usr/$(get_libdir)/${PN}\":" \
- -e "s:\(#define DOCDIR \).*:\1\"/usr/share/doc/${PF}\":" \
- src/arch/unix/archdep.h \
- src/arch/sdl/archdep_unix.h || die
- rm -rf src/lib/{libffmpeg,liblame} || die
- sed -i \
- -e '/SUBDIRS/s/libffmpeg//;' \
- -e '/SUBDIRS/s/liblame//;' \
- src/lib/Makefile.am || die
- AT_NO_RECURSIVE=1 eautoreconf
-}
-
-src_configure() {
- local gui_arg snd_arg
-
- snd_arg+=" $(use_with alsa)"
- snd_arg+=" $(use_with oss)"
- snd_arg+=" $(use_with pulseaudio pulse)"
- snd_arg+=" $(use_with sdlsound)"
-
- gui_arg+=" $(use_enable sdl sdlui)"
- # The gtk UI code has raw calls to XOpenDisplay and
- # is missing -lX11 if vte doesn't pull it in.
- #if use gtk2 || use gtk3 ; then
- if use gtk ; then
- use vte || append-libs -lX11
- fi
- gui_arg+=" $(use_enable gtk gnomeui)"
- #gui_arg+=" $(use_enable gtk3 gnomeui3)"
- gui_arg+=" $(use_enable Xaw3d xaw3d)"
-
- # --with-readline is forced to avoid using the embedded copy
- # don't try to actually run fc-cache (bug #280976)
- FCCACHE=/bin/true \
- PKG_CONFIG=$(tc-getPKG_CONFIG) \
- econf \
- --enable-parsid \
- --with-resid \
- --with-readline \
- --without-arts \
- --without-midas \
- $(use_enable ethernet) \
- $(use_enable ffmpeg) \
- $(use_enable ffmpeg external-ffmpeg) \
- $(use_enable fullscreen) \
- $(use_enable ipv6) \
- $(use_enable lame) \
- $(use_enable nls) \
- $(use_enable vte) \
- $(use_with png) \
- $(use_with threads uithreads) \
- $(use_with zlib) \
- ${gui_arg} \
- ${snd_arg} \
- --disable-option-checking
- # --disable-option-checking has to be last
-}
-
-src_install() {
- DOCS="FEEDBACK"
- default
-}
diff --git a/app-emulation/vice/vice-3.1.ebuild b/app-emulation/vice/vice-3.1.ebuild
index 9e458ecfe413..cc4fb987e508 100644
--- a/app-emulation/vice/vice-3.1.ebuild
+++ b/app-emulation/vice/vice-3.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/vice-emu/releases/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
IUSE="Xaw3d alsa ethernet ffmpeg fullscreen +gtk ipv6 lame libav nls oss png pulseaudio sdl +sdlsound threads vte zlib"
# upstream says gtk3 and sdl2 shouldn't be exposed yet.