bf96e50e44
- Introduced valgrind with a patch to respect flags and updated its configuration. - Added Vulkan ICD loader with CMake build configuration. - Implemented Waf build system with a custom build script and configuration. - Included Wayland protocols with Meson build system. - Added xcb-util-keysyms with autotools configuration. - Introduced Yasm with multiple patches for compatibility and improvements. - Added Yelp tools and XSL with Meson build configurations and necessary patches for POSIX compliance.
69 lines
1.8 KiB
TOML
69 lines
1.8 KiB
TOML
[build]
|
|
type = "meson"
|
|
|
|
[build.flags]
|
|
build_dir = "build"
|
|
configure = [
|
|
"-Ddtrace=disabled",
|
|
"-Dglib_debug=disabled",
|
|
"-Dintrospection=enabled",
|
|
"-Dman-pages=enabled",
|
|
"-Dselinux=disabled",
|
|
"-Dsysprof=disabled",
|
|
"-Dsystemtap=disabled",
|
|
]
|
|
post_install = [
|
|
'install -Dt "$DESTDIR/usr/share/depot.d/hooks" -m644 $DEPOT_SPECDIR/gio-querymodules.toml',
|
|
"""install -Dt "$DESTDIR/usr/share/depot.d/hooks" -m644 $DEPOT_SPECDIR/glib-compile-schemas.toml""",
|
|
'touch "$DESTDIR/usr/lib/gio/modules/.keep"',
|
|
'python -m compileall -d /usr/share/glib-2.0/codegen "$DESTDIR/usr/share/glib-2.0/codegen"',
|
|
'python -O -m compileall -d /usr/share/glib-2.0/codegen "$DESTDIR/usr/share/glib-2.0/codegen"',
|
|
]
|
|
skip_tests = true
|
|
|
|
[dependencies]
|
|
build = [
|
|
"gettext",
|
|
"meson",
|
|
"libelf",
|
|
"shared-mime-info",
|
|
"python",
|
|
"python-docutils",
|
|
"python-packaging",
|
|
"util-linux",
|
|
"gobject-introspection",
|
|
]
|
|
runtime = [
|
|
"sh",
|
|
"glibc",
|
|
"libffi",
|
|
"pcre2",
|
|
"util-linux",
|
|
"zlib-ng",
|
|
]
|
|
|
|
[[manual_sources]]
|
|
files = [
|
|
"0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch",
|
|
"0002-gdesktopappinfo-Add-more-known-terminals.patch",
|
|
"gio-querymodules.toml",
|
|
"glib-compile-schemas.toml"
|
|
]
|
|
|
|
[package]
|
|
description = "Low-level core library that forms the basis for projects such as GTK and GNOME."
|
|
homepage = "https://gitlab.gnome.org/GNOME/glib"
|
|
license = "LGPL-2.1-or-later"
|
|
name = "glib2"
|
|
version = "2.86.4"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
patches = [
|
|
"0001-glib-compile-schemas-Remove-noisy-deprecation-warnin.patch",
|
|
"0002-gdesktopappinfo-Add-more-known-terminals.patch",
|
|
]
|
|
url = "https://download.gnome.org/sources/glib/2.86/glib-$version.tar.xz"
|
|
sha256 = "md5:f2233a826c952aaae42b4a61611a06a4"
|
|
post_extract = [ "
|