diff options
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0_2.66.7.bb')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0_2.66.7.bb | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.66.7.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.66.7.bb deleted file mode 100644 index 882a89da7a..0000000000 --- a/meta/recipes-core/glib-2.0/glib-2.0_2.66.7.bb +++ /dev/null | |||
@@ -1,55 +0,0 @@ | |||
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 | file://0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch \ | ||
20 | file://0001-tests-codegen.py-removing-unecessary-print-statement.patch \ | ||
21 | " | ||
22 | |||
23 | SRC_URI_append_class-native = " file://relocate-modules.patch" | ||
24 | |||
25 | SRC_URI[sha256sum] = "09f158769f6f26b31074e15b1ac80ec39b13b53102dfae66cfe826fb2cc65502" | ||
26 | |||
27 | # Find any meson cross files in FILESPATH that are relevant for the current | ||
28 | # build (using siteinfo) and add them to EXTRA_OEMESON. | ||
29 | inherit siteinfo | ||
30 | def find_meson_cross_files(d): | ||
31 | if bb.data.inherits_class('native', d): | ||
32 | return "" | ||
33 | |||
34 | thisdir = d.getVar("THISDIR") | ||
35 | import collections | ||
36 | sitedata = siteinfo_data(d) | ||
37 | # filename -> found | ||
38 | files = collections.OrderedDict() | ||
39 | for path in d.getVar("FILESPATH").split(":"): | ||
40 | for element in sitedata: | ||
41 | filename = os.path.normpath(os.path.join(path, "meson.cross.d", element)) | ||
42 | sanitized_path = filename.replace(thisdir, "${THISDIR}") | ||
43 | if sanitized_path == filename: | ||
44 | bb.error("Cannot add '%s' to --cross-file, because it's not relative to THISDIR '%s' and sstate signature would contain this full path" % (filename, thisdir)) | ||
45 | continue | ||
46 | files[filename.replace(thisdir, "${THISDIR}")] = os.path.exists(filename) | ||
47 | |||
48 | items = ["--cross-file=" + k for k,v in files.items() if v] | ||
49 | d.appendVar("EXTRA_OEMESON", " " + " ".join(items)) | ||
50 | items = ["%s:%s" % (k, "True" if v else "False") for k,v in files.items()] | ||
51 | d.appendVarFlag("do_configure", "file-checksums", " " + " ".join(items)) | ||
52 | |||
53 | python () { | ||
54 | find_meson_cross_files(d) | ||
55 | } | ||