forked from brl/citadel
Bruce Leidl
4c3baa433b
Updated Recipes * dash-to-panel 40 * dconf 0.38.0 * gdm 3.38.0 * glib 2.66.1 * gjs 1.66.0 * gnome-autoar 0.2.4 * gnome-backgrounds 3.38.0 * gnome-bluetooth 3.34.3 * gnome-control-center 3.38.1 * gnome-screenshot 3.38.0 * gnome-shell 3.38.1 * gnome-session 3.38.0 * gnome-settings-daemon 3.38.0 * gnome-terminal 3.38.0 * gnome-usage 3.38.0 * graphene 1.10.2 * gsettings-desktop-schema 3.38.0 * gvfs 1.46.1 * iwd 1.9 * libgee 0.20.3 * libgtop 2.40.0 * libgweather 3.36.1 * mkpasswd 5.5.7 * mozjs 78.0.1 * mutter 3.38.1 * nautilus 3.38.1 * networkmanager 1.26.4 * polkit 0.118 * tracker 3.0.1 * vte 0.62.0 Removed because recipes exist in poky with adequate version * atk, at-spi * clutter * clutter-gtk * cogl * ell * gcr * itstool * libinput * pango Other removed recipes * systemd-initrd No longer using a separate systemd recipe for initramfs * caribou What even is this * gnome-tweaks Not used * mozjs Polkit no longer requires an ancient mozjs * mozjs68 Upgraded to mozjs78
50 lines
2.0 KiB
BlitzBasic
50 lines
2.0 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 \
|
|
"
|
|
|
|
SRC_URI_append_class-native = " file://relocate-modules.patch"
|
|
|
|
SRC_URI[sha256sum] = "a269ffe69fbcc3a21ff1acb1b6146b2a5723499d6e2de33ae16ccb6d2438ef60"
|
|
|
|
# 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 ""
|
|
|
|
corebase = d.getVar("COREBASE")
|
|
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))
|
|
files[filename.replace(corebase, "${COREBASE}")] = 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)
|
|
}
|