# Template file for 'intel-gpu-tools'
pkgname=intel-gpu-tools
version=1.18
revision=1
build_style=gnu-configure
configure_args="--disable-tests"
hostmakedepends="pkg-config swig"
makedepends="python3-devel libXv-devel libXrandr-devel libpciaccess-devel
 libdrm-devel cairo-devel libunwind-devel libkmod-devel procps-ng-devel"
short_desc="Tools for development and testing of the Intel DRM driver"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/"
distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.bz2"
checksum=df77f91b5a8bdd590f1128a36b7616bc292f18ecb98e77c9c4467574fb67e4ee

lib32disabled=yes
only_for_archs="i686 i686-musl x86_64 x86_64-musl"

case "$XBPS_TARGET_MACHINE" in
	# needs SIGEV_THREAD_ID
	*-musl) broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/11948/steps/shell_3/logs/stdio";;
esac

post_install() {
	vlicense COPYING
}
