summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLW-archlinux2019-07-03 10:24:54 +0200
committerLW-archlinux2019-07-03 10:24:54 +0200
commitd1bbe1884bf9143bc0f4c21561aef131c2b16984 (patch)
tree86014c580215d092bc43001a2b19fcd62e60ccc5 /PKGBUILD
parent888ab295707da3508a80b587ef5caf3efb7dd1d5 (diff)
downloadaur-libdrm-git.tar.gz
synced options with libdrm from extra
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4753e4913c7..2f9e92434a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@
pkgname=libdrm-git
_realname=libdrm
-pkgver=2.4.93.r0.g87fdbfb6
-pkgrel=2
+pkgver=2.4.99.r1.gdcc586c6
+pkgrel=1
pkgdesc="Userspace interface to kernel DRM services, master git version"
arch=(i686 x86_64)
license=('custom')
@@ -21,26 +21,25 @@ source=('libdrm::git://anongit.freedesktop.org/mesa/drm#branch=master'
sha512sums=('SKIP'
'b0ca349b882a4326b19f81f22804fabdb6fb7aef31cdc7b16b0a7ae191bfbb50c7daddb2fc4e6c33f1136af06d060a273de36f6f3412ea326f16fa4309fda660')
-
-#prepare() {
-# cd $_pkgname
-# autoreconf -fi
-#}
-
pkgver() {
cd $_realname
git describe --long --abbrev=8 | sed 's/^libdrm-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
-build() {
+prepare() {
if [ -d _build ]; then
rm -rf _build
fi
+}
+
+build() {
meson setup libdrm _build \
--prefix /usr \
--buildtype plain \
--wrap-mode nofallback \
- -D udev=true
+ -D udev=false \
+ -D valgrind=false
+ meson configure _build
ninja -C _build
}