void-packages/srcpkgs/spice/template
2017-04-11 18:54:38 +02:00

32 lines
1.1 KiB
Bash

# Template file for 'spice'
pkgname=spice
version=0.13.3
revision=3
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="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.spice-space.org"
distfiles="http://www.spice-space.org/download/releases/spice-${version}.tar.bz2"
checksum=30f710c0e7594e05b6b9cc702be748a69f910a95192ab851d748c256157fb89e
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
}
}