102.11.0-1
[arch-packages.git] / libdrm / repos / extra-x86_64 / PKGBUILD
blobeb7c0e55b825ff70de4a1f30335f032712941bf9
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
3 pkgname=libdrm
4 pkgver=2.4.115
5 pkgrel=1
6 pkgdesc="Userspace interface to kernel DRM services"
7 url="https://dri.freedesktop.org/"
8 arch=(x86_64)
9 license=('custom')
10 depends=('libpciaccess')
11 makedepends=('python-docutils' 'meson')
12 checkdepends=('cairo')
13 replaces=('libdrm-new' 'libdrm-nouveau')
14 source=(https://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
15         COPYING)
16 sha512sums=('0c38d3cfd76f627b899f052527c2939d5fc87a417422dceb0761839ba21e69736703a87ba170b5ba7a4aca2506a240760c8c97ca1781a7fb78468225295293bd'
17             'SKIP'
18             'b0ca349b882a4326b19f81f22804fabdb6fb7aef31cdc7b16b0a7ae191bfbb50c7daddb2fc4e6c33f1136af06d060a273de36f6f3412ea326f16fa4309fda660')
19 #validpgpkeys=('10A6D91DA1B05BD29F6DEBAC0C74F35979C486BE') # David Airlie <airlied@redhat.com>
20 validpgpkeys=('34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48') # emersion <contact@emersion.fr>
21 #validpgpkeys=('E9E246A89E65374EB8355796B8B5FA0EFC1EC2FE') # "Leo Liu <leo.liu@amd.com>"
22 #validpgpkeys=('899A810900B815807742E6D895A677A230AC4AA9') # Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
23 #validpgpkeys=('2617F6F8DEBB0A7A15C405C983FD600E340FB5FF') # Samuel Pitoiset <samuel.pitoiset@gmail.com>
25 build() {
26   arch-meson $pkgname-$pkgver build \
27     -D udev=false \
28     -D etnaviv=disabled \
29     -D freedreno=disabled \
30     -D vc4=disabled \
31     -D valgrind=disabled \
32     -D install-test-programs=true
33   meson compile -C build
36 check() {
37   meson test -C build --print-errorlogs
40 package() {
41   meson install -C build --destdir "$pkgdir"
42   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING