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:
2026-03-22 23:25:50 -05:00
parent a0e45c65d3
commit bf96e50e44
144 changed files with 7131 additions and 45 deletions
+17
View File
@@ -0,0 +1,17 @@
py_ver=$(python3 -c "import sys; print(str(sys.version_info.major)+'.'+str(sys.version_info.minor))")
sed -e "/test(i/ s|dirname|'python${py_ver}/site-packages/waf'|" -i waf-light
head -n 30 waf | tail -n 28 | sed -e 's/# //g; s/"""//g' > LICENSE
./waf-light \
configure --prefix=/usr \
build --make-waf
sed -i '/^#==>$/,/^#<==$/d' waf
install -vDm 755 waf -t "$DESTDIR/usr/bin"
install -vDm 644 wscript -t "$DESTDIR/usr/share/waf/"
# installing, byte-compiling waflib and stripping DESTDIR from it
install -vDm 644 waflib/*.py -t "$DESTDIR/usr/lib/python$py_ver/site-packages/waf/waflib/"
install -vDm 644 waflib/Tools/*.py -t "$DESTDIR/usr/lib/python$py_ver/site-packages/waf/waflib/Tools/"
install -vDm 644 waflib/extras/*.py -t "$DESTDIR/usr/lib/python$py_ver/site-packages/waf/waflib/extras/"
python -m compileall -d "/usr/lib/python$py_ver" "$DESTDIR/usr/lib/python$py_ver/"
python -O -m compileall -d "/usr/lib/python$py_ver" "$DESTDIR/usr/lib/python$py_ver/"