diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-07-29 17:04:53 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-08-03 10:21:25 -0700 |
| commit | c61dc077bbd81260e4f167fa2251643ba0ba6974 (patch) | |
| tree | 66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-gnome/classes | |
| parent | c5f7cfb8db54cfa4257797db5bd87828dea43296 (diff) | |
| download | meta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz | |
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>
Diffstat (limited to 'meta-gnome/classes')
| -rw-r--r-- | meta-gnome/classes/gnome-help.bbclass | 20 |
1 files changed, 10 insertions, 10 deletions
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 @@ | |||
| 10 | # pack all help files to ${PN}-help-<lingua> | 10 | # pack all help files to ${PN}-help-<lingua> |
| 11 | 11 | ||
| 12 | # Dummy to get yelp build & PACKAGE_NO_HELP_SPLIT set 1 | 12 | # Dummy to get yelp build & PACKAGE_NO_HELP_SPLIT set 1 |
| 13 | PACKAGES_append = " ${PN}-help" | 13 | PACKAGES:append = " ${PN}-help" |
| 14 | FILES_${PN}-help = "${datadir}/help" | 14 | FILES:${PN}-help = "${datadir}/help" |
| 15 | RRECOMMENDS_${PN}-help = "${@bb.utils.contains('DISTRO_FEATURES','helpfiles','yelp','',d)}" | 15 | RRECOMMENDS:${PN}-help = "${@bb.utils.contains('DISTRO_FEATURES','helpfiles','yelp','',d)}" |
| 16 | 16 | ||
| 17 | do_install_append() { | 17 | do_install:append() { |
| 18 | if ${@bb.utils.contains('DISTRO_FEATURES','helpfiles','false','true',d)}; then | 18 | if ${@bb.utils.contains('DISTRO_FEATURES','helpfiles','false','true',d)}; then |
| 19 | rm -rf ${D}${datadir}/help/* | 19 | rm -rf ${D}${datadir}/help/* |
| 20 | fi | 20 | fi |
| @@ -53,15 +53,15 @@ python gnome_do_split_help() { | |||
| 53 | ln = legitimize_package_name(l) | 53 | ln = legitimize_package_name(l) |
| 54 | pkg = pn + '-help-' + ln | 54 | pkg = pn + '-help-' + ln |
| 55 | packages.append(pkg) | 55 | packages.append(pkg) |
| 56 | d.setVar('FILES_' + pkg, os.path.join(datadir, 'help', l)) | 56 | d.setVar('FILES:' + pkg, os.path.join(datadir, 'help', l)) |
| 57 | d.setVar('RRECOMMENDS_' + pkg, '%syelp' % mlprefix) | 57 | d.setVar('RRECOMMENDS:' + pkg, '%syelp' % mlprefix) |
| 58 | d.setVar('SUMMARY_' + pkg, '%s - %s help' % (summary, l)) | 58 | d.setVar('SUMMARY:' + pkg, '%s - %s help' % (summary, l)) |
| 59 | d.setVar('DESCRIPTION_' + pkg, '%s This package contains language help files for the %s locale.' % (description, l)) | 59 | d.setVar('DESCRIPTION:' + pkg, '%s This package contains language help files for the %s locale.' % (description, l)) |
| 60 | if locale_section: | 60 | if locale_section: |
| 61 | d.setVar('SECTION_' + pkg, locale_section) | 61 | d.setVar('SECTION:' + pkg, locale_section) |
| 62 | 62 | ||
| 63 | d.setVar('PACKAGES', ' '.join(packages)) | 63 | d.setVar('PACKAGES', ' '.join(packages)) |
| 64 | } | 64 | } |
| 65 | 65 | ||
| 66 | PACKAGESPLITFUNCS_prepend = "gnome_do_split_help " | 66 | PACKAGESPLITFUNCS:prepend = "gnome_do_split_help " |
| 67 | 67 | ||
