Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 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)
This commit is contained in:
28
sources/poky/meta/classes-recipe/gettext.bbclass
Normal file
28
sources/poky/meta/classes-recipe/gettext.bbclass
Normal file
@@ -0,0 +1,28 @@
|
||||
#
|
||||
# Copyright OpenEmbedded Contributors
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
def gettext_dependencies(d):
|
||||
if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 'cross-canadian'):
|
||||
return ""
|
||||
if d.getVar('USE_NLS') == 'no':
|
||||
return "gettext-minimal-native"
|
||||
return "gettext-native"
|
||||
|
||||
def gettext_oeconf(d):
|
||||
if d.getVar('USE_NLS') == 'no':
|
||||
return '--disable-nls'
|
||||
# Remove the NLS bits if USE_NLS is no or INHIBIT_DEFAULT_DEPS is set
|
||||
if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 'cross-canadian'):
|
||||
return '--disable-nls'
|
||||
return "--enable-nls"
|
||||
|
||||
BASEDEPENDS:append = " ${@gettext_dependencies(d)}"
|
||||
EXTRA_OECONF:append = " ${@gettext_oeconf(d)}"
|
||||
|
||||
# Without this, msgfmt from gettext-native will not find ITS files
|
||||
# provided by target recipes (for example, polkit.its).
|
||||
GETTEXTDATADIRS:append:class-target = ":${STAGING_DATADIR}/gettext"
|
||||
export GETTEXTDATADIRS
|
||||
Reference in New Issue
Block a user