Robin Candau pushed to branch main at Arch Linux / Packaging / Packages /
glslang
Commits:
d323153c by Robin Candau at 2024-11-27T18:10:50+01:00
upgpkg: 15.0.0-2: Rebuild against latest spirv-tools / spirv-headers
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- + README.md
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = glslang
pkgdesc = OpenGL and OpenGL ES shader front end and validator
pkgver = 15.0.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/KhronosGroup/glslang
arch = x86_64
license = BSD-3-Clause
=====================================
PKGBUILD
=====================================
@@ -2,18 +2,9 @@
# Maintainer: Sven-Hendrik Haase <[email protected]>
# Maintainer: Robin Candau <[email protected]>
-# Careful when upgrading this package! It usually breaks ABI without bumping
-# soname. 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 known_good.json. 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.
pkgname=glslang
pkgver=15.0.0
-pkgrel=1
+pkgrel=2
pkgdesc='OpenGL and OpenGL ES shader front end and validator'
arch=('x86_64')
url='https://github.com/KhronosGroup/glslang'
@@ -50,11 +41,13 @@ build() {
check() {
cd ${pkgname}-${pkgver}
+
ninja -Cbuild-shared test
}
package() {
cd ${pkgname}-${pkgver}
+
DESTDIR="${pkgdir}" cmake --install build-static
DESTDIR="${pkgdir}" cmake --install build-shared
=====================================
README.md
=====================================
@@ -0,0 +1,8 @@
+# glslang
+
+## Silent dependency on specific spirv-tools & spirv-headers version
+
+Careful when upgrading this package! It usually breaks ABI without bumping
soname.
+
+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.
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/glslang/-/commit/d323153cd829a47db1d01ca2f6fc3c0a501f6f2f
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/glslang/-/commit/d323153cd829a47db1d01ca2f6fc3c0a501f6f2f
You're receiving this email because of your account on gitlab.archlinux.org.