summaryrefslogtreecommitdiff
path: root/user/libdrm/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-04-05 10:47:24 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-04-05 10:47:24 +0000
commit2af83a67580bebfff88c7f63e664b581e58b21a8 (patch)
treec9e2a468b94ec61bcc2cccc798c810f7450f7890 /user/libdrm/APKBUILD
parent3dda9b9ec89a81454b559a7247d98fc7ac54b0d2 (diff)
downloadpackages-2af83a67580bebfff88c7f63e664b581e58b21a8.tar.gz
packages-2af83a67580bebfff88c7f63e664b581e58b21a8.tar.bz2
packages-2af83a67580bebfff88c7f63e664b581e58b21a8.tar.xz
packages-2af83a67580bebfff88c7f63e664b581e58b21a8.zip
user/libdrm: Update to 2.4.101
Diffstat (limited to 'user/libdrm/APKBUILD')
-rw-r--r--user/libdrm/APKBUILD41
1 files changed, 18 insertions, 23 deletions
diff --git a/user/libdrm/APKBUILD b/user/libdrm/APKBUILD
index 59c09b360..99534d596 100644
--- a/user/libdrm/APKBUILD
+++ b/user/libdrm/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libdrm
-pkgver=2.4.100
+pkgver=2.4.101
pkgrel=0
pkgdesc="Userspace interface to kernel DRM services"
url="https://dri.freedesktop.org/"
@@ -12,39 +12,34 @@ depends=""
depends_dev="linux-headers"
checkdepends="bash cunit-dev"
makedepends="$depends_dev bash eudev-dev libpciaccess-dev libpthread-stubs
- xmlto"
+ meson ninja xmlto"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.bz2
- ioctl.patch
- "
+source="https://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.xz"
build() {
case $CARCH in
- arm*|aarch64*) _arch_conf="--enable-omap-experimental-api
- --enable-exynos-experimental-api
- --enable-tegra-experimental-api" ;;
+ arm*|aarch64*) _arch_conf="-Domap=true
+ -Dexynos=true
+ -Detnaviv=true
+ -Dtegra=true" ;;
esac
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- --enable-udev \
- --disable-valgrind \
- $_arch_conf
- make
+ meson \
+ -Dprefix=/usr \
+ -Dman-pages=true \
+ -Dudev=true \
+ -Dvalgrind=false \
+ $_arch_conf \
+ build
+ ninja -C build
}
check() {
- make check
+ ninja -C build test
}
package() {
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" ninja -C build install
}
-sha512sums="4d3a5556e650872944af52f49de395e0ce8ac9ac58530e39a34413e94dc56c231ee71b8b8de9fb944263515a922b3ebbf7ddfebeaaa91543c2604f9bcf561247 libdrm-2.4.100.tar.bz2
-af52fef51aaa05a4dd17919371cb9d92a77480402730bf53ba223e54df52f3825be05a7f28e6aef8c904db5ee59fe38a6c15bc6aafa7f8d31a719e80399dd51f ioctl.patch"
+sha512sums="658cfc6f478b674b77b4613e1af9ce8f4fd2ace8a18e75729de254d14b7c1f5d67d4bfdb58744aea74abca0f6521326225f4156bd5cbeeed79ca3e025f657e8c libdrm-2.4.101.tar.xz"