summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2017-07-20 16:55:11 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-24 09:13:32 +0100
commit9d6b0c508b3ad1297893674bf41216d9fa90503b (patch)
treef65457b0bd3c71afb6fb2b2b9c57cfb9e0aa610e /meta/recipes-multimedia
parentba1ea783fda81845c8948bf443e49603678be513 (diff)
downloadpoky-9d6b0c508b3ad1297893674bf41216d9fa90503b.tar.gz
ffmpeg: fix pkg-config utilization
in config.log we can see: WARNING: aarch64-linaro-linux-pkg-config not found, library detection may fail. ffmpeg configure script is not looking for pkg-config at the rigt place since it is assuming cross compilation. let's force its value in the recipe. This patches 'fixes' library detection, so it also adds: --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-libxcb-shape Which were dangling configure options, which started to be enabled after the pkg-config fix, so they need now to be explicitely disabled. Follow up patch will enable these options when DISTRO_FEATURES has x11. (From OE-Core rev: 3d5f11f0a1fd036e28a1d3f0c3169d8e21cc1358) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r--meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb
index 73213cc5a1..3c18367411 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.2.bb
@@ -88,6 +88,10 @@ EXTRA_OECONF = " \
88 --enable-pic \ 88 --enable-pic \
89 --enable-shared \ 89 --enable-shared \
90 --enable-pthreads \ 90 --enable-pthreads \
91 --disable-libxcb \
92 --disable-libxcb-shm \
93 --disable-libxcb-xfixes \
94 --disable-libxcb-shape \
91 ${@bb.utils.contains('USE_NONFREE', 'yes', '--enable-nonfree', '', d)} \ 95 ${@bb.utils.contains('USE_NONFREE', 'yes', '--enable-nonfree', '', d)} \
92 \ 96 \
93 --cross-prefix=${TARGET_PREFIX} \ 97 --cross-prefix=${TARGET_PREFIX} \
@@ -108,6 +112,7 @@ EXTRA_OECONF = " \
108 --datadir=${datadir}/ffmpeg \ 112 --datadir=${datadir}/ffmpeg \
109 ${@bb.utils.contains('AVAILTUNES', 'mips32r2', '', '--disable-mipsdsp --disable-mipsdspr2', d)} \ 113 ${@bb.utils.contains('AVAILTUNES', 'mips32r2', '', '--disable-mipsdsp --disable-mipsdspr2', d)} \
110 --cpu=${@cpu(d)} \ 114 --cpu=${@cpu(d)} \
115 --pkg-config=pkg-config \
111" 116"
112 117
113EXTRA_OECONF_append_linux-gnux32 = " --disable-asm" 118EXTRA_OECONF_append_linux-gnux32 = " --disable-asm"