void-packages/srcpkgs/spice-vdagent/template

29 lines
976 B
Bash

# Template file for 'spice-vdagent'
pkgname=spice-vdagent
version=0.22.1
revision=1
build_style=gnu-configure
# The test-session-info test fails for unknown reasons (see:
# https://gitlab.freedesktop.org/spice/linux/vd_agent/-/issues/24).
make_check_args="XFAIL_TESTS=tests/test-session-info"
hostmakedepends="pkg-config"
makedepends="libglib-devel dbus-devel libXfixes-devel libXrandr-devel
libXinerama-devel libpciaccess-devel spice-protocol desktop-file-utils
alsa-lib-devel libdrm-devel"
depends="dbus"
checkdepends="procps-ng"
short_desc="Spice agent for Linux"
maintainer="André Cerqueira <acerqueira021@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://spice-space.org/"
distfiles="https://www.spice-space.org/download/releases/${pkgname}-${version}.tar.bz2"
checksum=93b0d15aca4762cc7d379b179a7101149dbaed62b72112fffb2b3e90b11687a0
do_install() {
make DESTDIR=${DESTDIR} udevrulesdir=/usr/lib/udev/rules.d install
}
post_install() {
vsv spice-vdagentd
}