shaderc: update to 2018.0.

This commit is contained in:
Sam Smoker 2018-11-17 23:01:50 -08:00 committed by maxice8
parent 5811aa3280
commit 91544bdf7e
2 changed files with 9 additions and 10 deletions

View file

@ -3274,7 +3274,7 @@ liblinphone.so.9 linphone-3.12.0_1
liblinphone++.so.9 linphone-3.12.0_1
libbelr.so.1 belr-0.1.3_1
libbelcard.so.1 belcard-1.0.2_1
libshaderc_shared.so shaderc-2017.2_1
libshaderc_shared.so.1 shaderc-2018.0_1
libglslang.so glslang-6.2.2596_1
libSPIRV.so glslang-6.2.2596_1
libmaxminddb.so.0 libmaxminddb-1.3.2_1

View file

@ -1,9 +1,8 @@
# Template file for 'shaderc'
pkgname=shaderc
version=2017.2
revision=2
_githash=7a23a01742b88329fb2260eda007172135ba25d4
wrksrc="shaderc-${_githash}"
version=2018.0
revision=1
wrksrc="shaderc-${version}"
build_style=cmake
configure_args="-DSHADERC_SKIP_TESTS=ON"
hostmakedepends="python"
@ -12,8 +11,8 @@ short_desc="Collection of tools, libraries and tests for shader compilation"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/google/shaderc"
distfiles="https://github.com/google/shaderc/archive/${_githash}.tar.gz"
checksum=496c2a45e5f3da2dd5a97d982fa5c7848d15143be42a4536fc28cb09c2e641dd
distfiles="https://github.com/google/shaderc/archive/v${version}.tar.gz"
checksum=b96f27e7375a6df08732ebd47c18febf82bd0a87e541fd7814fd8c3aa6c8913a
pre_configure() {
# Unbundle glslang, SPIRV-Headers, SPIRV-Tools
@ -28,8 +27,8 @@ pre_configure() {
# need to keep this in sync with glslang and SPIRV-Tools versions
# this is displayed with 'glslc --version'
cat <<- EOF > glslc/src/build-version.inc
"shaderc\n"
"SPIRV-Tools-2018.2\n"
"glslang-6.2.2569\n"
"shaderc 2018.0\n"
"SPIRV-Tools-2018.6\n"
"glslang-7.10.2984\n"
EOF
}