void-packages/srcpkgs/igt-gpu-tools/template
2021-12-17 00:25:56 +01:00

36 lines
1.2 KiB
Bash

# Template file for 'igt-gpu-tools'
pkgname=igt-gpu-tools
version=1.25
revision=4
build_style=meson
configure_args="-Db_ndebug=false -Db_lto=false"
# b_lto=true makes the build hang at a random point
hostmakedepends="pkg-config flex peg python3-docutils gtk-doc"
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"
distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.xz"
checksum=40454d8f0484ea2477862007398a08eef78a6c252c4defce1c934548593fdd11
# tests don't behave in containers
make_check=ci-skip
lib32disabled=yes
archs="i686* x86_64*"
if [ -z "${XBPS_CHECK_PKGS}" ]; then
configure_args+=" -Dtests=disabled -Drunner=disabled -Ddocs=disabled"
fi
post_install() {
vlicense COPYING
}
intel-gpu-tools_package() {
depends="igt-gpu-tools>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
build_style=meta
}