void-packages/srcpkgs/igt-gpu-tools/template
2019-12-31 14:43:36 +01:00

34 lines
1.1 KiB
Bash

# Template file for 'igt-gpu-tools'
pkgname=igt-gpu-tools
version=1.24
revision=2
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 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=57357c72feeafc923c9cfd2d1234bd80e120fc7cc6099eac81158ec351a821bf
lib32disabled=yes
archs="i686* x86_64*"
if [ -z "${XBPS_CHECK_PKGS}" ]; then
configure_args+=" -Dbuild_tests=disabled -Dbuild_runner=disabled -Dbuild_docs=disabled"
fi
post_install() {
vlicense COPYING
}
intel-gpu-tools_package() {
depends="igt-gpu-tools>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
build_style=meta
}