mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
mesa: update to 24.1.0
Co-authored-by: CvH <1355173+CvH@users.noreply.github.com>
This commit is contained in:
parent
13cbee4617
commit
68d0dbff84
@ -3,11 +3,12 @@
|
|||||||
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
||||||
|
|
||||||
PKG_NAME="mesa"
|
PKG_NAME="mesa"
|
||||||
PKG_VERSION="24.0.8"
|
PKG_VERSION="24.1.0"
|
||||||
PKG_SHA256="d1ed86a266d5b7b8c136ae587ef5618ed1a9837a43440f3713622bf0123bf5c1"
|
PKG_SHA256="b7eac8c79244806b1c276eeeacc329e4a5b31a370804c4b0c7cd16837783f78b"
|
||||||
PKG_LICENSE="OSS"
|
PKG_LICENSE="OSS"
|
||||||
PKG_SITE="http://www.mesa3d.org/"
|
PKG_SITE="http://www.mesa3d.org/"
|
||||||
PKG_URL="https://mesa.freedesktop.org/archive/mesa-${PKG_VERSION}.tar.xz"
|
PKG_URL="https://mesa.freedesktop.org/archive/mesa-${PKG_VERSION}.tar.xz"
|
||||||
|
PKG_DEPENDS_HOST="toolchain:host expat:host libclc:host libdrm:host Mako:host spirv-tools:host"
|
||||||
PKG_DEPENDS_TARGET="toolchain expat libdrm Mako:host"
|
PKG_DEPENDS_TARGET="toolchain expat libdrm Mako:host"
|
||||||
PKG_LONGDESC="Mesa is a 3-D graphics library with an API."
|
PKG_LONGDESC="Mesa is a 3-D graphics library with an API."
|
||||||
|
|
||||||
@ -17,13 +18,23 @@ if [ "${DEVICE}" = "Dragonboard" ]; then
|
|||||||
PKG_DEPENDS_TARGET+=" libarchive libxml2 lua54"
|
PKG_DEPENDS_TARGET+=" libarchive libxml2 lua54"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
PKG_MESON_OPTS_HOST="-Dglvnd=disabled \
|
||||||
|
-Dgallium-drivers=iris \
|
||||||
|
-Dgallium-vdpau=disabled \
|
||||||
|
-Dplatforms= \
|
||||||
|
-Ddri3=disabled \
|
||||||
|
-Dglx=disabled \
|
||||||
|
-Dvulkan-drivers="
|
||||||
|
|
||||||
PKG_MESON_OPTS_TARGET="-Dgallium-drivers=${GALLIUM_DRIVERS// /,} \
|
PKG_MESON_OPTS_TARGET="-Dgallium-drivers=${GALLIUM_DRIVERS// /,} \
|
||||||
-Dgallium-extra-hud=false \
|
-Dgallium-extra-hud=false \
|
||||||
|
-Dgallium-rusticl=false \
|
||||||
-Dgallium-omx=disabled \
|
-Dgallium-omx=disabled \
|
||||||
-Dgallium-nine=false \
|
-Dgallium-nine=false \
|
||||||
-Dgallium-opencl=disabled \
|
-Dgallium-opencl=disabled \
|
||||||
-Dshader-cache=enabled \
|
-Dshader-cache=enabled \
|
||||||
-Dshared-glapi=enabled \
|
-Dshared-glapi=enabled \
|
||||||
|
-Dopencl-spirv=false \
|
||||||
-Dopengl=true \
|
-Dopengl=true \
|
||||||
-Dgbm=enabled \
|
-Dgbm=enabled \
|
||||||
-Degl=enabled \
|
-Degl=enabled \
|
||||||
@ -32,6 +43,7 @@ PKG_MESON_OPTS_TARGET="-Dgallium-drivers=${GALLIUM_DRIVERS// /,} \
|
|||||||
-Dlmsensors=disabled \
|
-Dlmsensors=disabled \
|
||||||
-Dbuild-tests=false \
|
-Dbuild-tests=false \
|
||||||
-Ddraw-use-llvm=false \
|
-Ddraw-use-llvm=false \
|
||||||
|
-Dmicrosoft-clc=disabled \
|
||||||
-Dselinux=false \
|
-Dselinux=false \
|
||||||
-Dosmesa=false"
|
-Dosmesa=false"
|
||||||
|
|
||||||
@ -52,11 +64,20 @@ else
|
|||||||
-Dglx=disabled"
|
-Dglx=disabled"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if listcontains "${GRAPHIC_DRIVERS}" "etnaviv"; then
|
||||||
|
PKG_DEPENDS_TARGET+=" pycparser:host"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if listcontains "${GRAPHIC_DRIVERS}" "iris"; then
|
||||||
|
PKG_DEPENDS_TARGET+=" mesa:host"
|
||||||
|
PKG_MESON_OPTS_TARGET+=" -Dintel-clc=system"
|
||||||
|
fi
|
||||||
|
|
||||||
if listcontains "${GRAPHIC_DRIVERS}" "(nvidia|nvidia-ng)"; then
|
if listcontains "${GRAPHIC_DRIVERS}" "(nvidia|nvidia-ng)"; then
|
||||||
PKG_DEPENDS_TARGET+=" libglvnd"
|
PKG_DEPENDS_TARGET+=" libglvnd"
|
||||||
PKG_MESON_OPTS_TARGET+=" -Dglvnd=true"
|
PKG_MESON_OPTS_TARGET+=" -Dglvnd=enabled"
|
||||||
else
|
else
|
||||||
PKG_MESON_OPTS_TARGET+=" -Dglvnd=false"
|
PKG_MESON_OPTS_TARGET+=" -Dglvnd=disabled"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${LLVM_SUPPORT}" = "yes" ]; then
|
if [ "${LLVM_SUPPORT}" = "yes" ]; then
|
||||||
@ -99,3 +120,8 @@ if [ "${VULKAN_SUPPORT}" = "yes" ]; then
|
|||||||
else
|
else
|
||||||
PKG_MESON_OPTS_TARGET+=" -Dvulkan-drivers="
|
PKG_MESON_OPTS_TARGET+=" -Dvulkan-drivers="
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
makeinstall_host() {
|
||||||
|
mkdir -p "${TOOLCHAIN}/bin"
|
||||||
|
cp -a src/intel/compiler/intel_clc "${TOOLCHAIN}/bin"
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user