From 4ca807fde03121f8602a0b488681ea55dfbe12cc Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 3 May 2021 17:13:57 +0200 Subject: extra/wpewebkit: do not build documentation on i486 --- extra/wpewebkit/PKGBUILD | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/extra/wpewebkit/PKGBUILD b/extra/wpewebkit/PKGBUILD index 331a9311..8bc955de 100644 --- a/extra/wpewebkit/PKGBUILD +++ b/extra/wpewebkit/PKGBUILD @@ -17,3 +17,14 @@ eval "$( if [ "$CARCH" = 'i486' ]; then depends+=(libdrm) fi + +# gtkdoc fails with Exception: gtkdoc-scangobj produced a non-zero return code 252 on i486, +# disabling building of documentation for now on i486 +if [ "$CARCH" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/-DENABLE_GTKDOC=ON/-DENABLE_GTKDOC=OFF/ + ' + )" +fi -- cgit v1.2.3-70-g09d2