commit: 4f610617e9cdb7cb1ca0fbfaa90770efad198a79
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 20 14:37:19 2018 +0000
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Wed Jun 20 14:37:19 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f610617
media-libs/gst-plugins-bad: fix openglmixers plugin enabling
Package-Manager: Portage-2.3.40, Repoman-2.3.9
...gins-bad-1.14.1.ebuild => gst-plugins-bad-1.14.1-r1.ebuild} | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
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
similarity index 93%
rename from media-libs/gst-plugins-bad/gst-plugins-bad-1.14.1.ebuild
rename to media-libs/gst-plugins-bad/gst-plugins-bad-1.14.1-r1.ebuild
index 06fc61a66a5..715840165ea 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