diff options
Diffstat (limited to 'main/libdrm/APKBUILD')
-rw-r--r-- | main/libdrm/APKBUILD | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/main/libdrm/APKBUILD b/main/libdrm/APKBUILD index 5db041c4d0..76e02efb89 100644 --- a/main/libdrm/APKBUILD +++ b/main/libdrm/APKBUILD @@ -1,19 +1,25 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libdrm -pkgver=2.4.81 -pkgrel=1 +pkgver=2.4.83 +pkgrel=0 pkgdesc="Userspace interface to kernel DRM services" url="http://dri.freedesktop.org/" arch="all" license="custom" depends="" depends_dev="linux-headers" -makedepends="$depends_dev libpthread-stubs eudev-dev libpciaccess-dev" +#remove automake, autoconf and util-macros from makedepends in next release +makedepends="$depends_dev libpthread-stubs eudev-dev libpciaccess-dev + automake autoconf util-macros" +checkdepends="cunit-dev" subpackages="$pkgname-dev" source="http://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.bz2 + ioctl.patch + amdgpu-uve_ib.patch " -builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir/$pkgname-$pkgver" + build() { cd "$builddir" ./configure \ @@ -26,14 +32,20 @@ build() { --enable-freedreno \ --enable-udev \ --disable-manpages \ - --disable-valgrind \ - || return 1 - make || return 1 + --disable-valgrind + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } -sha512sums="5f7a1524acad59890d3f890bed90a660a424e18a88d587ca356223bde4a7446d1c540f97ec11cb10d2e7ed1b4ae86127957634354a1be6d04199295ab24782e5 libdrm-2.4.81.tar.bz2" +sha512sums="8f894ff61939bca03ac857506a84bbbcbe2367e60c91a0f2388bfce5ae81e12ba2f96fe1c962416cf9e2d25ef04b98b5437c7015497789561311a72607b3bfcb libdrm-2.4.83.tar.bz2 +af52fef51aaa05a4dd17919371cb9d92a77480402730bf53ba223e54df52f3825be05a7f28e6aef8c904db5ee59fe38a6c15bc6aafa7f8d31a719e80399dd51f ioctl.patch +5aa56bf6dab6bec0f2fc90cba925bc64f48f0ebdf52651ccdbb65ccace99fce0bef23f7660968d54a6027ebc1f17850eb3a9cc5baa847c54f75a7b2b4b4e9f41 amdgpu-uve_ib.patch" |