![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit 2eb47f23dd7482510f65e49dbb3d99e9dfa5d58c Author: Tim Biermann <tbier@posteo.de> Date: Wed Feb 7 19:25:02 2024 +0100 xorg-libpciaccess: enable zlib, allow hwdata integration to be build diff --git a/xorg-libpciaccess/.signature b/xorg-libpciaccess/.signature index 202e4a50..0deb4661 100644 --- a/xorg-libpciaccess/.signature +++ b/xorg-libpciaccess/.signature @@ -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 diff --git a/xorg-libpciaccess/Pkgfile b/xorg-libpciaccess/Pkgfile index 53553518..36b23aed 100644 --- a/xorg-libpciaccess/Pkgfile +++ b/xorg-libpciaccess/Pkgfile @@ -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 }