aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/shaderc/APKBUILD11
-rw-r--r--community/shaderc/enum.patch23
2 files changed, 3 insertions, 31 deletions
diff --git a/community/shaderc/APKBUILD b/community/shaderc/APKBUILD
index 8933b39dc3..f52ebd4bb3 100644
--- a/community/shaderc/APKBUILD
+++ b/community/shaderc/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=shaderc
-pkgver=2019.1
+pkgver=2020.0
pkgrel=0
pkgdesc="A collection of tools, libraries, and tests for Vulkan shader compilation"
options="!check" # Fails to configure when tests are enabled
@@ -12,9 +12,7 @@ makedepends="cmake glslang-static glslang-dev spirv-tools-dev python3"
subpackages="$pkgname-static $pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/google/shaderc/archive/v$pkgver.tar.gz
fix-link-order.patch
- enum.patch
third-party.patch
- fix-includes.patch
"
prepare() {
@@ -48,7 +46,6 @@ build() {
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DSHADERC_SKIP_TESTS=ON \
- -DSHADERC_ENABLE_NV_EXTENSIONS=OFF \
$CMAKE_CROSSOPTS
make -C build
}
@@ -57,8 +54,6 @@ package() {
make -C build DESTDIR="$pkgdir" install
}
-sha512sums="dc4d617a6619fa6f743827fbec4065e51190e5516fbef59c7fb450740732524fc81ad22ad60a58488d84b45f24e459b71922e37fa05b4c06e0ddd0b59d46c315 shaderc-2019.1.tar.gz
+sha512sums="1971673d7a5fe77ef827c29db14112d4935c573c7c4f3b00fff3729334284d11640ee40c9e97ebcb2a14c6d5c6db0cf5e2ef6b2dfb59c759d1322c6d38624eb4 shaderc-2020.0.tar.gz
bd24c90b93bf8bd7e56682e02543ff8a5c988549e76502144c2f4904e96b67ca0bc9d1e94b811bcdad1e765625256d3feabeb20ca299f2abb220e6e398d5a590 fix-link-order.patch
-d09a23d98278cdef6535c189fc331f092ac185f444ce673a5ea8acba06b791ca8565188ee33d4ec2ec0bd4d1852dc00523fdfdff93b89ff8013b4a745a71cac9 enum.patch
-5c5171ef2561070fece6b4cfa087f5baace7e5f828443719570494d9adc39ad724a414da7570f38629dbc9e7b563c8ad8226143c907ce7139a87615098006585 third-party.patch
-07e4662de3049157d82cd5283c1831c136ff033bf91daea24c655012916f0b21dd4a8ae10f9b0200e904957495617731c8433dd168e687e7daeafe27d8924a41 fix-includes.patch"
+5c5171ef2561070fece6b4cfa087f5baace7e5f828443719570494d9adc39ad724a414da7570f38629dbc9e7b563c8ad8226143c907ce7139a87615098006585 third-party.patch"
diff --git a/community/shaderc/enum.patch b/community/shaderc/enum.patch
deleted file mode 100644
index c4fe9629b5..0000000000
--- a/community/shaderc/enum.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 3d99fad173cc0c00d370eeb6663784fc67efd480 Mon Sep 17 00:00:00 2001
-From: David Neto <dneto@google.com>
-Date: Fri, 24 Jan 2020 15:41:21 -0500
-Subject: [PATCH] Handle new Glslang profile enum in switch (#973)
-
-* Handle new Glslang profile enum in switch
----
- libshaderc/src/shaderc.cc | 1 +
- 1 files changed, 1 insertions(+), 0 deletion(-)
-
-diff --git a/libshaderc/src/shaderc.cc b/libshaderc/src/shaderc.cc
-index abbab548..fe57c76b 100644
---- a/libshaderc/src/shaderc.cc
-+++ b/libshaderc/src/shaderc.cc
-@@ -779,6 +779,7 @@ bool shaderc_parse_version_profile(const char* str, int* version,
- *profile = shaderc_profile_none;
- return true;
- case EBadProfile:
-+ case EProfileCount:
- return false;
- }
-
-