summaryrefslogtreecommitdiff
path: root/extra/python2
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-22 20:23:42 +0200
committerErich Eckner <git@eckner.net>2018-10-22 20:23:42 +0200
commit1bd0ea10badb502631161b535c94d8a69a50834a (patch)
tree1bb711056e468da4b47885e55ccd063cba0dbf71 /extra/python2
parent29a2ef18154808e622c0cd0b4e993e0e62b6b679 (diff)
downloadpackages-1bd0ea10badb502631161b535c94d8a69a50834a.tar.xz
extra/python2: disable xvfb stuff on i486
Diffstat (limited to 'extra/python2')
-rw-r--r--extra/python2/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/python2/PKGBUILD b/extra/python2/PKGBUILD
index c93cac57..519a683a 100644
--- a/extra/python2/PKGBUILD
+++ b/extra/python2/PKGBUILD
@@ -30,3 +30,16 @@ eval "$(
s/ -m test.regrtest/ -m test.regrtest -j1/
"
)"
+
+makedepends=(${makedepends[@]//xorg-server-xvfb/})
+makedepends_i686=(xorg-server-xvfb)
+
+# skip xvfb stuff on i486
+if [ "$CARCH" = 'i486' ]; then
+ eval "$(
+ declare -f check | \
+ sed '
+ s/xvfb-run //
+ '
+ )"
+fi