graphics/shaderc: Update script.

Signed-off-by: orbea <orbea@riseup.net>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
orbea 2020-11-06 08:20:09 -08:00 committed by Willy Sudiarto Raharjo
parent 6f1fee11db
commit 4f8601194d
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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.