summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-05-03 17:13:57 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2021-05-03 17:13:57 +0200
commit4ca807fde03121f8602a0b488681ea55dfbe12cc (patch)
treec412e989f040ef6b1dfe23b9e31f993423d2f838 /extra
parent629daaac9dd88f940ca03552f925952ea8206bc7 (diff)
downloadpackages-4ca807fde03121f8602a0b488681ea55dfbe12cc.tar.xz
extra/wpewebkit: do not build documentation on i486
Diffstat (limited to 'extra')
-rw-r--r--extra/wpewebkit/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
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