diff options
author | Sam James <sam@gentoo.org> | 2023-06-10 15:22:42 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-06-10 15:23:26 +0100 |
commit | 824ce0e87ee4eff6cb4ebfb2a45e3fcaf784b9cd (patch) | |
tree | f9400f8cbf7f3a9a78e6e2462f5e2670b0af3994 /media-libs/gst-plugins-bad | |
parent | dev-util/maturin: add 1.1.0 (diff) | |
download | gentoo-824ce0e87ee4eff6cb4ebfb2a45e3fcaf784b9cd.tar.gz gentoo-824ce0e87ee4eff6cb4ebfb2a45e3fcaf784b9cd.tar.bz2 gentoo-824ce0e87ee4eff6cb4ebfb2a45e3fcaf784b9cd.zip |
media-libs/gst-plugins-bad: fix va
Thanks to kostadin for reporting. Add in a bunch of stashed changes (like
commenting out RESTRICT="test" again for now as I need to recheck that).
Bug: https://bugs.gentoo.org/907479
Fixes: d8fdc47378f4d53b5c1ebcc0f821d5b9f1e4753e
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/gst-plugins-bad')
-rw-r--r-- | media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3-r3.ebuild (renamed from media-libs/gst-plugins-bad/gst-plugins-bad-1.22.3-r2.ebuild) | 20 |
1 files changed, 12 insertions, 8 deletions
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-r3.ebuild index b4aa92c77119..b3bfad99e2f5 100644 --- 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-r3.ebuild @@ -18,6 +18,7 @@ IUSE="X bzip2 +egl gles2 gtk +introspection +opengl +orc vaapi vnc wayland qsv" # 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 @@ -37,6 +38,8 @@ RDEPEND=" orc? ( >=dev-lang/orc-0.4.33[${MULTILIB_USEDEP}] ) qsv? ( media-libs/oneVPL[wayland?,X?,${MULTILIB_USEDEP}] ) + + vaapi? ( >=media-libs/libva-1.10[${MULTILIB_USEDEP}] ) " DEPEND="${RDEPEND}" @@ -49,7 +52,7 @@ BDEPEND=" DOCS=( AUTHORS ChangeLog NEWS README.md RELEASE ) # FIXME: gstharness.c:889:gst_harness_new_with_padnames: assertion failed: (element != NULL) -#RESTRICT="test" +RESTRICT="test" PATCHES=( "${FILESDIR}"/0001-meson-Fix-libdrm-and-vaapi-configure-checks.patch @@ -68,7 +71,6 @@ multilib_src_configure() { -Dshm=enabled -Dipcpipeline=enabled -Dhls=disabled - $(meson_feature vaapi va) $(meson_feature vnc librfb) $(meson_feature wayland) ) @@ -82,13 +84,15 @@ multilib_src_configure() { emesonargs+=( -Dmsdk=disabled ) fi - if use opengl || use gles2; then - myconf+=( -Dgl=enabled ) - else - myconf+=( -Dgl=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 + gstreamer_multilib_src_configure "$(meson_feature vaapi va)" } multilib_src_test() { |