aboutsummaryrefslogtreecommitdiffstats
path: root/main/pixman/APKBUILD
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2020-04-20 07:44:35 +0000
committerAriadne Conill <ariadne@dereferenced.org>2020-04-20 07:44:35 +0000
commit44d02c0aa2064dd4c002aec89e9f4529757902d7 (patch)
tree832bf0478ec4503c52b0873c2c5a7e177c9423e5 /main/pixman/APKBUILD
parenta0b26833bd41975a66d55858af567295cefe67d2 (diff)
downloadaports-44d02c0aa2064dd4c002aec89e9f4529757902d7.tar.bz2
aports-44d02c0aa2064dd4c002aec89e9f4529757902d7.tar.xz
main/pixman: fix build on mips, s390x and ppc64le
Diffstat (limited to 'main/pixman/APKBUILD')
-rw-r--r--main/pixman/APKBUILD10
1 files changed, 9 insertions, 1 deletions
diff --git a/main/pixman/APKBUILD b/main/pixman/APKBUILD
index 935aa7b36b..531aaf3912 100644
--- a/main/pixman/APKBUILD
+++ b/main/pixman/APKBUILD
@@ -6,11 +6,19 @@ pkgdesc="Low-level pixel manipulation library"
url="https://gitlab.freedesktop.org/pixman"
arch="all"
license="MIT"
-makedepends="meson libpng-dev"
+makedepends="meson libpng-dev linux-headers"
subpackages="$pkgname-dev $pkgname-dbg"
source="https://gitlab.freedesktop.org/pixman/pixman/-/archive/pixman-$pkgver/pixman-pixman-$pkgver.tar.gz"
builddir="$srcdir/pixman-pixman-$pkgver"
+case "$CARCH" in
+# tests are too slow due to softfloat
+mips*) options="!check" ;;
+
+# broken test (likely due to endianness assumptions)
+s390x) options="!check" ;;
+esac
+
build() {
meson \
--prefix=/usr \