glslang: update to 13.0.0

This commit is contained in:
مهدي شينون (Mehdi Chinoune)
2023-08-26 19:45:28 +01:00
parent d4dda38f8b
commit d42b75953d

View File

@@ -4,8 +4,8 @@
_realname=glslang
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=12.3.1
pkgrel=3
pkgver=13.0.0
pkgrel=1
pkgdesc='An OpenGL and OpenGL ES shader front end and validator (mingw-w64)'
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
@@ -18,20 +18,14 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-cc"
"${MINGW_PACKAGE_PREFIX}-ninja"
"${MINGW_PACKAGE_PREFIX}-python")
source=(${_realname}-${pkgver}.tar.gz::https://github.com/KhronosGroup/glslang/archive/${pkgver}.tar.gz
001-respect-destdir-for-compat-symlink.patch::https://github.com/KhronosGroup/glslang/commit/171a3220.patch
002-remove-deprecated-mingw-secure-api.patch
https://github.com/KhronosGroup/glslang/commit/3805888a57c07904b6bbdec639bfe5f078e26342.patch)
sha256sums=('a57836a583b3044087ac51bb0d5d2d803ff84591d55f89087fc29ace42a8b9a8'
'2165e599353a238b4ff054cc9a1469bcce78e4562f7b2546ed78521cd8510658'
'c0a1b75449fa7ab6448b38b3d55bff1c150c2083894063cb95ad5b165bf79fe0'
'2d19e564a532b6766c072c445397ab09a7d9efecd6ba587933930320f052e2ff')
002-remove-deprecated-mingw-secure-api.patch)
sha256sums=('bcda732434f829aa74414ea0e06d329ec8ac28637c38a0de45e17c8fd25a4715'
'c0a1b75449fa7ab6448b38b3d55bff1c150c2083894063cb95ad5b165bf79fe0')
prepare() {
cd "${srcdir}/${_realname}-${pkgver}"
patch -Np1 -i "${srcdir}/001-respect-destdir-for-compat-symlink.patch"
patch -Np1 -i "${srcdir}/002-remove-deprecated-mingw-secure-api.patch"
patch -Np1 -i "${srcdir}/3805888a57c07904b6bbdec639bfe5f078e26342.patch"
}
build() {