diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2018-04-16 11:04:15 +0800 |
---|---|---|
committer | California Sullivan <california.l.sullivan@intel.com> | 2018-04-16 16:08:53 -0700 |
commit | 487ca639310d92ca219638fecbb731d6cd476e92 (patch) | |
tree | f7d782b763f0bcf5bc69336fff5ea982d19f4f22 /recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.22.bb | |
parent | 31a6506a0170023f06511915f0da076d90e253fa (diff) | |
download | meta-intel-487ca639310d92ca219638fecbb731d6cd476e92.tar.gz |
intel-gpu-tools: upgrade 1.21 -> 1.22
For changes, please see: https://cgit.freedesktop.org/xorg/app/intel-gpu-tools/tree/NEWS
Also add a PACKAGECONFIG to enable audio tests.
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Diffstat (limited to 'recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.22.bb')
-rw-r--r-- | recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.22.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.22.bb b/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.22.bb new file mode 100644 index 00000000..f9ee7218 --- /dev/null +++ b/recipes-graphics/intel-gpu-tools/intel-gpu-tools_1.22.bb | |||
@@ -0,0 +1,42 @@ | |||
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 | SRC_URI = "${XORG_MIRROR}/individual/app/${BP}.tar.xz" | ||
13 | |||
14 | DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 libxv libx11 libxext libxrandr procps libunwind" | ||
15 | RDEPENDS_${PN} += "bash" | ||
16 | RDEPENDS_${PN}-tests += "bash" | ||
17 | |||
18 | PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests" | ||
19 | |||
20 | SRC_URI[md5sum] = "965c591b23a132084113c2a0604f537a" | ||
21 | SRC_URI[sha256sum] = "3d66c1dc5110712ca4d22199b3ce9853f261be1690064edf87e69e5392e39a5c" | ||
22 | |||
23 | EXTRA_OECONF = "--disable-nouveau --disable-shader-debugger" | ||
24 | COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux" | ||
25 | COMPATIBLE_HOST_libc-musl_class-target = "null" | ||
26 | |||
27 | PACKAGECONFIG ??= "" | ||
28 | PACKAGECONFIG[audio] = "--enable-audio,--disable-audio,alsa-lib gsl" | ||
29 | |||
30 | gputools_sysroot_preprocess() { | ||
31 | rm -f ${SYSROOT_DESTDIR}${libdir}/pkgconfig/intel-gen4asm.pc | ||
32 | } | ||
33 | SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess" | ||
34 | |||
35 | FILES_${PN} += "${libdir}/intel_aubdump.so" | ||
36 | FILES_${PN}-benchmarks += "${libexecdir}/intel-gpu-tools/benchmarks" | ||
37 | FILES_${PN}-tests += "\ | ||
38 | ${libexecdir}/intel-gpu-tools/*\ | ||
39 | ${datadir}/intel-gpu-tools/1080p-right.png\ | ||
40 | ${datadir}/intel-gpu-tools/1080p-left.png\ | ||
41 | ${datadir}/intel-gpu-tools/pass.png\ | ||
42 | ${datadir}/intel-gpu-tools/test-list.txt" | ||