summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.21.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.21.bb')
-rw-r--r--recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.21.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.21.bb b/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.21.bb
new file mode 100644
index 0000000..962f228
--- /dev/null
+++ b/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.21.bb
@@ -0,0 +1,39 @@
1require ${COREBASE}/meta/recipes-graphics/xorg-app/xorg-app-common.inc
2
3SUMMARY = "Intel GPU tools"
4DESCRIPTION = "Variety of small tools for testing intel graphics."
5
6LIC_FILES_CHKSUM = "file://COPYING;md5=e4b3dd344780e0400593b21b115a6947"
7
8LICENSE_append = " & ISC"
9
10inherit autotools gtk-doc
11
12SRC_URI = "${XORG_MIRROR}/individual/app/${BP}.tar.xz"
13
14DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 libxv libx11 libxext libxrandr procps libunwind"
15RDEPENDS_${PN} += "bash"
16RDEPENDS_${PN}-tests += "bash"
17
18PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests"
19
20SRC_URI[md5sum] = "94125e46d528b67b060ba98f3c2e3bee"
21SRC_URI[sha256sum] = "d9af6e7a24cb22e5b6ff8db03a0e6b230f08c17908cedee59e8795d74e18703f"
22
23EXTRA_OECONF = "--disable-nouveau --disable-shader-debugger"
24COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
25COMPATIBLE_HOST_libc-musl_class-target = "null"
26
27gputools_sysroot_preprocess() {
28 rm -f ${SYSROOT_DESTDIR}${libdir}/pkgconfig/intel-gen4asm.pc
29}
30SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess"
31
32FILES_${PN} += "${libdir}/intel_aubdump.so"
33FILES_${PN}-benchmarks += "${libexecdir}/intel-gpu-tools/benchmarks"
34FILES_${PN}-tests += "\
35 ${libexecdir}/intel-gpu-tools/*\
36 ${datadir}/intel-gpu-tools/1080p-right.png\
37 ${datadir}/intel-gpu-tools/1080p-left.png\
38 ${datadir}/intel-gpu-tools/pass.png\
39 ${datadir}/intel-gpu-tools/test-list.txt"