diff options
author | Jonathan Liu <net147@gmail.com> | 2016-02-27 01:14:16 +1100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 11:33:07 +0000 |
commit | 8caa5921da97d8d4e8434e1381da43697e6232a2 (patch) | |
tree | ab4ee11d63e3559b0b4120c92496e670c400f686 | |
parent | 00117606637549fa3bb6d1494e79c0a3ad9ee99b (diff) | |
download | poky-8caa5921da97d8d4e8434e1381da43697e6232a2.tar.gz |
ffmpeg: add bzlib, lzma and xv PACKAGECONFIGs
(From OE-Core rev: 2a3276653b110f020e2f906be5d6966c9b6efbb3)
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb index 3f0cbf84f0..036d4f147d 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb | |||
@@ -29,14 +29,16 @@ DEPENDS = "alsa-lib zlib libogg yasm-native" | |||
29 | 29 | ||
30 | inherit autotools pkgconfig | 30 | inherit autotools pkgconfig |
31 | 31 | ||
32 | PACKAGECONFIG ??= "avdevice avfilter gpl theora x264 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | 32 | PACKAGECONFIG ??= "avdevice avfilter bzlib gpl lzma theora x264 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 xv', '', d)}" |
33 | PACKAGECONFIG[avdevice] = "--enable-avdevice,--disable-avdevice, libxv" | 33 | PACKAGECONFIG[avdevice] = "--enable-avdevice,--disable-avdevice" |
34 | PACKAGECONFIG[avfilter] = "--enable-avfilter,--disable-avfilter" | 34 | PACKAGECONFIG[avfilter] = "--enable-avfilter,--disable-avfilter" |
35 | PACKAGECONFIG[bzlib] = "--enable-bzlib,--disable-bzlib,bzip2" | ||
35 | PACKAGECONFIG[faac] = "--enable-libfaac,--disable-libfaac,faac" | 36 | PACKAGECONFIG[faac] = "--enable-libfaac,--disable-libfaac,faac" |
36 | PACKAGECONFIG[gpl] = "--enable-gpl,--disable-gpl" | 37 | PACKAGECONFIG[gpl] = "--enable-gpl,--disable-gpl" |
37 | PACKAGECONFIG[gsm] = "--enable-libgsm,--disable-libgsm,libgsm" | 38 | PACKAGECONFIG[gsm] = "--enable-libgsm,--disable-libgsm,libgsm" |
38 | PACKAGECONFIG[jack] = "--enable-indev=jack,--disable-indev=jack,jack" | 39 | PACKAGECONFIG[jack] = "--enable-indev=jack,--disable-indev=jack,jack" |
39 | PACKAGECONFIG[libvorbis] = "--enable-libvorbis,--disable-libvorbis,libvorbis" | 40 | PACKAGECONFIG[libvorbis] = "--enable-libvorbis,--disable-libvorbis,libvorbis" |
41 | PACKAGECONFIG[lzma] = "--enable-lzma,--disable-lzma,xz" | ||
40 | PACKAGECONFIG[mp3lame] = "--enable-libmp3lame,--disable-libmp3lame,lame" | 42 | PACKAGECONFIG[mp3lame] = "--enable-libmp3lame,--disable-libmp3lame,lame" |
41 | PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl" | 43 | PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl" |
42 | PACKAGECONFIG[schroedinger] = "--enable-libschroedinger,--disable-libschroedinger,schroedinger" | 44 | PACKAGECONFIG[schroedinger] = "--enable-libschroedinger,--disable-libschroedinger,schroedinger" |
@@ -46,6 +48,7 @@ PACKAGECONFIG[vaapi] = "--enable-vaapi,--disable-vaapi,libva" | |||
46 | PACKAGECONFIG[vpx] = "--enable-libvpx,--disable-libvpx,libvpx" | 48 | PACKAGECONFIG[vpx] = "--enable-libvpx,--disable-libvpx,libvpx" |
47 | PACKAGECONFIG[x11] = "--enable-x11grab,--disable-x11grab,virtual/libx11 libxfixes libxext xproto virtual/libsdl" | 49 | PACKAGECONFIG[x11] = "--enable-x11grab,--disable-x11grab,virtual/libx11 libxfixes libxext xproto virtual/libsdl" |
48 | PACKAGECONFIG[x264] = "--enable-libx264,--disable-libx264,x264" | 50 | PACKAGECONFIG[x264] = "--enable-libx264,--disable-libx264,x264" |
51 | PACKAGECONFIG[xv] = "--enable-outdev=xv,--disable-outdev=xv,libxv" | ||
49 | 52 | ||
50 | # Check codecs that require --enable-nonfree | 53 | # Check codecs that require --enable-nonfree |
51 | USE_NONFREE = "${@bb.utils.contains_any('PACKAGECONFIG', [ 'faac', 'openssl' ], 'yes', '', d)}" | 54 | USE_NONFREE = "${@bb.utils.contains_any('PACKAGECONFIG', [ 'faac', 'openssl' ], 'yes', '', d)}" |