void-packages/srcpkgs/spice/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

29 lines
1,013 B
Bash

# Template file for 'spice'
pkgname=spice
version=0.12.5
revision=7
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
build_style=gnu-configure
configure_args="--disable-tunnel --disable-opengl --disable-smartcard
--with-sasl --disable-static --enable-xinerama"
hostmakedepends="pkg-config python-parsing"
makedepends="spice-protocol libjpeg-turbo-devel pixman-devel
libressl-devel celt051-devel alsa-lib-devel libXfixes-devel libXrender-devel
libXrandr-devel libsasl-devel libXinerama-devel libglib-devel"
short_desc="Implements the SPICE protocol"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.spice-space.org"
distfiles="http://www.spice-space.org/download/releases/spice-${version}.tar.bz2"
checksum=4209a20d8f67cb99a8a6ac499cfe79a18d4ca226360457954a223d6795c2f581
spice-devel_package() {
depends="${makedepends} spice>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}