[OE-core] [PATCH] ffmpeg: add bzlib and lzma PACKAGECONFIGs

Jonathan Liu net147 at gmail.com
Fri Feb 26 14:06:49 UTC 2016


On 26 February 2016 at 22:16, Jonathan Liu <net147 at gmail.com> wrote:
> Signed-off-by: Jonathan Liu <net147 at gmail.com>
> ---
>  meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb
> index e7b20fa..53156ed 100644
> --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb
> +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.0.bb
> @@ -30,14 +30,16 @@ DEPENDS += "${@bb.utils.contains('PACKAGECONFIG', 'avdevice', bb.utils.contains(
>
>  inherit autotools pkgconfig
>
> -PACKAGECONFIG ??= "avdevice avfilter gpl theora x264 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
> +PACKAGECONFIG ??= "avdevice avfilter bzlib gpl lzma theora x264 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
>  PACKAGECONFIG[avdevice] = "--enable-avdevice,--disable-avdevice"
>  PACKAGECONFIG[avfilter] = "--enable-avfilter,--disable-avfilter"
> +PACKAGECONFIG[bzlib] = "--enable-bzlib,--disable-bzlib,bzip2"
>  PACKAGECONFIG[faac] = "--enable-libfaac,--disable-libfaac,faac"
>  PACKAGECONFIG[gpl] = "--enable-gpl,--disable-gpl"
>  PACKAGECONFIG[gsm] = "--enable-libgsm,--disable-libgsm,libgsm"
>  PACKAGECONFIG[jack] = "--enable-indev=jack,--disable-indev=jack,jack"
>  PACKAGECONFIG[libvorbis] = "--enable-libvorbis,--disable-libvorbis,libvorbis"
> +PACKAGECONFIG[lzma] = "--enable-lzma,--disable-lzma,xz"
>  PACKAGECONFIG[mp3lame] = "--enable-libmp3lame,--disable-libmp3lame,lame"
>  PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl"
>  PACKAGECONFIG[schroedinger] = "--enable-libschroedinger,--disable-libschroedinger,schroedinger"
> --
> 2.7.1
>

Please disregard this patch. I will rework it to include a
PACKAGECONFIG for xv as well.

Regards,
Jonathan



More information about the Openembedded-core mailing list