public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/vice/
Date: Fri,  1 Jul 2016 18:41:09 +0000 (UTC)	[thread overview]
Message-ID: <1467398439.8a2b74dc34d1a7e2447cf79a9d6f3866553b878f.wizardedit@gentoo> (raw)

commit:     8a2b74dc34d1a7e2447cf79a9d6f3866553b878f
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  1 18:40:20 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Jul  1 18:40:39 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a2b74dc

app-emulation/vice: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.2.28

 app-emulation/vice/vice-2.4.27-r1.ebuild | 174 +++++++++++++++++++++++++++++++
 1 file changed, 174 insertions(+)

diff --git a/app-emulation/vice/vice-2.4.27-r1.ebuild b/app-emulation/vice/vice-2.4.27-r1.ebuild
new file mode 100644
index 0000000..ee4aa0b
--- /dev/null
+++ b/app-emulation/vice/vice-2.4.27-r1.ebuild
@@ -0,0 +1,174 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 ~ppc ~sparc ~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:/$(get_libdir)/${PN}:" \
+		man/vice.1 \
+		$(grep -rl --exclude="*texi" /usr/local/lib doc) || die
+	sed -i \
+		-e "/VICEDIR=/s:=.*:=\"/$(get_libdir)/${PN}\";:" \
+		configure.ac || die
+	sed -i \
+		-e "s:\(#define LIBDIR \).*:\1\"$(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
+}


             reply	other threads:[~2016-07-01 18:41 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-01 18:41 Austin English [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-27 10:52 [gentoo-commits] repo/gentoo:master commit in: app-emulation/vice/ Ionen Wolkens
2025-03-13  8:59 Sam James
2025-03-13  8:59 Sam James
2025-02-22  3:07 Ionen Wolkens
2024-02-08 17:47 Ionen Wolkens
2024-01-28 20:00 Arthur Zamarin
2024-01-23 16:40 Sam James
2024-01-05 10:25 Ionen Wolkens
2023-12-26 14:39 Ionen Wolkens
2023-06-11 10:44 Andreas Sturmlechner
2023-01-30 19:11 Ionen Wolkens
2023-01-26 15:13 Ionen Wolkens
2022-12-29 20:29 Ionen Wolkens
2022-12-28 12:17 Ionen Wolkens
2022-12-26 13:33 Ionen Wolkens
2022-10-29 19:43 Sam James
2022-07-29 17:52 Arthur Zamarin
2022-07-26  1:39 Ionen Wolkens
2022-02-28 11:28 Ionen Wolkens
2022-02-05 23:39 Ionen Wolkens
2022-02-03 11:31 Ionen Wolkens
2022-01-26  3:32 Ionen Wolkens
2022-01-26  1:09 Ionen Wolkens
2021-12-26 23:40 Ionen Wolkens
2021-10-11 18:21 Ionen Wolkens
2021-10-03 11:19 Ionen Wolkens
2021-06-22  5:43 Ionen Wolkens
2021-01-09  3:09 Sam James
2021-01-07 16:28 James Le Cuirot
2021-01-07 11:33 Sam James
2021-01-07  5:09 Sam James
2021-01-07  0:58 Sam James
2020-09-26 17:33 James Le Cuirot
2020-09-18 20:44 James Le Cuirot
2020-06-14 19:42 James Le Cuirot
2020-04-25 17:30 Mikle Kolyada
2020-04-14 12:32 Agostino Sarubbo
2020-04-08 10:57 Agostino Sarubbo
2020-02-22 22:21 David Seifert
2020-02-22 22:10 James Le Cuirot
2018-11-29 22:04 Andreas Sturmlechner
2018-03-28 18:36 Pacho Ramos
2018-01-21 10:20 David Seifert
2017-12-10  9:27 Ulrich Müller
2017-01-26 22:48 David Seifert
2017-01-19  1:11 Austin English
2016-10-14 17:49 Austin English
2016-10-14 17:49 Austin English
2015-12-29  7:41 Michael Sterrett
2015-12-14 14:12 Agostino Sarubbo
2015-11-12  6:51 Michael Sterrett
2015-09-22  8:57 Agostino Sarubbo
2015-09-19 13:30 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1467398439.8a2b74dc34d1a7e2447cf79a9d6f3866553b878f.wizardedit@gentoo \
    --to=wizardedit@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox