- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
20 lines
708 B
PHP
20 lines
708 B
PHP
# This .inc file contains functionality for automatically setting
|
|
# the the license of all plugins according to the GSTREAMER_GPL.
|
|
|
|
PACKAGESPLITFUNCS += "set_gstreamer_license"
|
|
|
|
python set_gstreamer_license () {
|
|
import oe.utils
|
|
pn = d.getVar('PN') + '-'
|
|
gpl_plugins_names = [pn+plugin for plugin in d.getVar('GSTREAMER_GPL').split()]
|
|
for pkg in oe.utils.packages_filter_out_system(d):
|
|
if pkg in gpl_plugins_names:
|
|
d.setVar('LICENSE:' + pkg, 'GPL-2.0-or-later')
|
|
else:
|
|
d.setVar('LICENSE:' + pkg, 'LGPL-2.1-or-later')
|
|
}
|
|
|
|
EXTRA_OEMESON += " \
|
|
${@bb.utils.contains_any('PACKAGECONFIG', "${GSTREAMER_GPL}", '-Dgpl=enabled', '-Dgpl=disabled', d)} \
|
|
"
|