From 24719b66139df663eae174df06d64f8328a9fd6d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 15 May 2013 09:47:26 +0200 Subject: [PATCH] rtkit: cross build support. --- .../files/org.freedesktop.RealtimeKit1.xml | 41 +++++++++++++++++++ srcpkgs/rtkit/template | 12 +++--- 2 files changed, 46 insertions(+), 7 deletions(-) create mode 100644 srcpkgs/rtkit/files/org.freedesktop.RealtimeKit1.xml diff --git a/srcpkgs/rtkit/files/org.freedesktop.RealtimeKit1.xml b/srcpkgs/rtkit/files/org.freedesktop.RealtimeKit1.xml new file mode 100644 index 00000000000..d3e608dfe7f --- /dev/null +++ b/srcpkgs/rtkit/files/org.freedesktop.RealtimeKit1.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/srcpkgs/rtkit/template b/srcpkgs/rtkit/template index a28ef708dc5..6124fefeca2 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 } }