37 lines
1.2 KiB
Bash
37 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=extended
|
|
|
|
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
|
|
}
|