summaryrefslogtreecommitdiff
path: root/user/libpciaccess
diff options
context:
space:
mode:
authorErmine <mustela@erminea.space>2024-08-28 17:44:49 +0000
committerErmine <mustela@erminea.space>2024-09-01 12:53:53 +0000
commit60d4be912f43df2c0b91814731f16afe3db81c0d (patch)
treec98069850e066ee65a805d9db23ea7efcbe6b7f7 /user/libpciaccess
parent37670d014ecff9b1cb193b60b62b331bee27180d (diff)
downloadpackages-60d4be912f43df2c0b91814731f16afe3db81c0d.tar.gz
packages-60d4be912f43df2c0b91814731f16afe3db81c0d.tar.bz2
packages-60d4be912f43df2c0b91814731f16afe3db81c0d.tar.xz
packages-60d4be912f43df2c0b91814731f16afe3db81c0d.zip
user/libpciaccess: upgrade to 0.18.1
Also use meson build system instead of autotools and depend on hwdata-pci
Diffstat (limited to 'user/libpciaccess')
-rw-r--r--user/libpciaccess/APKBUILD22
1 files 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 <awilfox@adelielinux.org>
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"