summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-02-05 03:17:04 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-02-05 03:17:04 +0000
commit08500358eb3756b75f5bb28f6abd2ae7372ca3da (patch)
tree96cf191ec1ae161b97a7d64b1c4f05c91b3b102a /app-emulation
parentBeta channel bump. (diff)
downloadgentoo-2-08500358eb3756b75f5bb28f6abd2ae7372ca3da.tar.gz
gentoo-2-08500358eb3756b75f5bb28f6abd2ae7372ca3da.tar.bz2
gentoo-2-08500358eb3756b75f5bb28f6abd2ae7372ca3da.zip
version bump
(Portage version: 2.2.14/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/vice/ChangeLog12
-rw-r--r--app-emulation/vice/files/vice-2.4.16-autotools.patch11
-rw-r--r--app-emulation/vice/vice-2.4.16.ebuild123
3 files changed, 144 insertions, 2 deletions
diff --git a/app-emulation/vice/ChangeLog b/app-emulation/vice/ChangeLog
index 88c770fb65dc..ae36d98d87bc 100644
--- a/app-emulation/vice/ChangeLog
+++ b/app-emulation/vice/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-emulation/vice
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vice/ChangeLog,v 1.96 2014/10/04 01:29:56 mr_bones_ Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vice/ChangeLog,v 1.97 2015/02/05 03:17:04 mr_bones_ Exp $
+
+*vice-2.4.16 (05 Feb 2015)
+
+ 05 Feb 2015; Michael Sterrett <mr_bones_@gentoo.org>
+ +files/vice-2.4.16-autotools.patch, +vice-2.4.16.ebuild,
+ files/vice-2.4-arm.patch, files/vice-2.4-autotools.patch,
+ files/vice-2.4-buffer.patch, files/vice-2.4-ffmpeg-1.patch:
+ version bump
04 Oct 2014; Michael Sterrett <mr_bones_@gentoo.org>
-files/vice-2.3-libav.patch, -files/vice-2.3-notexi.patch, -vice-2.3.ebuild:
diff --git a/app-emulation/vice/files/vice-2.4.16-autotools.patch b/app-emulation/vice/files/vice-2.4.16-autotools.patch
new file mode 100644
index 000000000000..7bebd2800ef6
--- /dev/null
+++ b/app-emulation/vice/files/vice-2.4.16-autotools.patch
@@ -0,0 +1,11 @@
+--- 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/vice-2.4.16.ebuild b/app-emulation/vice/vice-2.4.16.ebuild
new file mode 100644
index 000000000000..4e983b9263ea
--- /dev/null
+++ b/app-emulation/vice/vice-2.4.16.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vice/vice-2.4.16.ebuild,v 1.1 2015/02/05 03:17:04 mr_bones_ Exp $
+
+EAPI=5
+inherit autotools eutils toolchain-funcs 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 ~ppc ~sparc ~x86"
+IUSE="Xaw3d alsa gnome nls png readline sdl ipv6 memmap ethernet oss zlib X gif jpeg xv dga xrandr ffmpeg lame pulseaudio"
+
+RDEPEND="
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXt
+ x11-libs/libXxf86vm
+ x11-apps/xset
+ Xaw3d? ( x11-libs/libXaw3d )
+ !Xaw3d? ( !gnome? ( x11-libs/libXaw ) )
+ alsa? ( media-libs/alsa-lib )
+ gnome? (
+ x11-libs/gtk+:2
+ x11-libs/vte:0
+ dev-libs/atk
+ x11-libs/pango
+ )
+ lame? ( media-sound/lame )
+ ffmpeg? ( virtual/ffmpeg )
+ ethernet? (
+ >=net-libs/libpcap-0.9.8
+ >=net-libs/libnet-1.1.2.1
+ )
+ nls? ( virtual/libintl )
+ png? ( media-libs/libpng:0 )
+ readline? ( sys-libs/readline )
+ sdl? ( media-libs/libsdl[sound] )
+ gif? ( media-libs/giflib )
+ jpeg? ( virtual/jpeg )
+ xv? ( x11-libs/libXv )
+ dga? ( x11-libs/libXxf86dga )
+ xrandr? ( x11-libs/libXrandr )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-apps/bdftopcf
+ x11-apps/mkfontdir
+ x11-proto/xproto
+ x11-proto/xf86vidmodeproto
+ x11-proto/xextproto
+ media-libs/fontconfig
+ dga? ( x11-proto/xf86dgaproto )
+ xv? ( x11-proto/videoproto )
+ nls? ( sys-devel/gettext )"
+
+pkg_pretend() {
+ if use gnome && use sdl ; then
+ eerror "gnome and sdl USE flags can't both be set. Pick one and mask the other one in /etc/portage/package.use"
+ die "Please pick one gui option."
+ fi
+}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-autotools.patch
+ 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
+ AT_NO_RECURSIVE=1 eautoreconf
+}
+
+src_configure() {
+ # don't try to actually run fc-cache (bug #280976)
+ FCCACHE=/bin/true \
+ PKG_CONFIG=$(tc-getPKG_CONFIG) \
+ egamesconf \
+ --enable-fullscreen \
+ --enable-parsid \
+ --with-resid \
+ --without-arts \
+ --without-midas \
+ $(use_enable ffmpeg) \
+ $(use_enable lame) \
+ $(use_enable gnome gnomeui) \
+ $(use_enable nls) \
+ $(use_with Xaw3d xaw3d) \
+ $(use_with alsa) \
+ $(use_with pulseaudio pulse) \
+ $(use_with png) \
+ $(use_with readline) \
+ $(use_with sdl sdlsound) \
+ $(use_enable sdl sdlui) \
+ $(use_enable ipv6) \
+ $(use oss || echo --without-oss) \
+ $(use_enable memmap) \
+ $(use_enable ethernet) \
+ $(use_with zlib) \
+ $(use_with X x) \
+ --disable-option-checking
+ # --disable-option-checking has to be last
+}
+
+src_install() {
+ DOCS="AUTHORS ChangeLog FEEDBACK README" \
+ default
+ prepgamesdirs
+}