2019-04-21 10:43:48 -07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
|
|
PKG_NAME="xorg-intel-gpu-tools"
|
2022-04-18 05:15:52 +00:00
|
|
|
PKG_VERSION="1.28"
|
|
|
|
|
PKG_SHA256="ffcbdf61bd495803d9ae9dfa83e2fe04b8f583a2296fe059c1d5dd135a8a3b15"
|
2019-04-21 10:43:48 -07:00
|
|
|
PKG_LICENSE="GPL"
|
2022-04-18 05:15:52 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain cairo kmod procps-ng systemd"
|
2021-04-23 11:11:23 +00:00
|
|
|
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"
|
2019-04-21 10:43:48 -07:00
|
|
|
PKG_LONGDESC="Test suite and tools for DRM/KMS drivers"
|
|
|
|
|
|
2021-10-25 16:58:08 +11:00
|
|
|
PKG_MESON_OPTS_TARGET="-Dchamelium=disabled \
|
|
|
|
|
-Ddocs=disabled \
|
|
|
|
|
-Dlibdrm_drivers=auto \
|
|
|
|
|
-Dlibunwind=disabled \
|
|
|
|
|
-Dman=disabled \
|
|
|
|
|
-Doverlay=disabled \
|
|
|
|
|
-Drunner=disabled \
|
|
|
|
|
-Dtests=enabled \
|
|
|
|
|
-Dvalgrind=disabled"
|
2021-10-06 23:57:15 +11:00
|
|
|
|
|
|
|
|
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")
|
|
|
|
|
}
|