From 60d4be912f43df2c0b91814731f16afe3db81c0d Mon Sep 17 00:00:00 2001 From: Ermine Date: Wed, 28 Aug 2024 17:44:49 +0000 Subject: user/libpciaccess: upgrade to 0.18.1 Also use meson build system instead of autotools and depend on hwdata-pci --- user/libpciaccess/APKBUILD | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/user/libpciaccess/APKBUILD b/user/libpciaccess/APKBUILD index b6c8ef8ec..48f551e40 100644 --- a/user/libpciaccess/APKBUILD +++ b/user/libpciaccess/APKBUILD @@ -1,32 +1,26 @@ # Maintainer: A. Wilcox pkgname=libpciaccess -pkgver=0.17 +pkgver=0.18.1 pkgrel=0 pkgdesc="X11 PCI access library" url="https://www.X.Org/" arch="all" +options="!check" # no test suite license="MIT AND X11" -depends="" -makedepends="util-macros" +depends="hwids-pci" +makedepends="meson" subpackages="$pkgname-dev" source="https://www.X.Org/releases/individual/lib/$pkgname-$pkgver.tar.xz limits_h.patch" build() { - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr - make -} - -check() { - make check + meson setup --prefix=/usr build + meson compile -C build } package() { - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" meson install -C build } -sha512sums="8484605c66ef18c8d8a3e029a6d33e26fcaa450c1263790d89ac8b0a160ffb2dfceaa6140ac9ad7d8087283ecbec8ac801f757e44890d547c3cbecd2c922ca47 libpciaccess-0.17.tar.xz +sha512sums="ef27999446e735df2331e94219ee3dafe9198a2472bb452f63ef9c9c446d5431f9e231e224cfabdeba1402974a5a0064546f9abced4d1770f994f5fc0c2b3310 libpciaccess-0.18.1.tar.xz 331a498059d8b2bfd0a7da0ced3616266ebc129b785090ef1dc19cd645b013428c60d5678fc080bd15ecaf7598ec8b1084509d6bea5d563101169a449b6fe75b limits_h.patch" -- cgit v1.2.3-70-g09d2