# Template file for 'igt-gpu-tools'
pkgname=igt-gpu-tools
version=1.27.1
revision=1
build_style=meson
configure_args="-Db_ndebug=false -Ddocs=disabled"
hostmakedepends="pkg-config flex peg python3-docutils"
makedepends="libdrm-devel libkmod-devel liboping-devel procps-ng-devel libunwind-devel
 elfutils-devel pixman-devel valgrind-devel cairo-devel xmlrpc-c-devel gsl-devel
 alsa-lib-devel json-c-devel libXrandr-devel"
short_desc="Tools for development and testing of the DRM drivers"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://gitlab.freedesktop.org/drm/igt-gpu-tools"
changelog="https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/raw/master/NEWS"
distfiles="${XORG_SITE}/app/igt-gpu-tools-${version}.tar.xz"
checksum=93b9a4816ed22b5145bb61024314c8a65caeea991ce93027643f1d40723bf417
# tests don't behave in containers
make_check=ci-skip

lib32disabled=yes
archs="i686* x86_64*"

post_install() {
	vlicense COPYING
}

intel-gpu-tools_package() {
	depends="igt-gpu-tools>=${version}_${revision}"
	short_desc+=" (transitional dummy package)"
	build_style=meta
}
