public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/vice/
Date: Sun,  3 Oct 2021 11:19:58 +0000 (UTC)	[thread overview]
Message-ID: <1633259834.3b47efb343930139d4eb48eeea969c02988b503e.ionen@gentoo> (raw)

commit:     3b47efb343930139d4eb48eeea969c02988b503e
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  3 09:16:32 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Oct  3 11:17:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b47efb3

app-emulation/vice: enable midi support, tighten deps

Midi support can work either through alsa or oss,
so enable if one of these is set (no extra deps).

While revbumping for this, adjusted deps a bit
(notably fails to build without [X] on gtk+:3).

Also removed IUSE=ipv6 (enabled by default).

Not moving to EAPI-8 yet given econf tries to pass
an unrecognized --disable-static (bug #814380)

Closes: https://bugs.gentoo.org/815913
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 .../vice/{vice-3.5.ebuild => vice-3.5-r1.ebuild}   | 58 +++++++++++-----------
 1 file changed, 28 insertions(+), 30 deletions(-)

diff --git a/app-emulation/vice/vice-3.5.ebuild b/app-emulation/vice/vice-3.5-r1.ebuild
similarity index 82%
rename from app-emulation/vice/vice-3.5.ebuild
rename to app-emulation/vice/vice-3.5-r1.ebuild
index 4518b5ff92f..625f1bce3a1 100644
--- a/app-emulation/vice/vice-3.5.ebuild
+++ b/app-emulation/vice/vice-3.5-r1.ebuild
@@ -13,31 +13,33 @@ LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="
-	alsa cpuhistory debug doc ethernet ffmpeg flac gif +gtk headless
-	ipv6 jpeg lame mpg123 ogg oss parport pci png portaudio pulseaudio
-	sdl zlib"
+	alsa cpuhistory debug doc ethernet ffmpeg flac gif +gtk headless jpeg
+	lame mpg123 ogg oss parport pci png portaudio pulseaudio sdl zlib"
 REQUIRED_USE="
 	|| ( gtk headless sdl )
 	gtk? ( zlib )"
 
 RDEPEND="
-	sys-libs/readline:0=
+	sys-libs/readline:=
 	virtual/libintl
 	alsa? ( media-libs/alsa-lib )
 	ethernet? (
-		>=net-libs/libnet-1.1.2.1:1.1
-		>=net-libs/libpcap-0.9.8
+		net-libs/libnet:1.1
+		net-libs/libpcap
 	)
 	ffmpeg? ( media-video/ffmpeg:= )
 	flac? ( media-libs/flac )
 	gif? ( media-libs/giflib:= )
 	gtk? (
+		dev-libs/atk
 		dev-libs/glib:2
 		media-libs/fontconfig:1.0
 		media-libs/glew:0=
 		virtual/opengl
 		x11-libs/cairo
-		x11-libs/gtk+:3
+		x11-libs/gdk-pixbuf:2
+		x11-libs/gtk+:3[X]
+		x11-libs/libX11
 		x11-libs/pango
 	)
 	jpeg? ( virtual/jpeg )
@@ -49,14 +51,14 @@ RDEPEND="
 	)
 	parport? ( sys-libs/libieee1284 )
 	pci? ( sys-apps/pciutils )
-	png? ( media-libs/libpng:0= )
+	png? ( media-libs/libpng:= )
 	portaudio? ( media-libs/portaudio )
 	pulseaudio? ( media-sound/pulseaudio )
 	sdl? (
 		media-libs/libsdl2[video]
 		media-libs/sdl2-image
 	)
-	zlib? ( sys-libs/zlib )"
+	zlib? ( sys-libs/zlib:= )"
 DEPEND="
 	${RDEPEND}
 	x11-base/xorg-proto"
@@ -98,14 +100,6 @@ src_configure() {
 	multibuild_foreach_variant run_in_build_dir multibuild_src_configure
 }
 
-multibuild_enable() {
-	if [[ ${MULTIBUILD_VARIANT} == ${1} ]]; then
-		echo --enable-${2}
-	else
-		echo --disable-${2}
-	fi
-}
-
 multibuild_src_configure() {
 	# Append ".variant" to x* programs if building multiple variants.
 	local xform
@@ -113,20 +107,26 @@ multibuild_src_configure() {
 		xform="/^x/s/\$/.${MULTIBUILD_VARIANT}/"
 	fi
 
+	vice-multi_enable() {
+		if [[ ${MULTIBUILD_VARIANT} == ${1} ]]; then
+			echo --enable-${2}
+		else
+			echo --disable-${2}
+		fi
+	}
+
 	local econfargs=(
 		--program-transform-name="${xform}"
-		$(multibuild_enable gtk desktop-files)
-		$(multibuild_enable gtk native-gtk3ui)
-		$(multibuild_enable headless headlessui)
-		$(multibuild_enable sdl sdlui2)
-
+		$(vice-multi_enable gtk desktop-files)
+		$(vice-multi_enable gtk native-gtk3ui)
+		$(vice-multi_enable headless headlessui)
+		$(vice-multi_enable sdl sdlui2)
 		$(use_enable cpuhistory)
 		$(use_enable debug debug-gtk3ui)
 		$(use_enable debug)
 		$(use_enable doc pdf-docs)
 		$(use_enable ethernet)
 		$(use_enable ffmpeg external-ffmpeg)
-		$(use_enable ipv6)
 		$(use_enable lame)
 		$(use_enable parport libieee1284)
 		$(use_enable portaudio)
@@ -140,18 +140,16 @@ multibuild_src_configure() {
 		$(use_with png)
 		$(use_with pulseaudio pulse)
 		$(use_with zlib)
+		$(usex alsa --enable-midi $(use_enable oss midi))
+		$(usex pci '' ac_cv_header_pci_pci_h=no)
 		--disable-arch
 		--disable-sdlui
 		--disable-shared-ffmpeg
 		--disable-static-ffmpeg
+		--disable-static-lame
 		--enable-html-docs
-
-		# Some dependencies lack configure options so prevent them becoming
-		# automagic by using configure cache variables.
-		$(usex pci '' ac_cv_header_pci_pci_h=no)
-
-		# Ensure we use giflib, not ungif.
-		ac_cv_lib_ungif_EGifPutLine=no
+		--enable-ipv6
+		ac_cv_lib_ungif_EGifPutLine=no # ensure use giflib, not ungif
 	)
 
 	econf "${econfargs[@]}"


             reply	other threads:[~2021-10-03 11:20 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-03 11:19 Ionen Wolkens [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-08 17:47 [gentoo-commits] repo/gentoo:master commit in: app-emulation/vice/ 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-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
2016-07-01 18:41 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=1633259834.3b47efb343930139d4eb48eeea969c02988b503e.ionen@gentoo \
    --to=ionen@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