summaryrefslogtreecommitdiff
path: root/extra/dav1d/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-03-18 16:01:11 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2021-03-18 16:01:11 +0100
commit84475957c074a9b6ba774eed783c4d163534bc62 (patch)
tree83f104bd3aca1018e5e19c0e7f11603990bb7e87 /extra/dav1d/PKGBUILD
parent03a66ccbaf881bbbb534ce87de321fd152ce0f4c (diff)
downloadpackages-84475957c074a9b6ba774eed783c4d163534bc62.tar.xz
extra/dav1d: no graphviz on i486
Diffstat (limited to 'extra/dav1d/PKGBUILD')
-rw-r--r--extra/dav1d/PKGBUILD14
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/dav1d/PKGBUILD b/extra/dav1d/PKGBUILD
new file mode 100644
index 00000000..3ae2f1fd
--- /dev/null
+++ b/extra/dav1d/PKGBUILD
@@ -0,0 +1,14 @@
+# graphviz needs tons of libraries we don't have yet on i486
+if [ "${CARCH}" = "i486" ]; then
+ makedepends=(${makedepends[@]//graphviz/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s|ninja -C build all doc/html|ninja -C build all|g
+ '
+ declare -f package_dav1d-doc | \
+ sed '
+ /cp.*build\/doc\/html/d
+ '
+ )"
+fi