xorg-libpciaccess: enable zlib, allow hwdata integration to be build

This commit is contained in:
Tim Biermann 2024-02-07 19:25:02 +01:00
parent c2ecfb2e07
commit 2eb47f23dd
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 10 additions and 5 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/xorg.pub
RWTSGWF5Q7TndGZqcQBgyTCxH+ohYXK9Th4un4YvS4ZUs2Cc0FV24o/GrYqQKEFb7bgL60UvaDxDy/QJvp6AyCQX2P4O4hpgrgY=
SHA256 (Pkgfile) = 69281125a5479398d6a2cf44ae5b727033cdc40ff7228a73f8733bd4b37865e3
RWTSGWF5Q7TndPiVdQFMVz2jKd816ZnauODl7RMCLa4fzAMvega649WpL5WOdVWC/7lM+eYOhg2Fsegam0+f6Wsl3F6ve7hLKAk=
SHA256 (Pkgfile) = 5796c3407b81602b8a622cbb22657936090eb375c171d6d8fba7b9f033e3e252
SHA256 (.footprint) = f0ab93126aaa2d5f2783ad87dbb9866b963b774f93a1971ccf4100792840effb
SHA256 (libpciaccess-0.18.tar.xz) = 5461b0257d495254346f52a9c329b44b346262663675d3fecdb204a7e7c262a9

View File

@ -1,19 +1,24 @@
# Description: Generic PCI access library
# URL: http://xorg.freedesktop.org
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu
# Depends on: zlib
# Optional: hwdata
name=xorg-libpciaccess
version=0.18
release=1
release=2
source=(https://www.x.org/releases/individual/lib/libpciaccess-$version.tar.xz)
build() {
meson setup libpciaccess-$version build \
prt-get isinst hwdata && PKGMK_LIBPCIA+=' -D pci-ids=hwdata'
meson setup libpciaccess-$version build $PKGMK_LIBPCIA \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true
-D b_pie=true \
-D zlib=enabled
meson compile -C build
DESTDIR=$PKG meson install -C build
}