Patchwork gst-plugins-bad: update EXTRA_OECONF (mjpegtools, sdl)

login
register
mail settings
Submitter Andreas Oberritter
Date Dec. 8, 2010, 10:34 p.m.
Message ID <1291847662-4820-1-git-send-email-obi@opendreambox.org>
Download mbox | patch
Permalink /patch/32/
State Accepted
Commit 6fccd9030079aa69ad910c0a398903946cae3f91
Headers show

Comments

Andreas Oberritter - Dec. 8, 2010, 10:34 p.m.
* Fix build with mjepegtools installed, by disabling mpeg2enc and mplex.
  The configure script of gst-plugins-bad wants to use AC_TRY_RUN for
  both of them, which doesn't work when cross-compiling.
* Remove --enable-sdl, because it is the default.

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
 recipes/gstreamer/gst-plugins-bad_0.10.20.bb |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

Patch

diff --git a/recipes/gstreamer/gst-plugins-bad_0.10.20.bb b/recipes/gstreamer/gst-plugins-bad_0.10.20.bb
index 74e395b..17f20eb 100644
--- a/recipes/gstreamer/gst-plugins-bad_0.10.20.bb
+++ b/recipes/gstreamer/gst-plugins-bad_0.10.20.bb
@@ -5,7 +5,12 @@  SRC_URI[archive.sha256sum] = "1031dff866df976a957f34039addbab4c0753406299a275f4c
 
 DEPENDS += "orc-native orc libcdaudio gst-plugins-base openssl directfb libmodplug librsvg"
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
-# We don't have vdpau headers in OE and it creates crosscompile badness
-EXTRA_OECONF_append = " --disable-vdpau --enable-sdl"
+# We don't have vdpau headers in OE and it creates crosscompile badness.
+# Also, mpeg2enc and mplex from mjpegtools don't build, because of AC_TRY_RUN.
+EXTRA_OECONF += " \
+        --disable-mpeg2enc \
+        --disable-mplex \
+        --disable-vdpau \
+"