diff options
author | Mart Raudsepp <leio@gentoo.org> | 2024-04-03 23:01:18 +0300 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2024-04-03 23:01:18 +0300 |
commit | 822cde312a67beb79e3f86ba4493b440517baa40 (patch) | |
tree | ac1e533ef1399e79a8c01b2711dd0bb031637010 /media-libs/gst-plugins-base | |
parent | x11-wm/herbstluftwm: sync live (diff) | |
download | gentoo-822cde312a67beb79e3f86ba4493b440517baa40.tar.gz gentoo-822cde312a67beb79e3f86ba4493b440517baa40.tar.bz2 gentoo-822cde312a67beb79e3f86ba4493b440517baa40.zip |
media-libs/gst-plugins-base: fix build with USE="X gles2 -opengl"
.. by disabling GLX gl_platform in that case. GL functions via EGL/GLES2 then,
including on xorg-server.
Closes: https://bugs.gentoo.org/923030
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'media-libs/gst-plugins-base')
-rw-r--r-- | media-libs/gst-plugins-base/gst-plugins-base-1.22.11.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.22.11.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.22.11.ebuild index c7b16e3a4fd0..2d9d62dcae27 100644 --- a/media-libs/gst-plugins-base/gst-plugins-base-1.22.11.ebuild +++ b/media-libs/gst-plugins-base/gst-plugins-base-1.22.11.ebuild @@ -19,7 +19,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv # With the following limitations: # * If opengl and/or gles2 is enabled, a platform has to be enabled - x11 or egl in our case, but x11 (glx) is acceptable only with opengl # * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case -# * glx platform requires opengl API +# * glx platform requires opengl API (but we don't REQUIRED_USE that as USE=X is common, glx is just disabled with USE=-opengl or USE=-X) # * wayland, gbm and most other non-glx WSIs require egl platform # Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options; # and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; @@ -114,7 +114,7 @@ multilib_src_configure() { if use opengl || use gles2; then # because meson doesn't likes extraneous commas local gl_api=( $(use opengl && echo opengl) $(use gles2 && echo gles2) ) - local gl_platform=( $(use X && echo glx) $(use egl && echo egl) ) + local gl_platform=( $(use X && use opengl && echo glx) $(use egl && echo egl) ) local gl_winsys=( $(use X && echo x11) $(use wayland && echo wayland) |