summaryrefslogtreecommitdiff
path: root/shaderc
diff options
context:
space:
mode:
authorDanny Rawlins <contact@romster.me>2021-02-05 20:19:30 +1100
committerDanny Rawlins <contact@romster.me>2021-02-05 20:20:25 +1100
commit0e7fc8dbc5854da1b27193dce77f6ba4eea52268 (patch)
tree247048ddf21c9f0e425f903551483b45321730d5 /shaderc
parentce0742282ddee4c52f69627433759e7ba985c815 (diff)
downloadcontrib-0e7fc8dbc5854da1b27193dce77f6ba4eea52268.tar.gz
contrib-0e7fc8dbc5854da1b27193dce77f6ba4eea52268.tar.xz
shaderc: fix build when asciidoctor is installed.
Diffstat (limited to 'shaderc')
-rw-r--r--shaderc/.signature4
-rw-r--r--shaderc/Pkgfile7
2 files changed, 6 insertions, 5 deletions
diff --git a/shaderc/.signature b/shaderc/.signature
index fdf27f176..c98201c8b 100644
--- a/shaderc/.signature
+++ b/shaderc/.signature
@@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF30iuq/9PrIl7cUlsUlyR9lukH6zoWT4keYWRa8KEN/6kMbjX6g6fpZZ6KdBUiNG+yDU6BOeiD/P5DeDnz4N+sQw=
-SHA256 (Pkgfile) = 27c0cbca060999a29b9f0dc0474554503fbec6648f8aa3acbcdfa99b47e20495
+RWSagIOpLGJF3xmHJjlBtCzVb5NeEB4deERcrK/KVB8VUnSVWV7vqeCqHouRgiBoKi28tjkHX4NFJ7GrY+2gv//B5XE55ORS7QQ=
+SHA256 (Pkgfile) = 07cdbb60a0c04dadcae7e9f2db6b793444e211f0ab990731a8c8090b576d5446
SHA256 (.footprint) = a55f4db9a8f36310df010a88256abef6d13753f525ff212c4e7dcb390e6c1e66
SHA256 (shaderc-v2020.3.tar.gz) = e595f71d0db0c37ee959b538cfda16e39e3f0dce8893a0bc0ac0080c342c0275
SHA256 (glslc.1) = 468467ab0ec0eac2b221563ef370826443c22cee55f11f6dc8be81b168e3e492
diff --git a/shaderc/Pkgfile b/shaderc/Pkgfile
index ddc167b5c..235984fd5 100644
--- a/shaderc/Pkgfile
+++ b/shaderc/Pkgfile
@@ -40,17 +40,18 @@ EOF
-Wno-dev
cmake --build build -j ${JOBS:-1}
-
DESTDIR=$PKG cmake --install build
if [ -e '/usr/bin/asciidoctor' ]; then
- cd ../glslc
+ cd $name-$version/glslc
asciidoctor -b manpage README.asciidoc -o glslc.1
install -D -m 0644 -t $PKG/usr/share/man/man1 glslc.1
+ cd -
- cd ../spvc
+ cd $name-$version/spvc
asciidoctor -b manpage README.asciidoc -o spvc.1
install -D -m 0644 -t $PKG/usr/share/man/man1 spvc.1
+ cd -
else
install -D -m 0644 -t $PKG/usr/share/man/man1 $SRC/glslc.1
install -D -m 0644 -t $PKG/usr/share/man/man1 $SRC/spvc.1

Generated by cgit