void-packages/srcpkgs/spice-vdagent/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

28 lines
913 B
Bash

# Template file for 'spice-vdagent'
pkgname=spice-vdagent
version=0.15.0
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libglib-devel dbus-devel libXfixes-devel libXrandr-devel
libXinerama-devel libpciaccess-devel spice-protocol desktop-file-utils"
depends="dbus"
short_desc="Spice agent for Linux"
homepage="http://spice-space.org/"
license="GPL-3"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://www.spice-space.org/download/releases/${pkgname}-${version}.tar.bz2"
checksum=5bae1747307c2f4195f6de97639391be7c6be6c5673fdcc9febed6faca22bd34
# Package build options
build_options="systemd"
if [ "$build_option_systemd" ]; then
configure_args+=" --with-session-info=systemd --with-init-script=systemd"
makedepends+=" systemd-devel"
systemd_services="spice-vdagentd.service on"
fi
do_install() {
make DESTDIR=${DESTDIR} udevrulesdir=/usr/lib/udev/rules.d install
}