mingw-w64-mesa: Update to 20.2.2

Improvements
- Correct deprecation warnings with llvm, shared-glapi, gles1 and gles2
build options during build configuration
- Link LLVM dynamically.
This commit is contained in:
pal1000
2020-11-08 12:12:33 +02:00
parent cba8e1acd9
commit 35efd56bfc

View File

@@ -3,7 +3,7 @@
_realname=mesa
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=20.2.1
pkgver=20.2.2
pkgrel=1
pkgdesc="Open-source implementation of the OpenGL specification (mingw-w64)"
arch=('any')
@@ -12,7 +12,8 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-llvm"
"${MINGW_PACKAGE_PREFIX}-python-mako"
"${MINGW_PACKAGE_PREFIX}-meson"
"${MINGW_PACKAGE_PREFIX}-pkg-config")
depends=("${MINGW_PACKAGE_PREFIX}-zlib")
depends=("${MINGW_PACKAGE_PREFIX}-llvm"
"${MINGW_PACKAGE_PREFIX}-zlib")
optdepends=("${MINGW_PACKAGE_PREFIX}-opengl-man-pages: for the OpenGL API man pages"
"${MINGW_PACKAGE_PREFIX}-zstd: use ZSTD instead of zlib for certain compression tasks")
url="https://www.mesa3d.org/"
@@ -20,7 +21,7 @@ license=('MIT')
options=('staticlibs' 'strip')
source=(https://mesa.freedesktop.org/archive/${_realname}-${pkgver}.tar.xz{,.sig}
llvmwrapgen.sh)
sha256sums=('d1a46d9a3f291bc0e0374600bdcb59844fa3eafaa50398e472a36fc65fd0244a'
sha256sums=('1f93eb1090cf71490cd0e204e04f8427a82b6ed534b7f49ca50cea7dcc89b861'
'SKIP'
'44e7684f962442aa9733abcdd5bccff15f8d163b40149d113a68de2e8146fc55')
validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D') # Emil Velikov <emil.l.velikov@gmail.com>
@@ -79,10 +80,11 @@ build() {
--includedir=include/mesa
--buildtype=release
--backend=ninja
-Dshared-glapi=true
-Dgles1=true
-Dgles2=true
-Dllvm=true
-Dshared-glapi=enabled
-Dgles1=enabled
-Dgles2=enabled
-Dllvm=enabled
-Dshared-llvm=enabled
-Dosmesa=gallium
-Dbuild-tests=true"