From 84475957c074a9b6ba774eed783c4d163534bc62 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 18 Mar 2021 16:01:11 +0100 Subject: extra/dav1d: no graphviz on i486 --- extra/dav1d/PKGBUILD | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 extra/dav1d/PKGBUILD (limited to 'extra/dav1d') 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 -- cgit v1.2.3-70-g09d2