diff --git a/srcpkgs/rtkit/files/org.freedesktop.RealtimeKit1.xml b/srcpkgs/rtkit/files/org.freedesktop.RealtimeKit1.xml new file mode 100644 index 0000000000..d3e608dfe7 --- /dev/null +++ b/srcpkgs/rtkit/files/org.freedesktop.RealtimeKit1.xml @@ -0,0 +1,41 @@ +<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" +"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> +<node> + <interface name="org.freedesktop.RealtimeKit1"> + <method name="MakeThreadRealtime"> + <arg name="thread" type="t" direction="in"/> + <arg name="priority" type="u" direction="in"/> + </method> + <method name="MakeThreadRealtimeWithPID"> + <arg name="process" type="t" direction="in"/> + <arg name="thread" type="t" direction="in"/> + <arg name="priority" type="u" direction="in"/> + </method> + <method name="MakeThreadHighPriority"> + <arg name="thread" type="t" direction="in"/> + <arg name="priority" type="i" direction="in"/> + </method> + <method name="MakeThreadHighPriorityWithPID"> + <arg name="process" type="t" direction="in"/> + <arg name="thread" type="t" direction="in"/> + <arg name="priority" type="i" direction="in"/> + </method> + <method name="ResetKnown"/> + <method name="ResetAll"/> + <method name="Exit"/> + <property name="RTTimeUSecMax" type="x" access="read"/> + <property name="MaxRealtimePriority" type="i" access="read"/> + <property name="MinNiceLevel" type="i" access="read"/> + </interface> + <interface name="org.freedesktop.DBus.Properties"> + <method name="Get"> <arg name="interface" direction="in" type="s"/> + <arg name="property" direction="in" type="s"/> + <arg name="value" direction="out" type="v"/> + </method> + </interface> + <interface name="org.freedesktop.DBus.Introspectable"> + <method name="Introspect"> + <arg name="data" type="s" direction="out"/> + </method> + </interface> +</node> diff --git a/srcpkgs/rtkit/template b/srcpkgs/rtkit/template index a28ef708dc..6124fefeca 100644 --- a/srcpkgs/rtkit/template +++ b/srcpkgs/rtkit/template @@ -1,7 +1,7 @@ # Template file for 'rtkit' pkgname=rtkit version=0.11 -revision=5 +revision=6 build_style=gnu-configure configure_args="LIBS=-lrt --with-systemdsystemunitdir=/usr/lib/systemd/system" short_desc="Realtime Policy and Watchdog Daemon" @@ -11,13 +11,12 @@ homepage="http://git.0pointer.de/?p=rtkit.git" distfiles="http://0pointer.de/public/$pkgname-$version.tar.xz" checksum=68859108cff6410901502b58365eb7607da37110a06b837762f771735f58acd0 -makedepends="pkg-config dbus-devel libcap-devel shadow" +hostmakedepends="pkg-config" +makedepends="dbus-devel libcap-devel shadow" post_install() { # DBus configuration - vmkdir usr/share/dbus-1/interfaces - ./rtkit-daemon --introspect > \ - ${DESTDIR}/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml + vinstall ${FILESDIR}/org.freedesktop.RealtimeKit1.xml 644 usr/share/dbus-1/interfaces } rtkit_package() { @@ -25,7 +24,6 @@ rtkit_package() { system_accounts="rtkit" rtkit_homedir="/proc" pkg_install() { - vmove etc - vmove usr + vmove all } }