From c61dc077bbd81260e4f167fa2251643ba0ba6974 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Thu, 29 Jul 2021 17:04:53 +0200 Subject: 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 --- meta-gnome/classes/gnome-help.bbclass | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'meta-gnome/classes') diff --git a/meta-gnome/classes/gnome-help.bbclass b/meta-gnome/classes/gnome-help.bbclass index 9c4771ddc0..750670ae24 100644 --- a/meta-gnome/classes/gnome-help.bbclass +++ b/meta-gnome/classes/gnome-help.bbclass @@ -10,11 +10,11 @@ # pack all help files to ${PN}-help- # 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 " -- cgit v1.2.3-54-g00ecf