ports/contrib (3.7): shaderc: minor change
commit adfba044b4ff83135715cf77cf983b3a568f5603 Author: Tim Biermann <tbier@posteo.de> Date: Tue Nov 1 14:12:28 2022 +0000 shaderc: minor change 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 \
participants (1)
-
crux@crux.nu