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,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/"
|
||||
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
[build]
|
||||
type = "custom"
|
||||
|
||||
[dependencies]
|
||||
build = ["unzip"]
|
||||
runtime = ["python"]
|
||||
|
||||
[package]
|
||||
description = "General-purpose build system modelled after Scons"
|
||||
homepage = "http://waf.io/"
|
||||
license = "BSD-3-Clause"
|
||||
name = "waf"
|
||||
version = "2.1.9"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
url = "https://gitlab.com/ita1024/waf.git#waf-$version"
|
||||
Reference in New Issue
Block a user