spice: update to 0.15.0

This commit is contained in:
eater 2021-05-10 18:45:23 +02:00 committed by Érico Nogueira Rolim
parent 1efcc4181b
commit 3116735971

View file

@ -1,7 +1,7 @@
# Template file for 'spice'
pkgname=spice
version=0.14.3
revision=4
version=0.15.0
revision=1
build_style=gnu-configure
configure_args="--disable-tunnel --disable-opengl --enable-smartcard
--with-sasl --disable-static --enable-xinerama --disable-celt051"
@ -10,17 +10,26 @@ makedepends="spice-protocol libjpeg-turbo-devel pixman-devel
openssl-devel opus-devel alsa-lib-devel libXfixes-devel libXrender-devel
libXrandr-devel libsasl-devel libXinerama-devel libglib-devel libcacard-devel
nss-devel"
checkdepends="glib-networking"
short_desc="Implements the SPICE protocol"
maintainer="Anachron <gith@cron.world>"
license="LGPL-2.1-or-later"
homepage="http://www.spice-space.org"
distfiles="http://www.spice-space.org/download/releases/spice-${version}.tar.bz2"
checksum=551d4be4a07667cf0543f3c895beb6da8a93ef5a9829f2ae47817be5e616a114
distfiles="https://www.spice-space.org/download/releases/spice-server/spice-${version}.tar.bz2"
checksum=b320cf8f4bd2852750acb703c15b72856027e5a8554f8217dfbb3cc09deba0f5
if [ "$XBPS_TARGET_ENDIAN" != "le" ]; then
broken="SPICE server only works on little endian architectures"
fi
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
# tests depend on odd behaviour of glibc
# in this case being that calling getnameinfo on an AF_LOCAL socket
# will return successfully, with either hostname or "localhost"
# musl errors out instead, thus failing the tests
make_check=no
fi
post_extract() {
sed -i 's/armv6hl/arm/g' configure # "detects" cpu from triplet.
}