Skip to contentSkip to conversation

ffmpeg: disable GPL features by default

PATCH New Yann Dirson 1 participant 1 message Mar 23, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ffmpeg: disable GPL features by default

From: Yann Dirson <[email protected]>

--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.

---
 meta/recipes-multimedia/ffmpeg/ffmpeg_4.3.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/ffmpeg/ffmpeg_4.3.2.bb +1 -1
index 9dd56fbba4..08be38ca50 100644
@@ -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)}"
 
Signature · 1 line
2.30.2