* update glslang to 12.3.1-2

This commit is contained in:
Alexander Baldeck 2023-08-07 20:14:26 +02:00
parent fc3fa133f0
commit 4d9bf37b05

View File

@ -11,8 +11,8 @@
# upstream releases a compatible version of spirv-tools, then updating the
# spriv-tools system package and only then building glslang against that.
pkgname=glslang
pkgver=12.2.0
pkgrel=1
pkgver=12.3.1
pkgrel=2
pkgdesc='OpenGL and OpenGL ES shader front end and validator'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://github.com/KhronosGroup/glslang'
@ -21,8 +21,15 @@ depends=('gcc-libs')
makedepends=('cmake' 'ninja' 'git' 'spirv-tools' 'spirv-headers' 'python')
options=('staticlibs')
# Get the commits from known_good.json for every release
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/KhronosGroup/glslang/archive/${pkgver}.tar.gz)
sha256sums=('870d17030fda7308c1521fb2e01a9e93cbe4b130bc8274e90d00e127432ab6f6')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/KhronosGroup/glslang/archive/${pkgver}.tar.gz
https://patch-diff.githubusercontent.com/raw/KhronosGroup/glslang/pull/3283.patch)
sha256sums=('a57836a583b3044087ac51bb0d5d2d803ff84591d55f89087fc29ace42a8b9a8'
'267b65a5205315e980f077f5fa401223003fdb5a38162e6ae697d38f68115137')
prepare() {
cd ${pkgname}-${pkgver}
patch -Np1 -i "$srcdir"/3283.patch
}
build() {
cd ${pkgname}-${pkgver}