summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2020-11-06 08:20:09 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-11-07 14:02:42 +0700
commit4f8601194d610712df3afed79d9531371de5b094 (patch)
treeffb365d2aaea99604e5249e9a56d938cebb38015 /graphics
parent6f1fee11dbf692b599b724ed622582d3fda4cec6 (diff)
downloadslackbuilds-4f8601194d610712df3afed79d9531371de5b094.tar.gz
graphics/shaderc: Update script.
Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/shaderc/shaderc.SlackBuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/graphics/shaderc/shaderc.SlackBuild b/graphics/shaderc/shaderc.SlackBuild
index 3ea0590f2b..c08796ee72 100644
--- a/graphics/shaderc/shaderc.SlackBuild
+++ b/graphics/shaderc/shaderc.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=shaderc
VERSION=${VERSION:-2020.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -73,9 +73,6 @@ find -L . \
sed -i '/examples/d;/third_party/d' CMakeLists.txt
sed -i '/build-version/d' glslc/CMakeLists.txt
-# Use the system install path for spirv.hpp
-sed -i 's|spirv/unified1/spirv.hpp|SPIRV/spirv.hpp|' libshaderc/src/shaderc.cc
-
glslang_version="$(glslangValidator -v | grep 'Glslang Version')"
# Create build-version.inc since git versioning is disabled.