summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Shadura <andrew.shadura@collabora.co.uk>2016-02-02 18:06:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-02 17:39:50 +0000
commitf49b43c1a43c92c67c094ccb41d60d41e68394df (patch)
treee93648e6d8890386dd13f87d2cc6273507bf0d21
parent2b2813bd04e5eadac0dab0516af71bc4efc73673 (diff)
downloadopenembedded-core-contrib-f49b43c1a43c92c67c094ccb41d60d41e68394df.tar.gz
openembedded-core-contrib-f49b43c1a43c92c67c094ccb41d60d41e68394df.tar.bz2
openembedded-core-contrib-f49b43c1a43c92c67c094ccb41d60d41e68394df.zip
dbus: add user sessions support
Enable the user-sessions support with a PACKAGECONFIG flag. Signed-off-by: Andrew Shadura <andrew.shadura@collabora.co.uk> Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/dbus/dbus_1.10.6.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-core/dbus/dbus_1.10.6.bb b/meta/recipes-core/dbus/dbus_1.10.6.bb
index fec68a474b..245798a00f 100644
--- a/meta/recipes-core/dbus/dbus_1.10.6.bb
+++ b/meta/recipes-core/dbus/dbus_1.10.6.bb
@@ -69,7 +69,9 @@ FILES_${PN} = "${bindir}/dbus-daemon* \
${datadir}/dbus-1/session.conf \
${datadir}/dbus-1/system.d \
${datadir}/dbus-1/system.conf \
- ${systemd_system_unitdir}"
+ ${systemd_system_unitdir} \
+ ${systemd_user_unitdir} \
+"
FILES_${PN}-lib = "${libdir}/lib*.so.*"
RRECOMMENDS_${PN}-lib = "${PN}"
FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-test-tool"
@@ -105,6 +107,7 @@ PACKAGECONFIG_class-nativesdk = ""
PACKAGECONFIG[systemd] = "--enable-systemd --with-systemdsystemunitdir=${systemd_system_unitdir},--disable-systemd --without-systemdsystemunitdir,systemd"
PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x --disable-x11-autolaunch, virtual/libx11 libsm"
PACKAGECONFIG[largefile] = "--enable-largefile,--disable-largefile,,"
+PACKAGECONFIG[user-session] = "--enable-user-session --with-systemduserunitdir=${systemd_user_unitdir},--disable-user-session"
do_install() {
autotools_do_install