diff --git a/srcpkgs/rtkit/depends b/srcpkgs/rtkit/depends new file mode 100644 index 0000000000..1e7ac30399 --- /dev/null +++ b/srcpkgs/rtkit/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.9" +api_depends="${abi_depends}" diff --git a/srcpkgs/rtkit/template b/srcpkgs/rtkit/template new file mode 100644 index 0000000000..fe66002836 --- /dev/null +++ b/srcpkgs/rtkit/template @@ -0,0 +1,31 @@ +# Template file for 'rtkit' +pkgname=rtkit +version=0.9 +distfiles="http://0pointer.de/public/$pkgname-$version.tar.gz" +build_style=gnu_configure +short_desc="Realtime Policy and Watchdog Daemon" +maintainer="Juan RP " +checksum=5236ab2db3a1e6d34d0fcb11572b769a8989ba47b3cb282659f9315ed9143921 +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" + +Add_dependency run glibc +Add_dependency run libcap +Add_dependency run dbus-libs +Add_dependency build dbus-devel +Add_dependency build pkg-config +Add_dependency build dbus-devel + +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 +}