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,41 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
depot_build() {
|
||||
export CFLAGS="${CFLAGS:+$CFLAGS } -D_GNU_SOURCE -Wno-error -Wno-null-dereference -ffat-lto-objects -g"
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
../configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--localstatedir=/var \
|
||||
--disable-werror \
|
||||
--program-prefix=eu- \
|
||||
--enable-deterministic-archives \
|
||||
--disable-nls \
|
||||
--disable-libdebuginfod \
|
||||
--disable-debuginfod \
|
||||
--with-zstd
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
depot_install_elfutils() {
|
||||
make DESTDIR="$DESTDIR" install
|
||||
haul libelf usr/lib/libelf*
|
||||
haul libelf usr/lib/libdw*
|
||||
haul libelf usr/lib/pkgconfig/libelf.pc
|
||||
haul libelf usr/lib/pkgconfig/libdw.pc
|
||||
haul libelf usr/include/libelf.h
|
||||
haul libelf usr/include/gelf.h
|
||||
haul libelf usr/include/nlist.h
|
||||
haul libelf usr/include/dwarf.h
|
||||
haul libelf usr/include/elfutils
|
||||
}
|
||||
|
||||
depot_install_libelf() {
|
||||
true
|
||||
}
|
||||
Reference in New Issue
Block a user