summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-30 19:44:37 +0100
committerSam James <sam@gentoo.org>2023-05-30 19:46:03 +0100
commit59948a771fdea5ba0dddbd681f336c54de10cd06 (patch)
tree5004ff1175450eccae20f516898750dba8157ab8 /media-plugins/gst-plugins-vaapi
parentnet-libs/libssh2: add 1.11.0 (diff)
downloadgentoo-59948a771fdea5ba0dddbd681f336c54de10cd06.tar.gz
gentoo-59948a771fdea5ba0dddbd681f336c54de10cd06.tar.bz2
gentoo-59948a771fdea5ba0dddbd681f336c54de10cd06.zip
media-plugins/gst-plugins-vaapi: fixup meson options
Closes: https://bugs.gentoo.org/907429 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-plugins/gst-plugins-vaapi')
-rw-r--r--media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.22.3-r1.ebuild (renamed from media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.22.3.ebuild)18
1 files changed, 9 insertions, 9 deletions
diff --git a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.22.3.ebuild b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.22.3-r1.ebuild
index d43cde42d49a..69a7ccfc8d05 100644
--- a/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.22.3.ebuild
+++ b/media-plugins/gst-plugins-vaapi/gst-plugins-vaapi-1.22.3-r1.ebuild
@@ -50,7 +50,7 @@ GL_DEPS="
RDEPEND="
>=media-libs/gst-plugins-base-${GST_REQ}:${SLOT}[${MULTILIB_USEDEP}]
>=media-libs/gst-plugins-bad-${GST_REQ}:${SLOT}[${MULTILIB_USEDEP}]
- >=media-libs/libva-1.4.0:=[drm(+)?,wayland?,X?,${MULTILIB_USEDEP}]
+ >=media-libs/libva-1.10.0:=[drm(+)?,wayland?,X?,${MULTILIB_USEDEP}]
drm? (
>=virtual/libudev-208:=[${MULTILIB_USEDEP}]
>=x11-libs/libdrm-2.4.98[${MULTILIB_USEDEP}]
@@ -73,22 +73,22 @@ RESTRICT="test"
multilib_src_configure() {
local emesonargs=(
- -Dwith_encoders=yes
- -Dwith_drm=$(usex drm yes no)
- -Dwith_x11=$(usex X yes no)
- -Dwith_wayland=$(usex wayland yes no)
+ -Dencoders=enabled
+ $(meson_feature drm)
+ $(meson_feature X x11)
+ $(meson_feature wayland)
)
if use opengl || use gles2; then
- emesonargs+=( -Dwith_egl=$(usex egl yes no) )
+ emesonargs+=( $(meson_feature egl) )
else
- emesonargs+=( -Dwith_egl=no )
+ emesonargs+=( -Degl=disabled )
fi
if use opengl && use X; then
- emesonargs+=( -Dwith_glx=yes )
+ emesonargs+=( -Dglx=enabled )
else
- emesonargs+=( -Dwith_glx=no )
+ emesonargs+=( -Dglx=disabled )
fi
# Workaround EGL/eglplatform.h being built with X11 present