void-packages/srcpkgs/rtkit/template
q66 4d33558cf0 rtkit: drop runtime polkit dependency
while it's usually required, rtkit is only really needed by
pulseaudio and this introduces a needless build-time dependency
chain (rtkit -> polkit -> mozjs -> rust -> ...)

so drop it for now, usually this is not a problem anyway since
affected installations nearly always have polkit already installed
and this just introduces trouble for installations that explicitly
do not want it (such as chroots/multilib)
2021-02-16 20:21:00 +01:00

23 lines
647 B
Bash

# Template file for 'rtkit'
pkgname=rtkit
version=0.13
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="dbus-devel libcap-devel"
depends="dbus"
short_desc="Realtime Policy and Watchdog Daemon"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT, GPL-3.0-or-later"
homepage="https://github.com/heftig/rtkit"
distfiles="https://github.com/heftig/rtkit/releases/download/v${version}/rtkit-${version}.tar.xz"
checksum=a157144cd95cf6d25200e74b74a8f01e4fe51fd421bb63c1f00d471394b640ab
system_accounts="rtkit"
rtkit_homedir="/proc"
post_install() {
sed -n '7,28p' < rtkit.h > LICENSE
vlicense LICENSE
vsv rtkit
}