public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mart Raudsepp" <leio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gst-plugins-bad/
Date: Sun,  7 Apr 2024 21:20:51 +0000 (UTC)	[thread overview]
Message-ID: <1712524339.59a074ac0a1a71932a9d415fad89a5962124170f.leio@gentoo> (raw)

commit:     59a074ac0a1a71932a9d415fad89a5962124170f
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  7 20:48:23 2024 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Apr  7 21:12:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59a074ac

media-libs/gst-plugins-bad: fix bz2 build, drop msdk plugin, cleanups, touchups

* Fix USE=bzip2 not enabling bz2 plugin.
* Drop msdk plugin for now; it'll get reintroduced later as gst-plugins-msdk, plus
  an alternative gst-plugins-qsv. Currently no consumers of these have been found,
  as they aren't getting used automatically by playbin/encodebin yet.
* Drop transitional gtk, egl, gles2 and opengl USE flags; looks like everything has
  migrated to gst-plugins-gtk and gst-plugins-base[egl,gles2,opengl] deps.
* Fix automagic dep on gudev for va plugin.
* Fix automagic x11 dep for librfb plugin (USE=vnc).
* Move vaapi handling to the common block, and add it to GST_PLUGINS_NOAUTO to make
  that work.
* Drop leftover autotools era multilib_src_install_all - no libtool with meson.
* Add missing subslot dep operator for media-libs/libva

Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 ...11.ebuild => gst-plugins-bad-1.22.11-r1.ebuild} | 47 +++++-----------------
 1 file changed, 11 insertions(+), 36 deletions(-)

diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.11.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.11-r1.ebuild
similarity index 58%
rename from media-libs/gst-plugins-bad/gst-plugins-bad-1.22.11.ebuild
rename to media-libs/gst-plugins-bad/gst-plugins-bad-1.22.11-r1.ebuild
index 0cb8e762b030..916ec99294c7 100644
--- a/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.11.ebuild
+++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.11-r1.ebuild
@@ -11,19 +11,16 @@ HOMEPAGE="https://gstreamer.freedesktop.org/"
 LICENSE="LGPL-2"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
 
-# TODO: egl and gtk IUSE only for transition
-IUSE="X bzip2 +egl +gles2 gtk +introspection opengl +orc vaapi vnc wayland qsv" # Keep default IUSE mirrored with gst-plugins-base where relevant
+IUSE="X bzip2 +introspection +orc udev vaapi vnc wayland"
 
 # X11 is automagic for now, upstream #709530 - only used by librfb USE=vnc plugin
-# We mirror opengl/gles2 from -base to ensure no automagic openglmixers plugin (with "opengl?" it'd still get built with USE=-opengl here)
-# FIXME	gtk? ( >=media-plugins/gst-plugins-gtk-${PV}:${SLOT}[${MULTILIB_USEDEP}] )
 # Baseline requirement for libva is 1.6, but 1.10 gets more features
 RDEPEND="
 	!media-plugins/gst-plugins-va
 	!media-plugins/gst-transcoder
 
 	>=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP},introspection?]
-	>=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},egl?,introspection?,gles2=,opengl=]
+	>=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},introspection?]
 	introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
 
 	bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
@@ -36,14 +33,10 @@ RDEPEND="
 
 	orc? ( >=dev-lang/orc-0.4.33[${MULTILIB_USEDEP}] )
 
-	qsv? (
-		dev-libs/libgudev[${MULTILIB_USEDEP}]
-		media-libs/libva[wayland?,X?,${MULTILIB_USEDEP}]
-		media-libs/libvpl[wayland?,X?,${MULTILIB_USEDEP}]
-		x11-libs/libdrm[${MULTILIB_USEDEP}]
+	vaapi? (
+		>=media-libs/libva-1.10:=[${MULTILIB_USEDEP}]
+		udev? ( dev-libs/libgudev )
 	)
-
-	vaapi? ( >=media-libs/libva-1.10[${MULTILIB_USEDEP}] )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="dev-util/glib-utils"
@@ -61,42 +54,24 @@ src_prepare() {
 }
 
 multilib_src_configure() {
-	GST_PLUGINS_NOAUTO="hls ipcpipeline librfb msdk shm wayland"
+	GST_PLUGINS_NOAUTO="bz2 hls ipcpipeline librfb shm va wayland"
 
 	local emesonargs=(
 		-Dshm=enabled
 		-Dipcpipeline=enabled
 		-Dhls=disabled
+		$(meson_feature bzip2 bz2)
+		$(meson_feature vaapi va)
+		-Dudev=$(usex udev $(usex vaapi enabled disabled) disabled)
 		$(meson_feature vnc librfb)
+		-Dx11=$(usex X $(usex vnc enabled disabled) disabled)
 		$(meson_feature wayland)
 	)
 
-	if use qsv; then
-		emesonargs+=(
-			-Dmsdk=enabled
-			-Dmfx_api=oneVPL
-		)
-	else
-		emesonargs+=( -Dmsdk=disabled )
-	fi
-
-	# XXX: See comment above IUSE wrt egl; this was actually typo'd with
-	# myconf for ages and nothing exploded.
-	#if use opengl || use gles2; then
-	#	emesonargs+=( -Dgl=enabled )
-	#else
-	#	emesonargs+=( -Dgl=disabled )
-	#fi
-
-	gstreamer_multilib_src_configure "$(meson_feature vaapi va)"
+	gstreamer_multilib_src_configure
 }
 
 multilib_src_test() {
 	# Tests are slower than upstream expects
 	CK_DEFAULT_TIMEOUT=300 gstreamer_multilib_src_test
 }
-
-multilib_src_install_all() {
-	einstalldocs
-	find "${ED}" -name '*.la' -delete || die
-}


             reply	other threads:[~2024-04-07 21:20 UTC|newest]

Thread overview: 97+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-07 21:20 Mart Raudsepp [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-30 16:22 [gentoo-commits] repo/gentoo:master commit in: media-libs/gst-plugins-bad/ Mart Raudsepp
2024-04-30  8:28 Mart Raudsepp
2024-04-15  5:01 Arthur Zamarin
2024-04-13 11:01 Mart Raudsepp
2024-03-07 19:55 Andrew Ammerlaan
2023-11-08  9:08 Andrew Ammerlaan
2023-10-13  7:33 Mart Raudsepp
2023-06-10 15:48 Sam James
2023-06-10 14:23 Sam James
2023-06-10 13:18 Sam James
2023-03-21 21:33 Andrew Ammerlaan
2022-12-06 18:09 Andrew Ammerlaan
2022-11-20 18:34 Mart Raudsepp
2022-05-26  3:52 WANG Xuerui
2021-12-28  7:30 Sam James
2021-11-24  0:39 Sam James
2021-09-16 18:55 Sam James
2021-08-10  0:02 Marek Szuba
2021-07-28 22:19 Sam James
2021-02-17 13:53 Sam James
2021-01-10 20:22 Fabian Groffen
2020-01-01 14:03 Agostino Sarubbo
2019-12-10 18:10 Aaron Bauman
2019-12-08 23:37 Sergei Trofimovich
2019-05-21  3:39 Aaron Bauman
2019-02-05 23:21 Mart Raudsepp
2019-01-15 23:11 Mart Raudsepp
2018-09-21  5:23 Mart Raudsepp
2018-09-19  8:42 Sergei Trofimovich
2018-09-17 23:52 Mart Raudsepp
2018-07-15 22:52 Mart Raudsepp
2018-06-20 14:37 Mart Raudsepp
2018-06-16 18:27 Mart Raudsepp
2018-03-28 22:41 Matt Turner
2018-03-28 19:24 Markus Meier
2018-03-18 19:36 Sergei Trofimovich
2018-03-18  0:40 Thomas Deutschmann
2018-03-17 17:19 Mikle Kolyada
2018-01-03  0:05 Mart Raudsepp
2017-12-25 11:51 Markus Meier
2017-11-11 21:49 Thomas Deutschmann
2017-11-07  8:06 Sergei Trofimovich
2017-11-01 19:56 Sergei Trofimovich
2017-11-01  9:35 Sergei Trofimovich
2017-11-01  9:19 Sergei Trofimovich
2017-10-26  7:30 Sergei Trofimovich
2017-10-25 20:30 Mart Raudsepp
2017-10-09 22:48 Thomas Deutschmann
2017-09-18 21:42 Mart Raudsepp
2017-07-20  4:40 Markus Meier
2017-07-08 16:08 Sergei Trofimovich
2017-06-28 11:45 Alexis Ballier
2017-06-10 20:14 Sergei Trofimovich
2017-04-05 14:07 Tobias Klausmann
2017-02-22 21:50 Mart Raudsepp
2017-02-22 21:32 Michael Weber
2017-02-15 17:47 Markus Meier
2017-01-26 11:00 Agostino Sarubbo
2017-01-23 16:27 Agostino Sarubbo
2017-01-22 18:03 Agostino Sarubbo
2017-01-20  8:31 Mart Raudsepp
2017-01-20  8:07 Jeroen Roovers
2016-12-17 15:28 Markus Meier
2016-12-17 15:27 Markus Meier
2016-12-17 13:32 Pacho Ramos
2016-12-06 21:19 Markus Meier
2016-11-23 18:01 Tobias Klausmann
2016-11-23 17:59 Tobias Klausmann
2016-11-21 12:43 Agostino Sarubbo
2016-11-21 12:42 Agostino Sarubbo
2016-11-20 14:45 Michael Palimaka
2016-08-21 13:37 Gilles Dartiguelongue
2016-07-10 20:20 Andreas Hüttel
2016-05-03 20:38 Markus Meier
2016-03-21  4:15 Mart Raudsepp
2016-03-20 12:24 Agostino Sarubbo
2016-03-19 13:14 Agostino Sarubbo
2016-03-06 18:03 Mikle Kolyada
2016-02-28 16:32 Pacho Ramos
2016-02-28 16:32 Pacho Ramos
2016-01-20 15:59 Andreas Schuerch
2016-01-17 17:24 Agostino Sarubbo
2016-01-17 14:26 Tobias Klausmann
2016-01-17 11:28 Markus Meier
2016-01-12  7:25 Jeroen Roovers
2016-01-12  6:47 Jeroen Roovers
2016-01-11 10:56 Agostino Sarubbo
2016-01-09 15:04 Pacho Ramos
2016-01-02 21:51 Gilles Dartiguelongue
2015-11-09 18:32 Gilles Dartiguelongue
2015-10-25 23:01 Gilles Dartiguelongue
2015-10-25 17:32 Gilles Dartiguelongue
2015-10-25 17:32 Gilles Dartiguelongue
2015-10-25 17:32 Gilles Dartiguelongue
2015-10-05 22:02 Richard Farina
2015-10-05 22:00 Richard Farina

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=1712524339.59a074ac0a1a71932a9d415fad89a5962124170f.leio@gentoo \
    --to=leio@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