2011-02-21 21:29:01 +01:00
|
|
|
# Template file for 'spice-vdagent'
|
|
|
|
pkgname=spice-vdagent
|
2014-02-17 09:21:52 +01:00
|
|
|
version=0.15.0
|
2014-07-28 21:40:57 +02:00
|
|
|
revision=3
|
2012-01-28 11:26:25 +01:00
|
|
|
build_style=gnu-configure
|
2013-09-19 09:25:23 +02:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libglib-devel dbus-devel libXfixes-devel libXrandr-devel
|
2014-07-28 21:40:57 +02:00
|
|
|
libXinerama-devel libpciaccess-devel spice-protocol>=0.12.6 desktop-file-utils"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="dbus"
|
2011-02-21 21:29:01 +01:00
|
|
|
short_desc="Spice agent for Linux"
|
2013-03-31 09:52:06 +02:00
|
|
|
homepage="http://spice-space.org/"
|
|
|
|
license="GPL-3"
|
2011-02-21 21:29:01 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-02-17 09:21:52 +01:00
|
|
|
distfiles="http://www.spice-space.org/download/releases/${pkgname}-${version}.tar.bz2"
|
|
|
|
checksum=5bae1747307c2f4195f6de97639391be7c6be6c5673fdcc9febed6faca22bd34
|
2011-02-21 21:29:01 +01:00
|
|
|
|
2014-07-28 21:40:57 +02:00
|
|
|
# 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
|
|
|
|
|
2014-03-31 10:32:54 +02:00
|
|
|
do_install() {
|
|
|
|
make DESTDIR=${DESTDIR} udevrulesdir=/usr/lib/udev/rules.d install
|
2011-02-21 21:29:01 +01:00
|
|
|
}
|