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/recipes-gnome/gdk-pixbuf | |
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/recipes-gnome/gdk-pixbuf')
-rw-r--r-- | meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb index 50d58ef807..21816ab06c 100644 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb +++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb | |||
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ | |||
13 | SECTION = "libs" | 13 | SECTION = "libs" |
14 | 14 | ||
15 | DEPENDS = "glib-2.0 gdk-pixbuf-native shared-mime-info" | 15 | DEPENDS = "glib-2.0 gdk-pixbuf-native shared-mime-info" |
16 | DEPENDS_remove_class-native = "gdk-pixbuf-native" | 16 | DEPENDS:remove:class-native = "gdk-pixbuf-native" |
17 | 17 | ||
18 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" | 18 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" |
19 | 19 | ||
@@ -37,34 +37,34 @@ GDK_PIXBUF_LOADERS ?= "png jpeg" | |||
37 | 37 | ||
38 | PACKAGECONFIG = "${GDK_PIXBUF_LOADERS} \ | 38 | PACKAGECONFIG = "${GDK_PIXBUF_LOADERS} \ |
39 | ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" | 39 | ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" |
40 | PACKAGECONFIG_class-native = "${GDK_PIXBUF_LOADERS}" | 40 | PACKAGECONFIG:class-native = "${GDK_PIXBUF_LOADERS}" |
41 | 41 | ||
42 | PACKAGECONFIG[png] = "-Dpng=true,-Dpng=false,libpng" | 42 | PACKAGECONFIG[png] = "-Dpng=true,-Dpng=false,libpng" |
43 | PACKAGECONFIG[jpeg] = "-Djpeg=true,-Djpeg=false,jpeg" | 43 | PACKAGECONFIG[jpeg] = "-Djpeg=true,-Djpeg=false,jpeg" |
44 | PACKAGECONFIG[tiff] = "-Dtiff=true,-Dtiff=false,tiff" | 44 | PACKAGECONFIG[tiff] = "-Dtiff=true,-Dtiff=false,tiff" |
45 | PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false" | 45 | PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false" |
46 | 46 | ||
47 | EXTRA_OEMESON_class-target = " \ | 47 | EXTRA_OEMESON:class-target = " \ |
48 | -Duse_prebuilt_tools=true \ | 48 | -Duse_prebuilt_tools=true \ |
49 | " | 49 | " |
50 | 50 | ||
51 | EXTRA_OEMESON_class-nativesdk = " \ | 51 | EXTRA_OEMESON:class-nativesdk = " \ |
52 | -Duse_prebuilt_tools=true \ | 52 | -Duse_prebuilt_tools=true \ |
53 | " | 53 | " |
54 | 54 | ||
55 | PACKAGES =+ "${PN}-xlib" | 55 | PACKAGES =+ "${PN}-xlib" |
56 | 56 | ||
57 | # For GIO image type sniffing | 57 | # For GIO image type sniffing |
58 | RDEPENDS_${PN} = "shared-mime-info" | 58 | RDEPENDS:${PN} = "shared-mime-info" |
59 | 59 | ||
60 | FILES_${PN}-xlib = "${libdir}/*pixbuf_xlib*${SOLIBS}" | 60 | FILES:${PN}-xlib = "${libdir}/*pixbuf_xlib*${SOLIBS}" |
61 | ALLOW_EMPTY_${PN}-xlib = "1" | 61 | ALLOW_EMPTY:${PN}-xlib = "1" |
62 | 62 | ||
63 | FILES_${PN} += "${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders" | 63 | FILES:${PN} += "${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders" |
64 | 64 | ||
65 | FILES_${PN}-bin += "${datadir}/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer" | 65 | FILES:${PN}-bin += "${datadir}/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer" |
66 | 66 | ||
67 | FILES_${PN}-dev += " \ | 67 | FILES:${PN}-dev += " \ |
68 | ${bindir}/gdk-pixbuf-csource \ | 68 | ${bindir}/gdk-pixbuf-csource \ |
69 | ${bindir}/gdk-pixbuf-pixdata \ | 69 | ${bindir}/gdk-pixbuf-pixdata \ |
70 | ${bindir}/gdk-pixbuf-print-mime-types \ | 70 | ${bindir}/gdk-pixbuf-print-mime-types \ |
@@ -73,9 +73,9 @@ FILES_${PN}-dev += " \ | |||
73 | " | 73 | " |
74 | 74 | ||
75 | PACKAGES_DYNAMIC += "^gdk-pixbuf-loader-.*" | 75 | PACKAGES_DYNAMIC += "^gdk-pixbuf-loader-.*" |
76 | PACKAGES_DYNAMIC_class-native = "" | 76 | PACKAGES_DYNAMIC:class-native = "" |
77 | 77 | ||
78 | python populate_packages_prepend () { | 78 | python populate_packages:prepend () { |
79 | postinst_pixbufloader = d.getVar("postinst_pixbufloader") | 79 | postinst_pixbufloader = d.getVar("postinst_pixbufloader") |
80 | 80 | ||
81 | loaders_root = d.expand('${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders') | 81 | loaders_root = d.expand('${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders') |
@@ -85,10 +85,10 @@ python populate_packages_prepend () { | |||
85 | 85 | ||
86 | # The test suite exercises all the loaders, so ensure they are all | 86 | # The test suite exercises all the loaders, so ensure they are all |
87 | # dependencies of the ptest package. | 87 | # dependencies of the ptest package. |
88 | d.appendVar("RDEPENDS_%s-ptest" % d.getVar('PN'), " " + packages) | 88 | d.appendVar("RDEPENDS:%s-ptest" % d.getVar('PN'), " " + packages) |
89 | } | 89 | } |
90 | 90 | ||
91 | do_install_append() { | 91 | do_install:append() { |
92 | # Copy gdk-pixbuf-query-loaders into libdir so it is always available | 92 | # Copy gdk-pixbuf-query-loaders into libdir so it is always available |
93 | # in multilib builds. | 93 | # in multilib builds. |
94 | cp ${D}/${bindir}/gdk-pixbuf-query-loaders ${D}/${libdir}/gdk-pixbuf-2.0/ | 94 | cp ${D}/${bindir}/gdk-pixbuf-query-loaders ${D}/${libdir}/gdk-pixbuf-2.0/ |
@@ -100,7 +100,7 @@ do_install_ptest() { | |||
100 | rm ${D}/${datadir}/installed-tests/gdk-pixbuf/pixbuf-randomly-modified.test | 100 | rm ${D}/${datadir}/installed-tests/gdk-pixbuf/pixbuf-randomly-modified.test |
101 | } | 101 | } |
102 | 102 | ||
103 | do_install_append_class-native() { | 103 | do_install:append:class-native() { |
104 | find ${D}${libdir} -name "libpixbufloader-*.la" -exec rm \{\} \; | 104 | find ${D}${libdir} -name "libpixbufloader-*.la" -exec rm \{\} \; |
105 | 105 | ||
106 | create_wrapper ${D}/${bindir}/gdk-pixbuf-csource \ | 106 | create_wrapper ${D}/${bindir}/gdk-pixbuf-csource \ |