spice: disable on big endian architectures

SPICE server does not support BE.
This commit is contained in:
q66 2019-08-16 03:59:13 +02:00 committed by Helmut Pozimski
parent c297d5941b
commit fc4ab1bac4

View file

@ -17,6 +17,10 @@ homepage="http://www.spice-space.org"
distfiles="http://www.spice-space.org/download/releases/spice-${version}.tar.bz2"
checksum=b203b3882e06f4c7249a3150d90c84e1a90490d41ead255a3d2cede46f4a29a7
if [ "$XBPS_TARGET_ENDIAN" != "le" ]; then
broken="SPICE server only works on little endian architectures"
fi
post_extract() {
sed -i 's/armv6hl/arm/g' configure # "detects" cpu from triplet.
}