diff options
Diffstat (limited to 'common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.14.bb')
-rw-r--r-- | common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.14.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.14.bb b/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.14.bb new file mode 100644 index 00000000..c20ce31e --- /dev/null +++ b/common/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.14.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | require ${COREBASE}/meta/recipes-graphics/xorg-app/xorg-app-common.inc | ||
2 | |||
3 | SUMMARY = "Intel GPU tools" | ||
4 | DESCRIPTION = "Variety of small tools for testing intel graphics." | ||
5 | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=e4b3dd344780e0400593b21b115a6947" | ||
7 | |||
8 | LICENSE_append = " & ISC" | ||
9 | |||
10 | inherit autotools gtk-doc | ||
11 | |||
12 | DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 libxv libx11 libxext libxrandr" | ||
13 | RDEPENDS_${PN} += "bash" | ||
14 | RDEPENDS_${PN}-tests += "bash" | ||
15 | |||
16 | PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests" | ||
17 | |||
18 | SRC_URI[md5sum] = "b09d69526c86174007bea2228e36b2f1" | ||
19 | SRC_URI[sha256sum] = "3596e1d36e9c1203eed5abff5a0f272d573f4eb917b5cee4f029cce5a70a0f0c" | ||
20 | |||
21 | PACKAGECONFIG ??= "" | ||
22 | PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind,libunwind" | ||
23 | |||
24 | EXTRA_OECONF = "--disable-nouveau --disable-shader-debugger" | ||
25 | COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux" | ||
26 | |||
27 | gputools_sysroot_preprocess() { | ||
28 | rm -f ${SYSROOT_DESTDIR}${libdir}/pkgconfig/intel-gen4asm.pc | ||
29 | } | ||
30 | SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess" | ||
31 | |||
32 | FILES_${PN} += "${libdir}/intel_aubdump.so" | ||
33 | FILES_${PN}-benchmarks += "${libexecdir}/intel-gpu-tools/benchmarks" | ||
34 | FILES_${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" | ||