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://0005-vc4-use-intmax_t-for-formatted-output-of-timespec-me.patch \ file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \ file://fix-meson-config-compat.patch \ file://0001-src-util-disk_cache_os.c-Add-missing-headers-for-ope.patch \ " LIC_FILES_CHKSUM = "file://docs/license.rst;md5=9aa1bc48c9826ad9fdb16661f6930496" SRCREV = "3424e17b9a9beca85c0ef60e195eb544faea8995" #SRCREV_sm8250 = "${AUTOREV}" S = "${WORKDIR}/git" PV = "20.3-dev+git${SRCPV}" # Do not select this version by default DEFAULT_PREFERENCE = "-1" DEFAULT_PREFERENCE_sm8250 = "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}/.gitlab-ci/deqp-default-skips.txt ${D}/${datadir}/mesa/ for f in ${S}/.gitlab-ci/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}/ }