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-core/glib-2.0 | |
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-core/glib-2.0')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0_2.68.3.bb | 2 | ||||
-rw-r--r-- | meta/recipes-core/glib-2.0/glib.inc | 52 |
2 files changed, 27 insertions, 27 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.68.3.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.68.3.bb index cbce6eae61..c71dc81202 100644 --- a/meta/recipes-core/glib-2.0/glib-2.0_2.68.3.bb +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.68.3.bb | |||
@@ -20,7 +20,7 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ | |||
20 | file://time-test.patch \ | 20 | file://time-test.patch \ |
21 | file://0001-correctly-use-3-parameters-for-close_range.patch \ | 21 | file://0001-correctly-use-3-parameters-for-close_range.patch \ |
22 | " | 22 | " |
23 | SRC_URI_append_class-native = " file://relocate-modules.patch" | 23 | SRC_URI:append:class-native = " file://relocate-modules.patch" |
24 | 24 | ||
25 | SRC_URI[sha256sum] = "e7e1a3c20c026109c45c9ec4a31d8dcebc22e86c69486993e565817d64be3138" | 25 | SRC_URI[sha256sum] = "e7e1a3c20c026109c45c9ec4a31d8dcebc22e86c69486993e565817d64be3138" |
26 | 26 | ||
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index 71777bc459..4859d28097 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc | |||
@@ -30,7 +30,7 @@ LEAD_SONAME = "libglib-2.0.*" | |||
30 | 30 | ||
31 | inherit meson gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even bash-completion gio-module-cache manpages | 31 | inherit meson gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even bash-completion gio-module-cache manpages |
32 | 32 | ||
33 | DEPENDS_append_class-target = "${@' gtk-doc' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}" | 33 | DEPENDS:append:class-target = "${@' gtk-doc' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}" |
34 | 34 | ||
35 | GTKDOC_MESON_OPTION = "gtk_doc" | 35 | GTKDOC_MESON_OPTION = "gtk_doc" |
36 | 36 | ||
@@ -48,55 +48,55 @@ PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false,dbus" | |||
48 | 48 | ||
49 | EXTRA_OEMESON = "-Ddtrace=false -Dfam=false -Dsystemtap=false -Dselinux=disabled" | 49 | EXTRA_OEMESON = "-Ddtrace=false -Dfam=false -Dsystemtap=false -Dselinux=disabled" |
50 | 50 | ||
51 | do_configure_prepend() { | 51 | do_configure:prepend() { |
52 | sed -i -e '1s,#!.*,#!${USRBINPATH}/env python3,' ${S}/gio/gdbus-2.0/codegen/gdbus-codegen.in | 52 | sed -i -e '1s,#!.*,#!${USRBINPATH}/env python3,' ${S}/gio/gdbus-2.0/codegen/gdbus-codegen.in |
53 | } | 53 | } |
54 | 54 | ||
55 | FILES_${PN} = "${libdir}/lib*${SOLIBS} \ | 55 | FILES:${PN} = "${libdir}/lib*${SOLIBS} \ |
56 | ${libdir}/gio \ | 56 | ${libdir}/gio \ |
57 | ${libexecdir}/*gio-querymodules \ | 57 | ${libexecdir}/*gio-querymodules \ |
58 | ${datadir}/glib-2.0/schemas" | 58 | ${datadir}/glib-2.0/schemas" |
59 | 59 | ||
60 | FILES_${PN}-utils += "${bindir}/glib-genmarshal \ | 60 | FILES:${PN}-utils += "${bindir}/glib-genmarshal \ |
61 | ${bindir}/glib-gettextize \ | 61 | ${bindir}/glib-gettextize \ |
62 | ${bindir}/glib-mkenums \ | 62 | ${bindir}/glib-mkenums \ |
63 | ${bindir}/glib-compile-resources" | 63 | ${bindir}/glib-compile-resources" |
64 | 64 | ||
65 | FILES_${PN}-dev += "${libdir}/glib-2.0/include \ | 65 | FILES:${PN}-dev += "${libdir}/glib-2.0/include \ |
66 | ${libdir}/gio/modules/lib*${SOLIBSDEV} \ | 66 | ${libdir}/gio/modules/lib*${SOLIBSDEV} \ |
67 | ${libdir}/gio/modules/*.la \ | 67 | ${libdir}/gio/modules/*.la \ |
68 | ${datadir}/glib-2.0/gettext/po/Makefile.in.in \ | 68 | ${datadir}/glib-2.0/gettext/po/Makefile.in.in \ |
69 | ${datadir}/glib-2.0/schemas/gschema.dtd \ | 69 | ${datadir}/glib-2.0/schemas/gschema.dtd \ |
70 | ${datadir}/glib-2.0/valgrind/glib.supp \ | 70 | ${datadir}/glib-2.0/valgrind/glib.supp \ |
71 | ${datadir}/gettext/its" | 71 | ${datadir}/gettext/its" |
72 | FILES_${PN}-dbg += "${datadir}/glib-2.0/gdb ${datadir}/gdb" | 72 | FILES:${PN}-dbg += "${datadir}/glib-2.0/gdb ${datadir}/gdb" |
73 | FILES_${PN}-codegen = "${datadir}/glib-2.0/codegen/*.py \ | 73 | FILES:${PN}-codegen = "${datadir}/glib-2.0/codegen/*.py \ |
74 | ${bindir}/gdbus-codegen" | 74 | ${bindir}/gdbus-codegen" |
75 | FILES_${PN}-utils = "${bindir}/*" | 75 | FILES:${PN}-utils = "${bindir}/*" |
76 | 76 | ||
77 | SHAREDMIMEDEP = "shared-mime-info" | 77 | SHAREDMIMEDEP = "shared-mime-info" |
78 | SHAREDMIMEDEP_class-native = "" | 78 | SHAREDMIMEDEP:class-native = "" |
79 | # When cross compiling for Windows we don't want to include this | 79 | # When cross compiling for Windows we don't want to include this |
80 | SHAREDMIMEDEP_mingw32 = "" | 80 | SHAREDMIMEDEP:mingw32 = "" |
81 | 81 | ||
82 | RRECOMMENDS_${PN} += "${SHAREDMIMEDEP}" | 82 | RRECOMMENDS:${PN} += "${SHAREDMIMEDEP}" |
83 | 83 | ||
84 | ARM_INSTRUCTION_SET_armv4 = "arm" | 84 | ARM_INSTRUCTION_SET:armv4 = "arm" |
85 | ARM_INSTRUCTION_SET_armv5 = "arm" | 85 | ARM_INSTRUCTION_SET:armv5 = "arm" |
86 | # Valgrind runtime detection works using hand-written assembly, which | 86 | # Valgrind runtime detection works using hand-written assembly, which |
87 | # doesn't support mips16e | 87 | # doesn't support mips16e |
88 | CPPFLAGS_append_class-target_mips16e = " -DNVALGRIND=1" | 88 | CPPFLAGS:append:class-target:mips16e = " -DNVALGRIND=1" |
89 | 89 | ||
90 | # GLib generally requires gettext to be present so for USE_NLS to yes. For | 90 | # GLib generally requires gettext to be present so for USE_NLS to yes. For |
91 | # native builds as i18n is disabled globally we have to add a gettext-native dependency. | 91 | # native builds as i18n is disabled globally we have to add a gettext-native dependency. |
92 | USE_NLS_class-target = "yes" | 92 | USE_NLS:class-target = "yes" |
93 | USE_NLS_class-nativesdk = "yes" | 93 | USE_NLS:class-nativesdk = "yes" |
94 | DEPENDS_append_class-native = " gettext-native" | 94 | DEPENDS:append:class-native = " gettext-native" |
95 | 95 | ||
96 | EXEEXT = "" | 96 | EXEEXT = "" |
97 | EXEEXT_mingw32 = ".exe" | 97 | EXEEXT:mingw32 = ".exe" |
98 | 98 | ||
99 | do_install_append () { | 99 | do_install:append () { |
100 | if [ -f ${D}${bindir}/gtester-report ]; then | 100 | if [ -f ${D}${bindir}/gtester-report ]; then |
101 | sed ${D}${bindir}/gtester-report -i -e '1s|^#!.*|#!/usr/bin/env python3|' | 101 | sed ${D}${bindir}/gtester-report -i -e '1s|^#!.*|#!/usr/bin/env python3|' |
102 | fi | 102 | fi |
@@ -118,7 +118,7 @@ do_install_append () { | |||
118 | mkdir -p ${D}${libdir}/gio/modules | 118 | mkdir -p ${D}${libdir}/gio/modules |
119 | } | 119 | } |
120 | 120 | ||
121 | do_install_append_class-target () { | 121 | do_install:append:class-target () { |
122 | # Tests are only installed on targets, not native builds. Separating this out | 122 | # Tests are only installed on targets, not native builds. Separating this out |
123 | # keeps glib-2.0-native from depending on DISTRO_FEATURES | 123 | # keeps glib-2.0-native from depending on DISTRO_FEATURES |
124 | if [ -f ${D}${datadir}/installed-tests/glib/gdbus-serialization.test ]; then | 124 | if [ -f ${D}${datadir}/installed-tests/glib/gdbus-serialization.test ]; then |
@@ -134,18 +134,18 @@ do_install_append_class-target () { | |||
134 | } | 134 | } |
135 | 135 | ||
136 | # As we do not build python3 for windows, makes no sense to ship the script that's using it | 136 | # As we do not build python3 for windows, makes no sense to ship the script that's using it |
137 | do_install_append_mingw32() { | 137 | do_install:append:mingw32() { |
138 | rm -f ${D}${bindir}/gtester-report | 138 | rm -f ${D}${bindir}/gtester-report |
139 | } | 139 | } |
140 | 140 | ||
141 | CODEGEN_PYTHON_RDEPENDS = "python3 python3-distutils python3-xml" | 141 | CODEGEN_PYTHON_RDEPENDS = "python3 python3-distutils python3-xml" |
142 | CODEGEN_PYTHON_RDEPENDS_mingw32 = "" | 142 | CODEGEN_PYTHON_RDEPENDS:mingw32 = "" |
143 | 143 | ||
144 | RDEPENDS_${PN}-codegen += "${CODEGEN_PYTHON_RDEPENDS}" | 144 | RDEPENDS:${PN}-codegen += "${CODEGEN_PYTHON_RDEPENDS}" |
145 | 145 | ||
146 | RDEPENDS_${PN}-ptest += "${PN}-utils" | 146 | RDEPENDS:${PN}-ptest += "${PN}-utils" |
147 | 147 | ||
148 | RDEPENDS_${PN}-ptest += "\ | 148 | RDEPENDS:${PN}-ptest += "\ |
149 | coreutils \ | 149 | coreutils \ |
150 | libgcc \ | 150 | libgcc \ |
151 | dbus \ | 151 | dbus \ |
@@ -170,7 +170,7 @@ RDEPENDS_${PN}-ptest += "\ | |||
170 | ${PN}-codegen \ | 170 | ${PN}-codegen \ |
171 | " | 171 | " |
172 | 172 | ||
173 | RDEPENDS_${PN}-ptest_append_libc-glibc = "\ | 173 | RDEPENDS:${PN}-ptest:append:libc-glibc = "\ |
174 | glibc-gconv-utf-16 \ | 174 | glibc-gconv-utf-16 \ |
175 | glibc-charmap-utf-8 \ | 175 | glibc-charmap-utf-8 \ |
176 | glibc-gconv-cp1255 \ | 176 | glibc-gconv-cp1255 \ |