distribution/packages/debug/xorg-intel-gpu-tools/package.mk
2023-02-27 21:43:53 -05:00

26 lines
1.1 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="xorg-intel-gpu-tools"
PKG_VERSION="1.27.1"
PKG_SHA256="93b9a4816ed22b5145bb61024314c8a65caeea991ce93027643f1d40723bf417"
PKG_LICENSE="GPL"
PKG_DEPENDS_TARGET="toolchain cairo procps-ng"
PKG_SITE="https://gitlab.freedesktop.org/drm/igt-gpu-tools"
PKG_URL="https://www.x.org/releases/individual/app/igt-gpu-tools-${PKG_VERSION}.tar.xz"
PKG_LONGDESC="Test suite and tools for DRM/KMS drivers"
PKG_MESON_OPTS_TARGET="-Dchamelium=disabled \
-Ddocs=disabled \
-Dlibdrm_drivers=auto \
-Dlibunwind=disabled \
-Dman=disabled \
-Doverlay=disabled \
-Drunner=disabled \
-Dtests=enabled \
-Dvalgrind=disabled"
pre_configure_target() {
# xorg-intel-gpu-tools does not build with NDEBUG (requires assert for tests)
export TARGET_CFLAGS=$(echo ${TARGET_CFLAGS} | sed -e "s|-DNDEBUG||g")
}