summaryrefslogtreecommitdiffstats
path: root/meta/classes/gtk-immodules-cache.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/classes/gtk-immodules-cache.bbclass
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gtk-immodules-cache.bbclass')
-rw-r--r--meta/classes/gtk-immodules-cache.bbclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/gtk-immodules-cache.bbclass b/meta/classes/gtk-immodules-cache.bbclass
index 8e783fb493..2107517540 100644
--- a/meta/classes/gtk-immodules-cache.bbclass
+++ b/meta/classes/gtk-immodules-cache.bbclass
@@ -47,23 +47,23 @@ else
47fi 47fi
48} 48}
49 49
50python populate_packages_append () { 50python populate_packages:append () {
51 gtkimmodules_pkgs = d.getVar('GTKIMMODULES_PACKAGES').split() 51 gtkimmodules_pkgs = d.getVar('GTKIMMODULES_PACKAGES').split()
52 52
53 for pkg in gtkimmodules_pkgs: 53 for pkg in gtkimmodules_pkgs:
54 bb.note("adding gtk-immodule-cache postinst and postrm scripts to %s" % pkg) 54 bb.note("adding gtk-immodule-cache postinst and postrm scripts to %s" % pkg)
55 55
56 postinst = d.getVar('pkg_postinst_%s' % pkg) 56 postinst = d.getVar('pkg_postinst:%s' % pkg)
57 if not postinst: 57 if not postinst:
58 postinst = '#!/bin/sh\n' 58 postinst = '#!/bin/sh\n'
59 postinst += d.getVar('gtk_immodule_cache_postinst') 59 postinst += d.getVar('gtk_immodule_cache_postinst')
60 d.setVar('pkg_postinst_%s' % pkg, postinst) 60 d.setVar('pkg_postinst:%s' % pkg, postinst)
61 61
62 postrm = d.getVar('pkg_postrm_%s' % pkg) 62 postrm = d.getVar('pkg_postrm:%s' % pkg)
63 if not postrm: 63 if not postrm:
64 postrm = '#!/bin/sh\n' 64 postrm = '#!/bin/sh\n'
65 postrm += d.getVar('gtk_immodule_cache_postrm') 65 postrm += d.getVar('gtk_immodule_cache_postrm')
66 d.setVar('pkg_postrm_%s' % pkg, postrm) 66 d.setVar('pkg_postrm:%s' % pkg, postrm)
67} 67}
68 68
69python __anonymous() { 69python __anonymous() {