26 lines
890 B
Python
26 lines
890 B
Python
version = "2.84.2"
|
|
revision = 1
|
|
description = "GLib core application building blocks (GLib/GObject/GIO)"
|
|
license = "LGPL-2.1-or-later"
|
|
url = "https://gitlab.gnome.org/GNOME/glib"
|
|
_series = ".".join(version.split(".")[:2])
|
|
source = tarball(
|
|
url=f"https://download.gnome.org/sources/glib/{_series}/glib-{version}.tar.xz",
|
|
sha256="88e960dd937057407d61fcb3b45a860704b25923c37ae2478b85f2ecb5a4021f",
|
|
)
|
|
host_deps = ["binutils", "gcc", "pkgconf"]
|
|
deps = [profile["libc"], "libffi", "pcre2", "zlib"]
|
|
|
|
configure, build, install = meson(
|
|
configure_args=[
|
|
"-Dtests=false",
|
|
"-Dman-pages=disabled",
|
|
# gobject-introspection needs to run target binaries; skip when cross.
|
|
"-Dintrospection=disabled",
|
|
"-Dselinux=disabled",
|
|
# Avoid pulling util-linux (libmount) into the GIO build.
|
|
"-Dlibmount=disabled",
|
|
"-Dnls=enabled",
|
|
],
|
|
)
|