mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
xfce4-session: remove unconditional consolekit RDEPENDS and use PACKAGECONFIG
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
2d54ce17a7
commit
cfbdfd6b1d
@@ -3,9 +3,8 @@ SECTION = "x11"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88"
|
||||
DEPENDS = "virtual/libx11 libsm libxfce4util libxfce4ui gtk+ libwnck dbus dbus-glib xfconf"
|
||||
DEPENDS += "${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
|
||||
RDEPENDS_${PN} = "netbase xinit dbus-x11 iceauth consolekit upower"
|
||||
PR = "r6"
|
||||
RDEPENDS_${PN} = "netbase xinit dbus-x11 iceauth upower"
|
||||
PR = "r7"
|
||||
|
||||
inherit xfce update-alternatives
|
||||
|
||||
@@ -25,6 +24,10 @@ pkg_postinst_${PN} () {
|
||||
echo 127.0.0.1 ${MACHINE} >> /etc/hosts
|
||||
}
|
||||
|
||||
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES','systemd','systemd','consolekit',d)}"
|
||||
PACKAGECONFIG[systemd] = "--enable-systemd, --disable-systemd, polkit, systemd"
|
||||
PACKAGECONFIG[consolekit] = ",,,consolekit"
|
||||
|
||||
FILES_${PN} += "${libdir}/xfce4/*/*/*.so \
|
||||
${libdir}/xfce4/session/*-*-* \
|
||||
${datadir}/xsessions \
|
||||
|
||||
Reference in New Issue
Block a user