summaryrefslogtreecommitdiff
path: root/shaderc
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2022-11-01 14:12:28 +0000
committerTim Biermann <tbier@posteo.de>2022-11-01 14:12:28 +0000
commitadfba044b4ff83135715cf77cf983b3a568f5603 (patch)
tree2f0bb05035d9b7e2730e0dfc2234ad724a4ee980 /shaderc
parentf0068d66656ac71dcc923d4289e5d84f97a23a41 (diff)
downloadcontrib-adfba044b4ff83135715cf77cf983b3a568f5603.tar.gz
contrib-adfba044b4ff83135715cf77cf983b3a568f5603.tar.xz
shaderc: minor change
Diffstat (limited to 'shaderc')
-rw-r--r--shaderc/.signature4
-rw-r--r--shaderc/Pkgfile8
2 files changed, 6 insertions, 6 deletions
diff --git a/shaderc/.signature b/shaderc/.signature
index 7f68fed56..7166dd63b 100644
--- a/shaderc/.signature
+++ b/shaderc/.signature
@@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF37wtEOZO9E32ryL8VmgicKXLiIxV6U6wapeCDfBOLu15TAysS5f24l1i6YPL/ftmg8Wkl1h0OPtPNdG3s4oP9QI=
-SHA256 (Pkgfile) = 03effeaa2ab1f9c156d580c417608734d44a8fa5c76cd8b6a50a85f292e72003
+RWSagIOpLGJF37YRpZzVotbIaPFhQRKjZO72EDq/iEzMgpnoL6cvxQ6DehzX8p0the1p1qqMjx+Fafy6ItvgsDzOFQA1Be3Qawk=
+SHA256 (Pkgfile) = 6e75d055ff4b4d6dbb74d5f44f257bcc98f03ce674041c04bdc70e2a4b0192b6
SHA256 (.footprint) = 768c5796cba31503e5e8a1c1d874f1d8699d410d17d6b98d9a6588ae17462816
SHA256 (shaderc-v2022.3.tar.gz) = c1dee49535cfdf86994990b21fe129a74bb0d628a647f4aae8905bd61df32607
SHA256 (glslc.1) = f1bdc5600cea87f3b8088e3304764949fa67df3975be48b76af547d6b30ef859
diff --git a/shaderc/Pkgfile b/shaderc/Pkgfile
index f0a716b7e..09b33d3ee 100644
--- a/shaderc/Pkgfile
+++ b/shaderc/Pkgfile
@@ -6,7 +6,7 @@
name=shaderc
version=2022.3
-release=1
+release=2
source=(https://github.com/google/shaderc/archive/v$version/$name-v$version.tar.gz
glslc.1)
@@ -19,10 +19,10 @@ build() {
"$(prt-get info spirv-tools | awk '/^Version:/ {print $2}')\\n"
"$(prt-get info glslang | awk '/^Version:/ {print $2}')\\n"
EOF
+ sed -i -e "s|\$<TARGET_FILE:spirv-dis>|spirv-dis|" \
+ $name-$version/glslc/test/CMakeLists.txt
- prt-get isinst ninja && PKGMK_SHADERC+=' -G Ninja'
-
- cmake -S $name-$version -B build $PKGMK_SHADERC \
+ cmake -S $name-$version -B build -G Ninja $PKGMK_SHADERC \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \

Generated by cgit