summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
diff options
context:
space:
mode:
authorCarlos Rafael Giani <dv@pseudoterminal.org>2014-08-27 16:47:03 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-28 15:12:43 +0100
commit49ade79ec243bac49fea21667037ee29a8ccb82f (patch)
tree94bd43404a5973483047a58d0d6011206dbac956 /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
parentf0f50a97839cb3b9a9c67280c119ea5c2ec336e0 (diff)
downloadpoky-49ade79ec243bac49fea21667037ee29a8ccb82f.tar.gz
gstreamer1.0-plugins-bad: Fix GL/GLES configuration
* Replace --disable/enable-gl with the individual EGL, GLES, GL switches (--disable-gl turns off GL support entirely) * Put the default opengl packageconfig into its own variable to make it easier for distros and BSP layers to define what to use (GL, GLES, or neither) * Add libglu as a dependency for desktop GL * Patch configure.ac to ensure libraries are only searched and linked to if the corresponding API isn't disabled (this prevents cases where libgstgl is linked to GLU even though desktop GL is dis- and GLES enabled) (From OE-Core rev: 7bf062f2e2b92c2401fa2386b6281aae023b21a8) Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
index 8a7c5c1d62..52ef3b8486 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
@@ -8,19 +8,24 @@ S = "${WORKDIR}/gst-plugins-bad-${PV}"
8 8
9inherit gettext 9inherit gettext
10 10
11# opengl packageconfig factored out to make it easy for distros
12# and BSP layers to pick either (desktop) opengl, gles2, or no GL
13PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"
11 14
12PACKAGECONFIG ??= " \ 15PACKAGECONFIG ??= " \
16 ${PACKAGECONFIG_GL} \
13 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ 17 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
14 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)} \
15 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ 18 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
16 ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ 19 ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
17 orc curl uvch264 neon sndfile \ 20 orc curl uvch264 neon sndfile \
18 hls sbc dash bz2 smoothstreaming \ 21 hls sbc dash bz2 smoothstreaming \
19 " 22 "
23
20# dash = Dynamic Adaptive Streaming over HTTP 24# dash = Dynamic Adaptive Streaming over HTTP
21PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass" 25PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass"
22PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl" 26PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl"
23PACKAGECONFIG[gl] = "--enable-gl,--disable-gl,virtual/egl virtual/libgles2" 27PACKAGECONFIG[gles2] = "--enable-gles2 --enable-egl,--disable-gles2 --disable-egl,virtual/libgles2 virtual/egl"
28PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,virtual/libgl libglu"
24PACKAGECONFIG[faac] = "--enable-faac,--disable-faac,faac" 29PACKAGECONFIG[faac] = "--enable-faac,--disable-faac,faac"
25PACKAGECONFIG[faad] = "--enable-faad,--disable-faad,faad2" 30PACKAGECONFIG[faad] = "--enable-faad,--disable-faad,faad2"
26PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms" 31PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms"