diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-09-02 23:13:08 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-09-03 09:44:30 +0100 |
commit | 416610659d4358c428ac449334ac7f80c34b7e70 (patch) | |
tree | dc44038b96dd679b71c471805e2924153d37f9e8 /meta/recipes-core/glib-2.0/glib-2.0_2.64.5.bb | |
parent | 39c1accf9054e863d543df7584eb48e2b0797cea (diff) | |
download | poky-416610659d4358c428ac449334ac7f80c34b7e70.tar.gz |
glib-2.0: update 2.64.4 -> 2.64.5
(From OE-Core rev: 3ccfeb9664ca24f372428c79388326380322ef8f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0_2.64.5.bb')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0_2.64.5.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.64.5.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.64.5.bb new file mode 100644 index 0000000000..a1233e6926 --- /dev/null +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.64.5.bb | |||
@@ -0,0 +1,49 @@ | |||
1 | require glib.inc | ||
2 | |||
3 | PE = "1" | ||
4 | |||
5 | SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" | ||
6 | |||
7 | SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ | ||
8 | file://run-ptest \ | ||
9 | file://0001-Fix-DATADIRNAME-on-uclibc-Linux.patch \ | ||
10 | file://Enable-more-tests-while-cross-compiling.patch \ | ||
11 | file://0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch \ | ||
12 | file://0001-Install-gio-querymodules-as-libexec_PROGRAM.patch \ | ||
13 | file://0001-Do-not-ignore-return-value-of-write.patch \ | ||
14 | file://0010-Do-not-hardcode-python-path-into-various-tools.patch \ | ||
15 | file://0001-Set-host_machine-correctly-when-building-with-mingw3.patch \ | ||
16 | file://0001-Do-not-write-bindir-into-pkg-config-files.patch \ | ||
17 | file://0001-meson-Run-atomics-test-on-clang-as-well.patch \ | ||
18 | file://0001-gio-tests-resources.c-comment-out-a-build-host-only-.patch \ | ||
19 | " | ||
20 | |||
21 | SRC_URI_append_class-native = " file://relocate-modules.patch" | ||
22 | |||
23 | SRC_URI[sha256sum] = "9cbd5bd2715ead1c28d53c46f7b7b6ff6166f5887b772c1a9e3bf2910cfecc11" | ||
24 | |||
25 | # Find any meson cross files in FILESPATH that are relevant for the current | ||
26 | # build (using siteinfo) and add them to EXTRA_OEMESON. | ||
27 | inherit siteinfo | ||
28 | def find_meson_cross_files(d): | ||
29 | if bb.data.inherits_class('native', d): | ||
30 | return "" | ||
31 | |||
32 | corebase = d.getVar("COREBASE") | ||
33 | import collections | ||
34 | sitedata = siteinfo_data(d) | ||
35 | # filename -> found | ||
36 | files = collections.OrderedDict() | ||
37 | for path in d.getVar("FILESPATH").split(":"): | ||
38 | for element in sitedata: | ||
39 | filename = os.path.normpath(os.path.join(path, "meson.cross.d", element)) | ||
40 | files[filename.replace(corebase, "${COREBASE}")] = os.path.exists(filename) | ||
41 | |||
42 | items = ["--cross-file=" + k for k,v in files.items() if v] | ||
43 | d.appendVar("EXTRA_OEMESON", " " + " ".join(items)) | ||
44 | items = ["%s:%s" % (k, "True" if v else "False") for k,v in files.items()] | ||
45 | d.appendVarFlag("do_configure", "file-checksums", " " + " ".join(items)) | ||
46 | |||
47 | python () { | ||
48 | find_meson_cross_files(d) | ||
49 | } | ||