summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb11
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc3
2 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb
index 0296ada0aa..1dfbb9b04c 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb
@@ -94,6 +94,17 @@ do_configure() {
94 94
95PACKAGES_DYNAMIC += "^lib(av(codec|device|filter|format|util|resample)|swscale|swresample|postproc).*" 95PACKAGES_DYNAMIC += "^lib(av(codec|device|filter|format|util|resample)|swscale|swresample|postproc).*"
96 96
97# ffmpeg disables PIC on some platforms (e.g. x86-32)
98INSANE_SKIP_${MLPREFIX}libavcodec = "textrel"
99INSANE_SKIP_${MLPREFIX}libavdevice = "textrel"
100INSANE_SKIP_${MLPREFIX}libavfilter = "textrel"
101INSANE_SKIP_${MLPREFIX}libavformat = "textrel"
102INSANE_SKIP_${MLPREFIX}libavutil = "textrel"
103INSANE_SKIP_${MLPREFIX}libavresample = "textrel"
104INSANE_SKIP_${MLPREFIX}libswscale = "textrel"
105INSANE_SKIP_${MLPREFIX}libswresample = "textrel"
106INSANE_SKIP_${MLPREFIX}libpostproc = "textrel"
107
97python populate_packages_prepend() { 108python populate_packages_prepend() {
98 av_libdir = d.expand('${libdir}') 109 av_libdir = d.expand('${libdir}')
99 av_pkgconfig = d.expand('${libdir}/pkgconfig') 110 av_pkgconfig = d.expand('${libdir}/pkgconfig')
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
index 598a349e02..363101e1a4 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
@@ -41,3 +41,6 @@ FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
41# http://errors.yoctoproject.org/Errors/Details/20493/ 41# http://errors.yoctoproject.org/Errors/Details/20493/
42ARM_INSTRUCTION_SET_armv4 = "arm" 42ARM_INSTRUCTION_SET_armv4 = "arm"
43ARM_INSTRUCTION_SET_armv5 = "arm" 43ARM_INSTRUCTION_SET_armv5 = "arm"
44
45# ffmpeg/libav disables PIC on some platforms (e.g. x86-32)
46INSANE_SKIP_${PN} = "textrel"