summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb')
-rw-r--r--meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb16
1 files changed, 14 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb
index 7dfcf094f3..0296ada0aa 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb
@@ -29,9 +29,21 @@ DEPENDS = "alsa-lib zlib libogg yasm-native"
29 29
30inherit autotools pkgconfig 30inherit autotools pkgconfig
31 31
32PACKAGECONFIG ??= "avdevice avfilter bzlib gpl lzma theora x264 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xv', '', d)}" 32PACKAGECONFIG ??= "avdevice avfilter avcodec avformat swresample swscale postproc \
33 bzlib gpl lzma theora x264 \
34 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xv', '', d)}"
35
36# libraries to build in addition to avutil
33PACKAGECONFIG[avdevice] = "--enable-avdevice,--disable-avdevice" 37PACKAGECONFIG[avdevice] = "--enable-avdevice,--disable-avdevice"
34PACKAGECONFIG[avfilter] = "--enable-avfilter,--disable-avfilter" 38PACKAGECONFIG[avfilter] = "--enable-avfilter,--disable-avfilter"
39PACKAGECONFIG[avcodec] = "--enable-avcodec,--disable-avcodec"
40PACKAGECONFIG[avformat] = "--enable-avformat,--disable-avformat"
41PACKAGECONFIG[swresample] = "--enable-swresample,--disable-swresample"
42PACKAGECONFIG[swscale] = "--enable-swscale,--disable-swscale"
43PACKAGECONFIG[postproc] = "--enable-postproc,--disable-postproc"
44PACKAGECONFIG[avresample] = "--enable-avresample,--disable-avresample"
45
46# features to support
35PACKAGECONFIG[bzlib] = "--enable-bzlib,--disable-bzlib,bzip2" 47PACKAGECONFIG[bzlib] = "--enable-bzlib,--disable-bzlib,bzip2"
36PACKAGECONFIG[faac] = "--enable-libfaac,--disable-libfaac,faac" 48PACKAGECONFIG[faac] = "--enable-libfaac,--disable-libfaac,faac"
37PACKAGECONFIG[gpl] = "--enable-gpl,--disable-gpl" 49PACKAGECONFIG[gpl] = "--enable-gpl,--disable-gpl"
@@ -80,7 +92,7 @@ do_configure() {
80 ${S}/configure ${EXTRA_OECONF} 92 ${S}/configure ${EXTRA_OECONF}
81} 93}
82 94
83PACKAGES_DYNAMIC += "^lib(av(codec|device|filter|format|util)|swscale).*" 95PACKAGES_DYNAMIC += "^lib(av(codec|device|filter|format|util|resample)|swscale|swresample|postproc).*"
84 96
85python populate_packages_prepend() { 97python populate_packages_prepend() {
86 av_libdir = d.expand('${libdir}') 98 av_libdir = d.expand('${libdir}')