summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@linux.intel.com>2013-04-08 10:35:31 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-08 16:56:46 +0100
commita808efccad3a5cbb0c01fbda72390b8c905927a1 (patch)
treef9db4666d93898a34649e440f0ab6467ee0de5e3 /meta
parent647caeb0fbed502f7710af57cb0afe055cc631cb (diff)
downloadpoky-a808efccad3a5cbb0c01fbda72390b8c905927a1.tar.gz
gst-ffmpeg: fix --disable-yasm
The gst-ffmpeg build shows the following warning: configure: WARNING: unrecognized options: --disable-yasm which means that the following test in configure always fails and --disable-yasm never gets passed to the embedded ffmpeg build: 'if test "x$disable_yasm" = "xyes"; then' embffmpeg_configure_args="$embffmpeg_configure_args --disable-yasm" commit 4d309730 ['gst-ffmpeg: configure-fix patch used wrong test'] actually fixed the obviously backwards syntax by reversing the test - prior to that, --disable-yasm would always unconditionally be passed into the embedded ffmpeg config. This fixes things so that the variable actually exists and makes the test meaningful. (From OE-Core rev: da9515621134c26e54f43b96cdad0c6e6c5876bf) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/configure-fix.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/configure-fix.patch b/meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/configure-fix.patch
index 2bb124b8bc..9ef6f7c4bf 100644
--- a/meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/configure-fix.patch
+++ b/meta/recipes-multimedia/gstreamer/gst-ffmpeg-0.10.13/configure-fix.patch
@@ -7,11 +7,13 @@ Signed-off-by: Shane Wang <shane.wang@intel.com>
7diff -r f2f8f74c6e30 configure.ac 7diff -r f2f8f74c6e30 configure.ac
8--- a/configure.ac Thu Dec 22 23:56:09 2011 +0800 8--- a/configure.ac Thu Dec 22 23:56:09 2011 +0800
9+++ b/configure.ac Thu Dec 22 23:57:37 2011 +0800 9+++ b/configure.ac Thu Dec 22 23:57:37 2011 +0800
10@@ -325,6 +325,10 @@ 10@@ -325,6 +325,12 @@
11 --enable-gpl" 11 --enable-gpl"
12 fi 12 fi
13 13
14+ if test "x$disable_yasm" = "xyes"; then 14+ AC_ARG_ENABLE(yasm,
15+ [AC_HELP_STRING([--disable-yasm], [disable use of yasm assembler])])
16+ if test "x$enable_yasm" = "xno"; then
15+ embffmpeg_configure_args="$embffmpeg_configure_args --disable-yasm" 17+ embffmpeg_configure_args="$embffmpeg_configure_args --disable-yasm"
16+ fi 18+ fi
17+ 19+