2014-01-14 00:53:00 +00:00
|
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2016-11-14 03:58:12 +00:00
|
|
|
# - enable omap, exynos, tegra, etnaviv for v7
|
2014-01-14 00:53:00 +00:00
|
|
|
|
|
|
|
pkgname=libdrm
|
2021-11-28 21:24:04 +00:00
|
|
|
pkgver=2.4.109
|
2021-01-13 22:29:18 +00:00
|
|
|
pkgrel=1
|
2014-01-14 00:53:00 +00:00
|
|
|
pkgdesc="Userspace interface to kernel DRM services"
|
2018-02-21 13:30:49 +00:00
|
|
|
url="https://dri.freedesktop.org/"
|
2017-12-24 20:34:15 +00:00
|
|
|
arch=(x86_64)
|
2014-01-14 00:53:00 +00:00
|
|
|
license=('custom')
|
2016-11-30 13:27:10 +00:00
|
|
|
depends=('libpciaccess')
|
2021-01-13 22:29:18 +00:00
|
|
|
makedepends=('python-docutils' 'meson')
|
2014-01-14 00:53:00 +00:00
|
|
|
checkdepends=('cairo')
|
|
|
|
replaces=('libdrm-new' 'libdrm-nouveau')
|
2020-11-16 14:55:17 +00:00
|
|
|
source=(https://dri.freedesktop.org/$pkgname/$pkgname-$pkgver.tar.xz{,.sig}
|
2015-05-07 13:49:36 +00:00
|
|
|
COPYING)
|
2021-11-28 21:24:04 +00:00
|
|
|
sha512sums=('45194bb28207421afcff3e247930d2eeab77a5fea58e6be22f67525f2e0aab2f410a9ae0ab315b55ef56b80c481bba40b1660468b7cda539758b2bbb8e814fd8'
|
2020-11-16 14:55:17 +00:00
|
|
|
'SKIP'
|
2017-04-13 12:38:33 +00:00
|
|
|
'b0ca349b882a4326b19f81f22804fabdb6fb7aef31cdc7b16b0a7ae191bfbb50c7daddb2fc4e6c33f1136af06d060a273de36f6f3412ea326f16fa4309fda660')
|
2021-07-05 21:41:07 +00:00
|
|
|
#validpgpkeys=('10A6D91DA1B05BD29F6DEBAC0C74F35979C486BE') # David Airlie <airlied@redhat.com>
|
2021-11-10 00:51:53 +00:00
|
|
|
validpgpkeys+=('34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48') # emersion <contact@emersion.fr>
|
2021-07-05 21:41:07 +00:00
|
|
|
#validpgpkeys+=('E9E246A89E65374EB8355796B8B5FA0EFC1EC2FE') # "Leo Liu <leo.liu@amd.com>"
|
2021-11-10 00:51:53 +00:00
|
|
|
#validpgpkeys=('899A810900B815807742E6D895A677A230AC4AA9') # Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
|
2018-02-21 13:30:49 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
[[ "$CARCH" == "armv7h" ]] && CONFIG="-Domap=true -Dexynos=true -Dtegra=true -Detnaviv=true"
|
2018-03-14 17:44:14 +00:00
|
|
|
arch-meson $pkgname-$pkgver build \
|
2018-03-22 12:17:21 +00:00
|
|
|
-Dudev=false \
|
2018-03-14 17:44:14 +00:00
|
|
|
$CONFIG
|
2018-02-21 13:30:49 +00:00
|
|
|
ninja -C build
|
2014-01-14 00:53:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2018-10-06 17:30:35 +00:00
|
|
|
meson test -C build
|
2014-01-14 00:53:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2018-10-06 17:30:35 +00:00
|
|
|
DESTDIR="$pkgdir" meson install -C build
|
2018-02-21 13:30:49 +00:00
|
|
|
install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
|
2014-01-14 00:53:00 +00:00
|
|
|
}
|