diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/classes/gtk-icon-cache.bbclass | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-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-icon-cache.bbclass')
-rw-r--r-- | meta/classes/gtk-icon-cache.bbclass | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass index 340a283851..0248ba285e 100644 --- a/meta/classes/gtk-icon-cache.bbclass +++ b/meta/classes/gtk-icon-cache.bbclass | |||
@@ -1,4 +1,4 @@ | |||
1 | FILES_${PN} += "${datadir}/icons/hicolor" | 1 | FILES:${PN} += "${datadir}/icons/hicolor" |
2 | 2 | ||
3 | #gtk+3 reqiure GTK3DISTROFEATURES, DEPENDS on it make all the | 3 | #gtk+3 reqiure GTK3DISTROFEATURES, DEPENDS on it make all the |
4 | #recipes inherit this class require GTK3DISTROFEATURES | 4 | #recipes inherit this class require GTK3DISTROFEATURES |
@@ -45,7 +45,7 @@ else | |||
45 | fi | 45 | fi |
46 | } | 46 | } |
47 | 47 | ||
48 | python populate_packages_append () { | 48 | python populate_packages:append () { |
49 | packages = d.getVar('PACKAGES').split() | 49 | packages = d.getVar('PACKAGES').split() |
50 | pkgdest = d.getVar('PKGDEST') | 50 | pkgdest = d.getVar('PKGDEST') |
51 | 51 | ||
@@ -56,29 +56,29 @@ python populate_packages_append () { | |||
56 | 56 | ||
57 | bb.note("adding hicolor-icon-theme dependency to %s" % pkg) | 57 | bb.note("adding hicolor-icon-theme dependency to %s" % pkg) |
58 | rdepends = ' ' + d.getVar('MLPREFIX', False) + "hicolor-icon-theme" | 58 | rdepends = ' ' + d.getVar('MLPREFIX', False) + "hicolor-icon-theme" |
59 | d.appendVar('RDEPENDS_%s' % pkg, rdepends) | 59 | d.appendVar('RDEPENDS:%s' % pkg, rdepends) |
60 | 60 | ||
61 | #gtk_icon_cache_postinst depend on gdk-pixbuf and gtk+3 | 61 | #gtk_icon_cache_postinst depend on gdk-pixbuf and gtk+3 |
62 | bb.note("adding gdk-pixbuf dependency to %s" % pkg) | 62 | bb.note("adding gdk-pixbuf dependency to %s" % pkg) |
63 | rdepends = ' ' + d.getVar('MLPREFIX', False) + "gdk-pixbuf" | 63 | rdepends = ' ' + d.getVar('MLPREFIX', False) + "gdk-pixbuf" |
64 | d.appendVar('RDEPENDS_%s' % pkg, rdepends) | 64 | d.appendVar('RDEPENDS:%s' % pkg, rdepends) |
65 | 65 | ||
66 | bb.note("adding gtk+3 dependency to %s" % pkg) | 66 | bb.note("adding gtk+3 dependency to %s" % pkg) |
67 | rdepends = ' ' + d.getVar('MLPREFIX', False) + "gtk+3" | 67 | rdepends = ' ' + d.getVar('MLPREFIX', False) + "gtk+3" |
68 | d.appendVar('RDEPENDS_%s' % pkg, rdepends) | 68 | d.appendVar('RDEPENDS:%s' % pkg, rdepends) |
69 | 69 | ||
70 | bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg) | 70 | bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg) |
71 | 71 | ||
72 | postinst = d.getVar('pkg_postinst_%s' % pkg) | 72 | postinst = d.getVar('pkg_postinst:%s' % pkg) |
73 | if not postinst: | 73 | if not postinst: |
74 | postinst = '#!/bin/sh\n' | 74 | postinst = '#!/bin/sh\n' |
75 | postinst += d.getVar('gtk_icon_cache_postinst') | 75 | postinst += d.getVar('gtk_icon_cache_postinst') |
76 | d.setVar('pkg_postinst_%s' % pkg, postinst) | 76 | d.setVar('pkg_postinst:%s' % pkg, postinst) |
77 | 77 | ||
78 | postrm = d.getVar('pkg_postrm_%s' % pkg) | 78 | postrm = d.getVar('pkg_postrm:%s' % pkg) |
79 | if not postrm: | 79 | if not postrm: |
80 | postrm = '#!/bin/sh\n' | 80 | postrm = '#!/bin/sh\n' |
81 | postrm += d.getVar('gtk_icon_cache_postrm') | 81 | postrm += d.getVar('gtk_icon_cache_postrm') |
82 | d.setVar('pkg_postrm_%s' % pkg, postrm) | 82 | d.setVar('pkg_postrm:%s' % pkg, postrm) |
83 | } | 83 | } |
84 | 84 | ||