Skip to contentSkip to conversation

vlc: Exclude from world if commercial is not in inclusion list

PATCH New Khem Raj 1 participant 1 message Mar 26, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 vlc: Exclude from world if commercial is not in inclusion list

Remove LICENSE_FLAGS setting as its no longer needed

Cc Andreas Müller <[email protected]>
---
 meta-multimedia/recipes-multimedia/vlc/vlc_3.0.12.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta-multimedia/recipes-multimedia/vlc/vlc_3.0.12.bb +1 -3
index c0074aabb5..cb796a00fa 100644
@@ -16,9 +16,6 @@ DEPENDS = "coreutils-native fribidi libtool libgcrypt libgcrypt-native \
 LDFLAGS_append_riscv64 = " -latomic"
 LDFLAGS_append_riscv32 = " -latomic"
 
-# While this item does not require it, it depends on ffmpeg which does
-LICENSE_FLAGS = "commercial"
-
 SRC_URI = "http://download.videolan.org/pub/videolan/${BPN}/${PV}/${BP}.tar.xz \
            file://0001-make-opencv-configurable.patch \
            file://0002-use-vorbisidec.patch \
@@ -134,3 +131,4 @@ FILES_${PN}-staticdev += "\
 
 INSANE_SKIP_${PN} = "dev-so"
 
+EXCLUDE_FROM_WORLD = "${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial", "0", "1", d)}"
Signature · 1 line
2.31.0