summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2018-06-20 17:37:19 +0300
committerMart Raudsepp <leio@gentoo.org>2018-06-20 17:37:19 +0300
commit4f610617e9cdb7cb1ca0fbfaa90770efad198a79 (patch)
tree525631531e6c4ef277e2e46b60f0451c3e15a29f /media-libs
parentwww-client/chromium: dev channel bump (69.0.3464.0) (diff)
downloadgentoo-4f610617e9cdb7cb1ca0fbfaa90770efad198a79.tar.gz
gentoo-4f610617e9cdb7cb1ca0fbfaa90770efad198a79.tar.bz2
gentoo-4f610617e9cdb7cb1ca0fbfaa90770efad198a79.zip
media-libs/gst-plugins-bad: fix openglmixers plugin enabling
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/gst-plugins-bad/gst-plugins-bad-1.14.1-r1.ebuild (renamed from media-libs/gst-plugins-bad/gst-plugins-bad-1.14.1.ebuild)10
1 files changed, 9 insertions, 1 deletions
diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.14.1.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.14.1-r1.ebuild
index 06fc61a66a53..715840165ea3 100644
--- a/media-libs/gst-plugins-bad/gst-plugins-bad-1.14.1.ebuild
+++ b/media-libs/gst-plugins-bad/gst-plugins-bad-1.14.1-r1.ebuild
@@ -47,6 +47,13 @@ src_prepare() {
}
multilib_src_configure() {
+ local myconf=()
+ if use opengl || use gles2; then
+ myconf+=( --enable-gl )
+ else
+ myconf+=( --disable-gl )
+ fi
+
# Always enable shm (shm_open) and ipcpipeline (sys/socket.h); no extra deps
gstreamer_multilib_src_configure \
$(multilib_native_use_enable introspection) \
@@ -59,7 +66,8 @@ multilib_src_configure() {
--disable-debug \
--without-player-tests \
--enable-shm \
- --enable-ipcpipeline
+ --enable-ipcpipeline \
+ "${myconf[@]}"
if multilib_is_native_abi; then
local x