aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-27 11:06:37 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-27 11:06:37 -0300
commit45ca5f5fd221d8167294746765515d3f61ccf67b (patch)
tree8ff5bd4ec96bef848444440cf3989a5f5d55e2b0
parentedfbdc7f5707ee8567e5c6c8344f05514bc1957e (diff)
downloadaports-45ca5f5fd221d8167294746765515d3f61ccf67b.tar.gz
aports-45ca5f5fd221d8167294746765515d3f61ccf67b.tar.bz2
aports-45ca5f5fd221d8167294746765515d3f61ccf67b.tar.xz
main/glslang: upgrade to 8.13.3743
-rw-r--r--main/glslang/APKBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/main/glslang/APKBUILD b/main/glslang/APKBUILD
index 944bf4c6d9..0765a37b5b 100644
--- a/main/glslang/APKBUILD
+++ b/main/glslang/APKBUILD
@@ -1,9 +1,8 @@
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=glslang
-pkgver=8.13.3559
-pkgrel=5
-_commit=07e1a0a67aee5b21561bd6b93d73c8d87e010d98
+pkgver=8.13.3743
+pkgrel=0
pkgdesc="Khronos reference front-end for GLSL, ESSL, and sample SPIR-V generator"
options="!check" # Requires git checkout of gmock
url="https://github.com/KhronosGroup/glslang"
@@ -12,11 +11,10 @@ license="BSD-3-Clause"
depends_dev="$pkgname"
makedepends="cmake samurai python3 bison spirv-tools-dev"
subpackages="$pkgname-static $pkgname-dev"
-source="$pkgname-$_commit.tar.gz::https://github.com/KhronosGroup/glslang/archive/$_commit.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/KhronosGroup/glslang/archive/$pkgver.tar.gz
pkgconfig.patch
default-resources.patch
"
-builddir="$srcdir/glslang-$_commit"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
@@ -32,7 +30,7 @@ build() {
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DBUILD_SHARED_LIBS=ON \
- ${CMAKE_CROSSOPTS} ..
+ $CMAKE_CROSSOPTS ..
ninja
)
sed -i '/add_library(glslang-default-resource-limits/ s/$/ STATIC/' StandAlone/CMakeLists.txt
@@ -45,7 +43,7 @@ build() {
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DBUILD_SHARED_LIBS=OFF \
- ${CMAKE_CROSSOPTS} ..
+ $CMAKE_CROSSOPTS ..
ninja
)
}
@@ -55,6 +53,6 @@ package() {
DESTDIR="$pkgdir" ninja -C build-static install
}
-sha512sums="7d5cdf232b8f8f05c2546d030d28529d6943dff478ae27b53de0e54719663a254c104f6d7af51444a908a65925edf75c93d5d8886340f33212fb21da15d885fb glslang-07e1a0a67aee5b21561bd6b93d73c8d87e010d98.tar.gz
+sha512sums="19169c4ffa511113978af8e8efc57b290d4aa962a4c2429dbea1af72204787c6ce20ffbbb452dc04bef5416e00510819d84463a2e76295b9a59b409e12af6792 glslang-8.13.3743.tar.gz
9490ed637a8f4a032fb0e0d266843b4ffccedce5983de1f16f96348c7b8340d4d8791f3a6a247f53ef5ea256deecf674d8cf0030d77b7d7d396091aed5bbb404 pkgconfig.patch
f526443c070fc3e4639cdec0a4876e5a75529af4cf41282ba23b0d9234434f764bf55b93aaaf7ed1de757193842f3d0b51437cf62c41d955dd86907fcc1a911e default-resources.patch"