* update glslang to 15.1.0-1

This commit is contained in:
Alexander Baldeck 2025-02-05 15:27:10 +01:00
parent 84700bebd9
commit ad50401e5e
3 changed files with 13 additions and 10 deletions

View File

@ -1,7 +1,7 @@
pkgbase = glslang
pkgdesc = OpenGL and OpenGL ES shader front end and validator
pkgver = 15.0.0
pkgrel = 2
pkgver = 15.1.0
pkgrel = 1
url = https://github.com/KhronosGroup/glslang
arch = x86_64
arch = powerpc64le
@ -16,7 +16,7 @@ pkgbase = glslang
depends = gcc-libs
depends = spirv-tools
options = staticlibs
source = glslang-15.0.0.tar.gz::https://github.com/KhronosGroup/glslang/archive/15.0.0.tar.gz
sha256sums = c31c8c2e89af907507c0631273989526ee7d5cdf7df95ececd628fd7b811e064
source = glslang-15.1.0.tar.gz::https://github.com/KhronosGroup/glslang/archive/15.1.0.tar.gz
sha256sums = 4bdcd8cdb330313f0d4deed7be527b0ac1c115ff272e492853a6e98add61b4bc
pkgname = glslang

View File

@ -4,8 +4,8 @@
# Maintainer: Robin Candau <antiz@archlinux.org>
pkgname=glslang
pkgver=15.0.0
pkgrel=2
pkgver=15.1.0
pkgrel=1
pkgdesc='OpenGL and OpenGL ES shader front end and validator'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://github.com/KhronosGroup/glslang'
@ -14,7 +14,7 @@ depends=('gcc-libs' 'spirv-tools')
makedepends=('cmake' 'ninja' 'spirv-headers' 'python')
options=('staticlibs')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/KhronosGroup/glslang/archive/${pkgver}.tar.gz)
sha256sums=('c31c8c2e89af907507c0631273989526ee7d5cdf7df95ececd628fd7b811e064')
sha256sums=('4bdcd8cdb330313f0d4deed7be527b0ac1c115ff272e492853a6e98add61b4bc')
build() {
cd ${pkgname}-${pkgver}

View File

@ -2,7 +2,10 @@
## Silent dependency on specific spirv-tools & spirv-headers version
Careful when upgrading this package! It usually breaks ABI without bumping soname.
Upstream actually expects the use of particular commits of `spirv-tools` and `spirv-headers` that are provided in the `known_good.json` file.
However, if we went that route, we'd have to vendor the resulting `spirv-tools` libs from this `glslang` build and they would be incompatible with system libs, resulting in us having to ship both. Instead, it is recommend to just wait until upstream releases a compatible version of `spirv-tools` and `spirv-header`, then updates those packages and only then building `glslang` against that.
Also, be very mindful of the version of `spirv-tools` that this links to. Upstream actually expects the use of the particular commits of `spirv-tools` and `spirv-headers` that are provided in the `known_good.json` file.
However, if we went that route, we'd have to vendor the resulting `spirv-tools` libs from this `glslang` build and they would be incompatible with system libs, resulting in us having to ship both. Instead, I recommend just waiting until upstream releases a compatible version of `spirv-tools`, then updating the `spriv-tools` system package and only then building `glslang` against that.
## Silent ABI breakages
Careful when upgrading this package! It usually breaks ABI without bumping soname.
It is recommended to rebuild reverse dependencies on upgrade out of precaution (e.g. <https://archlinux.org/todo/glslang-1510-rebuild/>).