blob: 871d560c16e9465311316f84de221883a96f7149 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
require recipes-graphics/mesa/mesa.inc
SRC_URI = "git://gitlab.freedesktop.org/mesa/mesa.git;protocol=https \
file://0001-meson.build-check-for-all-linux-host_os-combinations.patch \
file://0002-meson.build-make-TLS-ELF-optional.patch \
file://0003-Allow-enable-DRI-without-DRI-drivers.patch \
file://0004-Revert-mesa-Enable-asm-unconditionally-now-that-gen_.patch \
file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \
"
LIC_FILES_CHKSUM = "file://docs/license.rst;md5=9aa1bc48c9826ad9fdb16661f6930496"
SRCREV = "13f92183c7dbff9d76a83656862d0b2c2536e25d"
#SRCREV_sm8250 = "${AUTOREV}"
PLATFORMS_remove = "drm surfaceless"
PACKAGECONFIG[osmesa] = "-Dosmesa=true,-Dosmesa=false"
S = "${WORKDIR}/git"
PV = "20.4-dev+git${SRCPV}"
# Do not select this version by default
DEFAULT_PREFERENCE = "-1"
# Add package to install require files to run tests for mesa
PACKAGES =+ "mesa-ci"
FILES_${PN}-ci = "${bindir}/deqp-runner.sh ${datadir}/mesa/deqp-*"
do_install_append () {
install -d ${D}/${datadir}/mesa
install -m 0644 ${S}/ci-expects/default/deqp-default-skips.txt ${D}/${datadir}/mesa/
for f in ${S}/ci-expects/freedreno/deqp-freedreno-*; do
install -m 0644 $f ${D}/${datadir}/mesa/
done
install -d ${D}/${bindir}
install -m 0755 ${S}/.gitlab-ci/deqp-runner.sh ${D}/${bindir}/
}
|