1 # Maintainer: Daniel Micay <danielmicay@gmail.com>
2 # Contributor: Mikael Eriksson <mikael_eriksson@miffe.org>
3 # Originally by: Denis Smirnov <detanator@gmail.com>
6 pkgname=intel-gpu-tools
9 pkgdesc="Tools for development and testing of the Intel DRM driver"
12 url='https://gitlab.freedesktop.org/drm/igt-gpu-tools'
13 depends=(libdrm libpciaccess cairo python xorg-xrandr procps-ng kmod libxv libunwind peg systemd)
14 makedepends=(swig gtk-doc xorg-util-macros xorgproto meson)
15 source=(https://xorg.freedesktop.org/releases/individual/app/${_pkgname}-$pkgver.tar.xz{,.sig}
16 remove-race-in-creating-batch-buffers.patch
17 remove-crc32-table-from-common-section.patch)
18 sha512sums=('43728c1981862f48180652849fbf04e36f976ae39a20f166fd5b4413ad3d682f7eea5db27c53d48d88d516577b053a6cc5afe000d1cad19ba65dedc248edf4a6'
20 '91abc467d594fd97784f5843853c53bd812445f956c0f299a1127a2d758416485a7bb5c9bda764c7ce2ce133b9aa4bb6076a20a307261a18274d7f61623f142f'
21 '2053f4e30752bd6ebf735ba5f629f68899c31b2984d5a0fcfc8c11bdd09223308f9f5c7bb3bd8dfe5c57341ef89ccb87235a5f0c14e2439d7451d5eb4cfa845a')
22 validpgpkeys=('775965B85650195ACE77E18D7370055DB74C2475'
23 'E1996E8A119F43C4BA2BE889D8C620766EA3F69D')
27 cd igt-gpu-tools-${pkgver}
28 patch -Np1 -i ${srcdir}/remove-race-in-creating-batch-buffers.patch
29 patch -Np1 -i ${srcdir}/remove-crc32-table-from-common-section.patch
34 meson ../$_pkgname-$pkgver \
48 DESTDIR="$pkgdir" ninja install
50 cd ../$_pkgname-$pkgver
51 install -Dm644 COPYING "$pkgdir/usr/share/licenses/${pkgname}/COPYING"