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
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
[package]
|
||||
name = "elfutils"
|
||||
version = "0.194"
|
||||
revision = 1
|
||||
description = "Handle ELF object files and DWARF debugging information"
|
||||
homepage = "https://sourceware.org/elfutils/"
|
||||
license = "GPL-3.0-or-later"
|
||||
|
||||
[[packages]]
|
||||
name = "libelf"
|
||||
version = "0.194"
|
||||
revision = 1
|
||||
description = "Handle ELF object files and DWARF debugging information (libraries)"
|
||||
homepage = "https://sourceware.org/elfutils/"
|
||||
license = [
|
||||
"GPL-2.0-or-later",
|
||||
"LGPL-3.0-or-later",
|
||||
]
|
||||
|
||||
[build]
|
||||
type = "custom"
|
||||
|
||||
[build.flags]
|
||||
skip_tests = false
|
||||
no_delete_static = true
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"bzip2",
|
||||
"curl",
|
||||
"json-c",
|
||||
"libarchive",
|
||||
"libmicrohttpd",
|
||||
"sqlite",
|
||||
"xz",
|
||||
"zlib-ng",
|
||||
"zstd",
|
||||
]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"sh",
|
||||
"libarchive",
|
||||
"libcxx",
|
||||
"libunwind",
|
||||
"libelf"
|
||||
]
|
||||
|
||||
[package_dependencies.elfutils]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"libarchive",
|
||||
"libelf",
|
||||
"sh",
|
||||
]
|
||||
|
||||
[package_dependencies.libelf]
|
||||
runtime = [
|
||||
"bzip2",
|
||||
"curl",
|
||||
"glibc",
|
||||
"json-c",
|
||||
"xz",
|
||||
"zlib-ng",
|
||||
"zstd",
|
||||
]
|
||||
|
||||
[[source]]
|
||||
url = "https://sourceware.org/elfutils/ftp/0.194/elfutils-0.194.tar.bz2"
|
||||
sha256 = "09e2ff033d39baa8b388a2d7fbc5390bfde99ae3b7c67c7daaf7433fbcf0f01e"
|
||||
extract_dir = "elfutils-$version"
|
||||
|
||||
post_extract = [
|
||||
"curl -L 'https://sourceware.org/git/?p=elfutils.git;a=patch;h=4a5cf8be906d5991e7527e69e3f2ceaa74811301' -o fix-c23-const.patch",
|
||||
"patch -Np1 -i fix-c23-const.patch",
|
||||
"sed -i 's/run-backtrace-native.sh//g' tests/Makefile.am",
|
||||
"autoreconf -fiv",
|
||||
]
|
||||
Reference in New Issue
Block a user