Merge pull request #1746 from thypon/spice-vdagentd
spice-vdagentd: move to usr/bin. + removed systemd dependency
This commit is contained in:
commit
2d5d1fb74d
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'spice-vdagent'
|
# Template file for 'spice-vdagent'
|
||||||
pkgname=spice-vdagent
|
pkgname=spice-vdagent
|
||||||
version=0.15.0
|
version=0.15.0
|
||||||
revision=3
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="libglib-devel dbus-devel libXfixes-devel libXrandr-devel
|
makedepends="libglib-devel dbus-devel libXfixes-devel libXrandr-devel
|
||||||
|
@ -13,15 +13,7 @@ license="GPL-3"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
distfiles="http://www.spice-space.org/download/releases/${pkgname}-${version}.tar.bz2"
|
distfiles="http://www.spice-space.org/download/releases/${pkgname}-${version}.tar.bz2"
|
||||||
checksum=5bae1747307c2f4195f6de97639391be7c6be6c5673fdcc9febed6faca22bd34
|
checksum=5bae1747307c2f4195f6de97639391be7c6be6c5673fdcc9febed6faca22bd34
|
||||||
|
configure_args="--sbindir=/usr/bin"
|
||||||
# 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() {
|
do_install() {
|
||||||
make DESTDIR=${DESTDIR} udevrulesdir=/usr/lib/udev/rules.d install
|
make DESTDIR=${DESTDIR} udevrulesdir=/usr/lib/udev/rules.d install
|
||||||
|
|
Loading…
Reference in New Issue
Block a user