1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-09 15:50:16 +00:00

ffmpeg: disable GPL features by default

--disable-gpl is the upstream default, and using GPL features violates
the license when linking into non-GPL programs.

Enabling it by default breaks user expectations, may cause people to
violate the GPL by mistake.

(From OE-Core rev: ae9273f7e3b6bbf6cbdbdfbd32634cebe5c1b0ce)

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Yann Dirson
2021-03-23 17:36:49 +01:00
committed by Richard Purdie
parent fef6805f68
commit e9929301d4
@@ -43,7 +43,7 @@ DEPENDS = "nasm-native"
inherit autotools pkgconfig
PACKAGECONFIG ??= "avdevice avfilter avcodec avformat swresample swscale postproc avresample \
alsa bzlib gpl lzma pic pthreads shared theora x264 zlib \
alsa bzlib lzma pic pthreads shared theora zlib \
${@bb.utils.contains('AVAILTUNES', 'mips32r2', 'mips32r2', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xv xcb', '', d)}"