forked from brl/citadel
Bruce Leidl
8bb03a0582
yocto yocto-3.3 -> yocto-3.3.3 kernel 5.12.4 -> 5.14.9 cryptsetup 2.3.5 -> 2.3.6 libblockdev 2.25 -> 2.26 libbytesize 1.4 -> 2.6 nano 5.6 -> 5.8 udisks2 2.9.2 -> 2.9.3 iwd 1.13 -> 1.17 modemmanager 1.8.2 -> 1.16.8 networkmanager 1.30.2 -> 1.32.10 libgusb 0.2.11 -> 0.3.7 upower 0.99.11 -> 0.99.13 gdm 40.0 -> 41.0 gjs 1.68.0 -> 1.70.0 glib 2.68.0 -> 2.70.0 gnome-backgrounds 40.0 -> 41.0 gnome-control-center 40.0 -> 41.0 gnome-desktop 40.0 -> 41.0 gnome-disk-utility 40.1 -> 41.0 gnome-system-monitor 40.1 -> 41.0 gnome-settings-daemon 40.0.1 -> 41.0 gnome-shell 40.0 -> 41.0 mutter 40.0 -> 41.0 gsettings-desktop-schemas 40.0 -> 41.0 gtk4 4.1.12 -> 4.4.0 gvfs 1.46.1 -> 1.48.1 gnome-terminal 3.40.1 -> 3.41.1 ell 0.39 -> 0.44 mozjs 78.0.1 -> 78.11.0 vte 0.64.0 -> 0.64.2
54 lines
2.4 KiB
BlitzBasic
54 lines
2.4 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://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] = "200d7df811c5ba634afbf109f14bb40ba7fde670e89389885da14e27c0840742"
|
|
|
|
# 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)
|
|
}
|