mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/libdrm to 2.4.113-2
This commit is contained in:
parent
d168194caa
commit
04c9818a52
1 changed files with 13 additions and 12 deletions
|
@ -1,44 +1,45 @@
|
|||
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - enable omap, exynos, tegra, etnaviv for v7
|
||||
# - move cairo to makedepends from checkdepends
|
||||
|
||||
pkgname=libdrm
|
||||
pkgver=2.4.112
|
||||
pkgrel=1
|
||||
pkgver=2.4.113
|
||||
pkgrel=2
|
||||
pkgdesc="Userspace interface to kernel DRM services"
|
||||
url="https://dri.freedesktop.org/"
|
||||
arch=(x86_64)
|
||||
license=('custom')
|
||||
depends=('libpciaccess')
|
||||
makedepends=('python-docutils' 'meson')
|
||||
checkdepends=('cairo')
|
||||
makedepends=('python-docutils' 'meson' 'cairo')
|
||||
replaces=('libdrm-new' 'libdrm-nouveau')
|
||||
options=('debug')
|
||||
source=(https://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
|
||||
COPYING)
|
||||
sha512sums=('df8a207d9cce220ee2cf67877eda65394733fbfd0ff85fdbadb2b20ba9bacc41421b32452506c8caecddaf8361564ca68cd6c74d4faf3b1569ab30a3243e4340'
|
||||
sha512sums=('fca9834ce090f63ce6dc6d04491a2c5e86162fdddfc8ea70d55a6cdeb401be656388aae1577e58f463a78d8dc502be0a641908784819874e20bbec9a39a057e0'
|
||||
'SKIP'
|
||||
'b0ca349b882a4326b19f81f22804fabdb6fb7aef31cdc7b16b0a7ae191bfbb50c7daddb2fc4e6c33f1136af06d060a273de36f6f3412ea326f16fa4309fda660')
|
||||
#validpgpkeys=('10A6D91DA1B05BD29F6DEBAC0C74F35979C486BE') # David Airlie <airlied@redhat.com>
|
||||
validpgpkeys+=('34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48') # emersion <contact@emersion.fr>
|
||||
#validpgpkeys+=('E9E246A89E65374EB8355796B8B5FA0EFC1EC2FE') # "Leo Liu <leo.liu@amd.com>"
|
||||
validpgpkeys=('34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48') # emersion <contact@emersion.fr>
|
||||
#validpgpkeys=('E9E246A89E65374EB8355796B8B5FA0EFC1EC2FE') # "Leo Liu <leo.liu@amd.com>"
|
||||
#validpgpkeys=('899A810900B815807742E6D895A677A230AC4AA9') # Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
|
||||
#validpgpkeys=('2617F6F8DEBB0A7A15C405C983FD600E340FB5FF') # Samuel Pitoiset <samuel.pitoiset@gmail.com>
|
||||
|
||||
build() {
|
||||
[[ "$CARCH" == "armv7h" ]] && CONFIG="-Domap=true -Dexynos=true -Dtegra=true -Detnaviv=true"
|
||||
arch-meson $pkgname-$pkgver build \
|
||||
-Dudev=false \
|
||||
-D udev=false \
|
||||
-D valgrind=disabled \
|
||||
$CONFIG
|
||||
ninja -C build
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
check() {
|
||||
meson test -C build
|
||||
meson test -C build --print-errorlogs
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install -C build
|
||||
meson install -C build --destdir "$pkgdir"
|
||||
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue