Add various packages and patches for build system improvements
- 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.
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
[build]
|
||||
type = "meson"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
configure = [
|
||||
"--wrap-mode=nofallback",
|
||||
"-Dbitmap-conf=noinstall",
|
||||
"-Ddefault-sub-pixel-rendering=noinstall",
|
||||
"-Ddoc-html=disabled",
|
||||
"-Ddoc-pdf=disabled",
|
||||
"-Ddoc-txt=disabled",
|
||||
]
|
||||
post_install = [
|
||||
'mkdir -p "$DESTDIR/usr/share/fontconfig/conf.default"',
|
||||
'for _f in "$DESTDIR"/etc/fonts/conf.d/*.conf; do [ -e "$_f" ] || continue; ln -sf "../conf.avail/${_f##*/}" "$DESTDIR/usr/share/fontconfig/conf.default/${_f##*/}"; rm -f "$_f"; done',
|
||||
'install -Dm644 "$DEPOT_SPECDIR/40-fontconfig-config.toml" -t "$DESTDIR/usr/share/depot.d/hooks"',
|
||||
'install -Dm644 "$DEPOT_SPECDIR/fontconfig-hook.toml" -t "$DESTDIR/usr/share/depot.d/hooks"',
|
||||
'install -D "$DEPOT_SPECDIR/40-fontconfig-config.script" "$DESTDIR/usr/share/depot.d/scripts/fontconfig/40-fontconfig-config"',
|
||||
]
|
||||
keep = [ "etc/fonts/fonts.conf" ]
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"docbook-sgml",
|
||||
"gperf",
|
||||
"meson",
|
||||
"perl-sgmls",
|
||||
]
|
||||
runtime = [
|
||||
"sh",
|
||||
"expat",
|
||||
"freetype2",
|
||||
"glibc",
|
||||
]
|
||||
|
||||
[[manual_sources]]
|
||||
files = [
|
||||
"40-fontconfig-config.script",
|
||||
"40-fontconfig-config.toml",
|
||||
"fontconfig-hook.toml",
|
||||
"postinstall.sh",
|
||||
"postupdate.sh",
|
||||
"fontconfig-2.17.1-posixify.patch"
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Library for configuring and customizing font access"
|
||||
homepage = "https://www.freedesktop.org/wiki/Software/fontconfig/"
|
||||
license = "HPND AND Unicode-DFS-2016"
|
||||
name = "fontconfig"
|
||||
version = "2.17.1"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://gitlab.freedesktop.org/api/v4/projects/890/packages/generic/fontconfig/$version/fontconfig-$version.tar.xz"
|
||||
patches = [ "fontconfig-2.17.1-posixify.patch" ]
|
||||
Reference in New Issue
Block a user