forked from brl/citadel
Bruce Leidl
64d91cb68c
Updated Recipes * colord 1.4.5 * dconf 0.40.0 * gdm 40.0 * geoclue 2.5.7 * geocode-glib 3.26.2 * gevix2_ 0.12.1 * gjs 1.68.0 * glib2 2.68.0 * gnome-autoar 0.3.1 * gnome-backgrounds 40.0 * gnome-control-center 40.0 * gnome-desktop 40.0 * gnome-disk-utility 40.1 * gnome-keyring 40.0 * gnome-screenshot 40.0 * gnome-session 40.1.1 * gnome-settings-daemon 40.0.1 * gnome-shell 40.0 * gnome-system-monitor 40.1 * gnome-terminal 3.40.1 * gsettings-desktop-schemas 40.0 * ibus 1.5.23 * iwd 1.13 * kernel 5.12.1 * keyutils 1.6.1 * libgee 0.20.4 * libgit2 1.1.0 * libgweather 40.0 * libhandy 1.2.0 (poky) * libseccomp 2.5.1 * libssh2 1.9.0 (poky) * lvm2 2.03.11 * meson 0.57.1 (poky) * mutter 40.0 * nano 5.6 * NetworkManager 1.30.2 * network-manager-applet 1.18.0 * nspr 4.29 * pango 1.48.2 (poky) * plymouth 0.9.5+git * udisks 2.9.2 * upower 0.99.11 * vte 0.64.0 * yelp-tools 3.32.2 * yelp-xsl 3.36.0
55 lines
2.5 KiB
BlitzBasic
55 lines
2.5 KiB
BlitzBasic
require glib.inc
|
|
|
|
PE = "1"
|
|
|
|
SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}"
|
|
|
|
SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \
|
|
file://run-ptest \
|
|
file://0001-Fix-DATADIRNAME-on-uclibc-Linux.patch \
|
|
file://Enable-more-tests-while-cross-compiling.patch \
|
|
file://0001-Remove-the-warning-about-deprecated-paths-in-schemas.patch \
|
|
file://0001-Install-gio-querymodules-as-libexec_PROGRAM.patch \
|
|
file://0001-Do-not-ignore-return-value-of-write.patch \
|
|
file://0010-Do-not-hardcode-python-path-into-various-tools.patch \
|
|
file://0001-Set-host_machine-correctly-when-building-with-mingw3.patch \
|
|
file://0001-Do-not-write-bindir-into-pkg-config-files.patch \
|
|
file://0001-meson-Run-atomics-test-on-clang-as-well.patch \
|
|
file://0001-gio-tests-resources.c-comment-out-a-build-host-only-.patch \
|
|
file://0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch \
|
|
"
|
|
SRC_URI_append_class-native = " file://relocate-modules.patch"
|
|
|
|
SRC_URI[sha256sum] = "67734f584f3a05a2872f57e9a8db38f3b06c7087fb531c5a839d9171968103ea"
|
|
|
|
# Find any meson cross files in FILESPATH that are relevant for the current
|
|
# build (using siteinfo) and add them to EXTRA_OEMESON.
|
|
inherit siteinfo
|
|
def find_meson_cross_files(d):
|
|
if bb.data.inherits_class('native', d):
|
|
return ""
|
|
|
|
thisdir = os.path.normpath(d.getVar("THISDIR"))
|
|
import collections
|
|
sitedata = siteinfo_data(d)
|
|
# filename -> found
|
|
files = collections.OrderedDict()
|
|
for path in d.getVar("FILESPATH").split(":"):
|
|
for element in sitedata:
|
|
filename = os.path.normpath(os.path.join(path, "meson.cross.d", element))
|
|
sanitized_path = filename.replace(thisdir, "${THISDIR}")
|
|
if sanitized_path == filename:
|
|
if os.path.exists(filename):
|
|
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))
|
|
continue
|
|
files[filename.replace(thisdir, "${THISDIR}")] = os.path.exists(filename)
|
|
|
|
items = ["--cross-file=" + k for k,v in files.items() if v]
|
|
d.appendVar("EXTRA_OEMESON", " " + " ".join(items))
|
|
items = ["%s:%s" % (k, "True" if v else "False") for k,v in files.items()]
|
|
d.appendVarFlag("do_configure", "file-checksums", " " + " ".join(items))
|
|
|
|
python () {
|
|
find_meson_cross_files(d)
|
|
}
|