2010-11-19 21:23:07 +00:00
|
|
|
# Template file for 'rtkit'
|
|
|
|
pkgname=rtkit
|
2011-03-02 11:03:22 +00:00
|
|
|
version=0.10
|
2011-11-14 17:12:47 +00:00
|
|
|
revision=4
|
2011-10-08 16:36:31 +00:00
|
|
|
homepage="http://git.0pointer.de/?p=rtkit.git"
|
2010-11-19 21:23:07 +00:00
|
|
|
distfiles="http://0pointer.de/public/$pkgname-$version.tar.gz"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-10-08 16:36:31 +00:00
|
|
|
configure_args="--with-systemdsystemunitdir=/lib/systemd/system"
|
2010-11-19 21:23:07 +00:00
|
|
|
short_desc="Realtime Policy and Watchdog Daemon"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-08 16:36:31 +00:00
|
|
|
license="BSD, GPL-2"
|
2011-03-02 11:03:22 +00:00
|
|
|
checksum=74ea93ac09d9d5a7cb85bf57ec92090311c9fb105a41bdd633adcf3b94472120
|
2010-11-19 21:23:07 +00:00
|
|
|
long_desc="
|
|
|
|
RealtimeKit is a D-Bus system service that changes the scheduling policy of
|
|
|
|
user processes/threads to SCHED_RR (i.e. realtime scheduling mode) on request.
|
|
|
|
It is intended to be used as a secure mechanism to allow real-time scheduling
|
|
|
|
to be used by normal user processes."
|
|
|
|
|
|
|
|
system_accounts="rtkit"
|
|
|
|
rtkit_homedir="/proc"
|
2011-11-10 11:36:13 +00:00
|
|
|
systemd_services="rtkit-daemon.service on"
|
2010-11-19 21:23:07 +00:00
|
|
|
|
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build dbus-devel
|
2011-07-02 23:51:21 +00:00
|
|
|
Add_dependency build libcap-devel
|
2010-11-19 21:23:07 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# DBus configuration
|
|
|
|
install -d ${DESTDIR}/usr/share/dbus-1/interfaces
|
|
|
|
./rtkit-daemon --introspect > \
|
|
|
|
${DESTDIR}/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
|
|
|
|
}
|