# Template file for 'intel-gpu-tools'
pkgname=intel-gpu-tools
version=1.22
revision=2
build_style=meson
hostmakedepends="flex gtk-doc pkg-config swig"
makedepends="cairo-devel libXrandr-devel libXv-devel libkmod-devel
 libunwind-devel procps-ng-devel python3-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.xz"
checksum=3d66c1dc5110712ca4d22199b3ce9853f261be1690064edf87e69e5392e39a5c

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
}
