From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gst-plugins-bad/
Date: Sat, 10 Jun 2023 13:18:17 +0000 (UTC) [thread overview]
Message-ID: <1686402988.d8fdc47378f4d53b5c1ebcc0f821d5b9f1e4753e.sam@gentoo> (raw)
commit: d8fdc47378f4d53b5c1ebcc0f821d5b9f1e4753e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 10 11:50:21 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 13:16:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8fdc473
media-libs/gst-plugins-bad: unsplit gst-plugins-va
It belongs better in gst-plugins-bad, given vaapi is a global USE flag, and
it's not split upstream anyway.
Closes: https://bugs.gentoo.org/907479
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../gst-plugins-bad-1.22.3-r2.ebuild | 102 +++++++++++++++++++++
1 file changed, 102 insertions(+)
diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3-r2.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3-r2.ebuild
new file mode 100644
index 000000000000..b4aa92c77119
--- /dev/null
+++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3-r2.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+GST_ORG_MODULE="gst-plugins-bad"
+PYTHON_COMPAT=( python3_{10..11} )
+inherit gstreamer-meson python-any-r1
+
+DESCRIPTION="Less plugins for GStreamer"
+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
+
+# 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}] )
+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=]
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
+
+ bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
+ vnc? ( X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) )
+ wayland? (
+ >=dev-libs/wayland-1.4.0[${MULTILIB_USEDEP}]
+ >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}]
+ >=dev-libs/wayland-protocols-1.15
+ )
+
+ orc? ( >=dev-lang/orc-0.4.33[${MULTILIB_USEDEP}] )
+
+ qsv? ( media-libs/oneVPL[wayland?,X?,${MULTILIB_USEDEP}] )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="
+ ${PYTHON_DEPS}
+ dev-util/glib-utils
+"
+
+DOCS=( AUTHORS ChangeLog NEWS README.md RELEASE )
+
+# FIXME: gstharness.c:889:gst_harness_new_with_padnames: assertion failed: (element != NULL)
+#RESTRICT="test"
+
+PATCHES=(
+ "${FILESDIR}"/0001-meson-Fix-libdrm-and-vaapi-configure-checks.patch
+ "${FILESDIR}"/0002-meson-Add-feature-options-for-optional-va-deps-libdr.patch
+)
+
+src_prepare() {
+ default
+ addpredict /dev # Prevent sandbox violations bug #570624
+}
+
+multilib_src_configure() {
+ GST_PLUGINS_NOAUTO="shm ipcpipeline librfb msdk hls"
+
+ local emesonargs=(
+ -Dshm=enabled
+ -Dipcpipeline=enabled
+ -Dhls=disabled
+ $(meson_feature vaapi va)
+ $(meson_feature vnc librfb)
+ $(meson_feature wayland)
+ )
+
+ if use qsv; then
+ emesonargs+=(
+ -Dmsdk=enabled
+ -Dmfx_api=oneVPL
+ )
+ else
+ emesonargs+=( -Dmsdk=disabled )
+ fi
+
+ if use opengl || use gles2; then
+ myconf+=( -Dgl=enabled )
+ else
+ myconf+=( -Dgl=disabled )
+ fi
+
+ 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
+}
next reply other threads:[~2023-06-10 13:18 UTC|newest]
Thread overview: 97+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-10 13:18 Sam James [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-04-07 21:20 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-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=1686402988.d8fdc47378f4d53b5c1ebcc0f821d5b9f1e4753e.sam@gentoo \
--to=sam@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