Skip to contentSkip to conversation

gstreamer1.0-libav: remove explicit LICENSE_FLAGS

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gstreamer1.0-libav: remove explicit LICENSE_FLAGS

From: Yann Dirson <[email protected]>

This flag does not describe the gst-libav package, but ffmpeg instead. It gets in the way of using finer-grained LICENSE_FLAGS in ffmpeg.

It is above all not needed, the real problem is even more clear without it:

ffmpeg was skipped: because it has a restricted license 'commercial'. Which is not whitelisted in LICENSE_FLAGS_WHITELIST
ERROR: Required build target 'gstreamer1.0-libav' has no buildable providers.
Missing or unbuildable dependency chain was: ['gstreamer1.0-libav', 'ffmpeg']

---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.3.bb | 2 --
 1 file changed, 2 deletions(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.3.bb +0 -2
index baf87fd871..3ea5560dc3 100644
@@ -4,8 +4,6 @@ muxers, and demuxers provided by FFmpeg."
 HOMEPAGE = "http://gstreamer.freedesktop.org/"
 SECTION = "multimedia"
 
-# ffmpeg has comercial license flags so add it as we need ffmpeg as a dependency
-LICENSE_FLAGS = "commercial"
 LICENSE = "LGPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \
                     file://ext/libav/gstav.h;beginline=1;endline=18;md5=a752c35267d8276fd9ca3db6994fca9c \
Signature · 1 line
2.30.2