void-packages/srcpkgs/spice/template
q66 fc4ab1bac4 spice: disable on big endian architectures
SPICE server does not support BE.
2019-08-21 20:11:40 +02:00

36 lines
1.2 KiB
Bash

# Template file for 'spice'
pkgname=spice
version=0.14.2
revision=2
build_style=gnu-configure
configure_args="--disable-tunnel --disable-opengl --enable-smartcard
--with-sasl --disable-static --enable-xinerama --disable-celt051"
hostmakedepends="pkg-config python"
makedepends="spice-protocol libjpeg-turbo-devel pixman-devel
libressl-devel opus-devel alsa-lib-devel libXfixes-devel libXrender-devel
libXrandr-devel libsasl-devel libXinerama-devel libglib-devel libcacard-devel
nss-devel"
short_desc="Implements the SPICE protocol"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2"
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.
}
spice-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}