mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
Convert to new override syntax
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -10,11 +10,11 @@
|
||||
# pack all help files to ${PN}-help-<lingua>
|
||||
|
||||
# Dummy to get yelp build & PACKAGE_NO_HELP_SPLIT set 1
|
||||
PACKAGES_append = " ${PN}-help"
|
||||
FILES_${PN}-help = "${datadir}/help"
|
||||
RRECOMMENDS_${PN}-help = "${@bb.utils.contains('DISTRO_FEATURES','helpfiles','yelp','',d)}"
|
||||
PACKAGES:append = " ${PN}-help"
|
||||
FILES:${PN}-help = "${datadir}/help"
|
||||
RRECOMMENDS:${PN}-help = "${@bb.utils.contains('DISTRO_FEATURES','helpfiles','yelp','',d)}"
|
||||
|
||||
do_install_append() {
|
||||
do_install:append() {
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','helpfiles','false','true',d)}; then
|
||||
rm -rf ${D}${datadir}/help/*
|
||||
fi
|
||||
@@ -53,15 +53,15 @@ python gnome_do_split_help() {
|
||||
ln = legitimize_package_name(l)
|
||||
pkg = pn + '-help-' + ln
|
||||
packages.append(pkg)
|
||||
d.setVar('FILES_' + pkg, os.path.join(datadir, 'help', l))
|
||||
d.setVar('RRECOMMENDS_' + pkg, '%syelp' % mlprefix)
|
||||
d.setVar('SUMMARY_' + pkg, '%s - %s help' % (summary, l))
|
||||
d.setVar('DESCRIPTION_' + pkg, '%s This package contains language help files for the %s locale.' % (description, l))
|
||||
d.setVar('FILES:' + pkg, os.path.join(datadir, 'help', l))
|
||||
d.setVar('RRECOMMENDS:' + pkg, '%syelp' % mlprefix)
|
||||
d.setVar('SUMMARY:' + pkg, '%s - %s help' % (summary, l))
|
||||
d.setVar('DESCRIPTION:' + pkg, '%s This package contains language help files for the %s locale.' % (description, l))
|
||||
if locale_section:
|
||||
d.setVar('SECTION_' + pkg, locale_section)
|
||||
d.setVar('SECTION:' + pkg, locale_section)
|
||||
|
||||
d.setVar('PACKAGES', ' '.join(packages))
|
||||
}
|
||||
|
||||
PACKAGESPLITFUNCS_prepend = "gnome_do_split_help "
|
||||
PACKAGESPLITFUNCS:prepend = "gnome_do_split_help "
|
||||
|
||||
|
||||
Reference in New Issue
Block a user