summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gdk-pixbuf
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/recipes-gnome/gdk-pixbuf
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/recipes-gnome/gdk-pixbuf')
-rw-r--r--meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.6.bb30
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 \
13SECTION = "libs" 13SECTION = "libs"
14 14
15DEPENDS = "glib-2.0 gdk-pixbuf-native shared-mime-info" 15DEPENDS = "glib-2.0 gdk-pixbuf-native shared-mime-info"
16DEPENDS_remove_class-native = "gdk-pixbuf-native" 16DEPENDS:remove:class-native = "gdk-pixbuf-native"
17 17
18MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" 18MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
19 19
@@ -37,34 +37,34 @@ GDK_PIXBUF_LOADERS ?= "png jpeg"
37 37
38PACKAGECONFIG = "${GDK_PIXBUF_LOADERS} \ 38PACKAGECONFIG = "${GDK_PIXBUF_LOADERS} \
39 ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" 39 ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
40PACKAGECONFIG_class-native = "${GDK_PIXBUF_LOADERS}" 40PACKAGECONFIG:class-native = "${GDK_PIXBUF_LOADERS}"
41 41
42PACKAGECONFIG[png] = "-Dpng=true,-Dpng=false,libpng" 42PACKAGECONFIG[png] = "-Dpng=true,-Dpng=false,libpng"
43PACKAGECONFIG[jpeg] = "-Djpeg=true,-Djpeg=false,jpeg" 43PACKAGECONFIG[jpeg] = "-Djpeg=true,-Djpeg=false,jpeg"
44PACKAGECONFIG[tiff] = "-Dtiff=true,-Dtiff=false,tiff" 44PACKAGECONFIG[tiff] = "-Dtiff=true,-Dtiff=false,tiff"
45PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false" 45PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false"
46 46
47EXTRA_OEMESON_class-target = " \ 47EXTRA_OEMESON:class-target = " \
48 -Duse_prebuilt_tools=true \ 48 -Duse_prebuilt_tools=true \
49" 49"
50 50
51EXTRA_OEMESON_class-nativesdk = " \ 51EXTRA_OEMESON:class-nativesdk = " \
52 -Duse_prebuilt_tools=true \ 52 -Duse_prebuilt_tools=true \
53" 53"
54 54
55PACKAGES =+ "${PN}-xlib" 55PACKAGES =+ "${PN}-xlib"
56 56
57# For GIO image type sniffing 57# For GIO image type sniffing
58RDEPENDS_${PN} = "shared-mime-info" 58RDEPENDS:${PN} = "shared-mime-info"
59 59
60FILES_${PN}-xlib = "${libdir}/*pixbuf_xlib*${SOLIBS}" 60FILES:${PN}-xlib = "${libdir}/*pixbuf_xlib*${SOLIBS}"
61ALLOW_EMPTY_${PN}-xlib = "1" 61ALLOW_EMPTY:${PN}-xlib = "1"
62 62
63FILES_${PN} += "${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders" 63FILES:${PN} += "${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders"
64 64
65FILES_${PN}-bin += "${datadir}/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer" 65FILES:${PN}-bin += "${datadir}/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer"
66 66
67FILES_${PN}-dev += " \ 67FILES:${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
75PACKAGES_DYNAMIC += "^gdk-pixbuf-loader-.*" 75PACKAGES_DYNAMIC += "^gdk-pixbuf-loader-.*"
76PACKAGES_DYNAMIC_class-native = "" 76PACKAGES_DYNAMIC:class-native = ""
77 77
78python populate_packages_prepend () { 78python 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
91do_install_append() { 91do_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
103do_install_append_class-native() { 103do_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 \