diff options
Diffstat (limited to 'meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb')
-rw-r--r-- | meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb index 1cc94cf993..90cd09ea70 100644 --- a/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb +++ b/meta/recipes-graphics/igt-gpu-tools/igt-gpu-tools_git.bb | |||
@@ -7,28 +7,26 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=67bfee4df38fa6ecbe3a675c552d4c08" | |||
7 | 7 | ||
8 | LICENSE = "MIT" | 8 | LICENSE = "MIT" |
9 | 9 | ||
10 | inherit meson | 10 | inherit meson pkgconfig |
11 | 11 | ||
12 | SRCREV = "d16ad07e7f2a028e14d61f570931c87fa5ce404c" | 12 | SRCREV = "31ec677ca24e7ed86e35f367f40a29d3d9f51c06" |
13 | PV = "1.25+git${SRCPV}" | 13 | PV = "1.28" |
14 | 14 | ||
15 | SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https \ | 15 | SRC_URI = "git://gitlab.freedesktop.org/drm/igt-gpu-tools.git;protocol=https;branch=master" |
16 | file://0001-lib-igt_edid-Allocate-raw-8-bytes-for-VSDB.patch \ | ||
17 | file://reproducibility.patch" | ||
18 | 16 | ||
19 | S = "${WORKDIR}/git" | 17 | S = "${WORKDIR}/git" |
20 | 18 | ||
21 | DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 procps libunwind kmod openssl elfutils alsa-lib json-c bison-native" | 19 | DEPENDS += "libdrm libpciaccess cairo udev glib-2.0 procps libunwind kmod openssl elfutils alsa-lib json-c bison-native" |
22 | RDEPENDS_${PN} += "bash" | 20 | RDEPENDS:${PN} += "bash perl" |
23 | RDEPENDS_${PN}-tests += "bash" | 21 | RDEPENDS:${PN}-tests += "bash" |
24 | 22 | ||
25 | PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests" | 23 | PACKAGE_BEFORE_PN = "${PN}-benchmarks ${PN}-tests" |
26 | 24 | ||
27 | PACKAGECONFIG[chamelium] = "-Dchamelium=enabled,-Dchamelium=disabled,gsl xmlrpc-c" | 25 | PACKAGECONFIG[chamelium] = "-Dchamelium=enabled,-Dchamelium=disabled,gsl xmlrpc-c" |
28 | 26 | ||
29 | EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled -Dsrcdir=/usr/src/debug/${PN}/${PV}-${PR}/git/" | 27 | EXTRA_OEMESON = "-Ddocs=disabled -Drunner=enabled -Dsrcdir=${TARGET_DBGSRC_DIR}/git/ -Dversion_hash=${PV}" |
30 | COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux" | 28 | COMPATIBLE_HOST = "(x86_64.*|i.86.*|arm.*|aarch64).*-linux" |
31 | COMPATIBLE_HOST_libc-musl_class-target = "null" | 29 | COMPATIBLE_HOST:libc-musl:class-target = "null" |
32 | SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}" | 30 | SECURITY_LDFLAGS = "${SECURITY_X_LDFLAGS}" |
33 | 31 | ||
34 | gputools_sysroot_preprocess() { | 32 | gputools_sysroot_preprocess() { |
@@ -36,7 +34,7 @@ gputools_sysroot_preprocess() { | |||
36 | } | 34 | } |
37 | SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess" | 35 | SYSROOT_PREPROCESS_FUNCS += "gputools_sysroot_preprocess" |
38 | 36 | ||
39 | do_install_append() { | 37 | do_install:append() { |
40 | install -d ${D}/usr/share/${BPN}/scripts | 38 | install -d ${D}/usr/share/${BPN}/scripts |
41 | install ${S}/scripts/run-tests.sh ${D}/usr/share/${BPN}/scripts | 39 | install ${S}/scripts/run-tests.sh ${D}/usr/share/${BPN}/scripts |
42 | install -d ${D}/usr/share/${BPN}/runner | 40 | install -d ${D}/usr/share/${BPN}/runner |
@@ -44,8 +42,8 @@ do_install_append() { | |||
44 | install -D ${B}/runner/igt_resume ${D}/usr/share/${BPN}/runner | 42 | install -D ${B}/runner/igt_resume ${D}/usr/share/${BPN}/runner |
45 | } | 43 | } |
46 | 44 | ||
47 | FILES_${PN}-benchmarks += "${libexecdir}/${BPN}/benchmarks" | 45 | FILES:${PN}-benchmarks += "${libexecdir}/${BPN}/benchmarks" |
48 | FILES_${PN}-tests += "\ | 46 | FILES:${PN}-tests += "\ |
49 | ${libexecdir}/${BPN}/*\ | 47 | ${libexecdir}/${BPN}/*\ |
50 | ${datadir}/${BPN}/1080p-right.png\ | 48 | ${datadir}/${BPN}/1080p-right.png\ |
51 | ${datadir}/${BPN}/1080p-left.png\ | 49 | ${datadir}/${BPN}/1080p-left.png\ |