summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/lxdm/lxdm_git.bb
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2013-06-07 15:27:01 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2013-06-20 12:28:00 +0200
commitd56cac1bf1ae77479d7bb5803c948ffd9da12e44 (patch)
tree72b32291b91fa87f26e56b461803cc9edf6d5765 /meta-oe/recipes-graphics/lxdm/lxdm_git.bb
parent010f75a8d052251fee1bb2d42f926693fade962c (diff)
downloadmeta-openembedded-d56cac1bf1ae77479d7bb5803c948ffd9da12e44.tar.gz
lxdm: remove consolekit dependencies in systemd environment and fix build
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/lxdm/lxdm_git.bb')
-rw-r--r--meta-oe/recipes-graphics/lxdm/lxdm_git.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-oe/recipes-graphics/lxdm/lxdm_git.bb b/meta-oe/recipes-graphics/lxdm/lxdm_git.bb
index 6675691e60..8767e98fc7 100644
--- a/meta-oe/recipes-graphics/lxdm/lxdm_git.bb
+++ b/meta-oe/recipes-graphics/lxdm/lxdm_git.bb
@@ -8,6 +8,7 @@ SRC_URI = " \
8 file://lxdm-pam \ 8 file://lxdm-pam \
9 file://lxdm-pam-debug \ 9 file://lxdm-pam-debug \
10 ${@base_contains("DISTRO_TYPE", "debug", "", "file://0001-lxdm.conf.in-blacklist-root-for-release-images.patch",d)} \ 10 ${@base_contains("DISTRO_TYPE", "debug", "", "file://0001-lxdm.conf.in-blacklist-root-for-release-images.patch",d)} \
11 file://0002-configure-check-only-for-ck-connector-in-case-consol.patch \
11" 12"
12 13
13LXDM_PAM = "${@base_contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam",d)}" 14LXDM_PAM = "${@base_contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam",d)}"
@@ -17,7 +18,8 @@ PV = "0.4.2+git${SRCPV}"
17PE = "1" 18PE = "1"
18PR = "r7" 19PR = "r7"
19 20
20DEPENDS = "cairo consolekit dbus gdk-pixbuf glib-2.0 gtk+ virtual/libx11 libxcb pango" 21DEPENDS = "cairo dbus gdk-pixbuf glib-2.0 gtk+ virtual/libx11 libxcb pango"
22DEPENDS += "${@base_contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}"
21 23
22# combine oe-core way with angstrom DISTRO_TYPE 24# combine oe-core way with angstrom DISTRO_TYPE
23DISTRO_TYPE ?= "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}" 25DISTRO_TYPE ?= "${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}"
@@ -26,7 +28,7 @@ inherit autotools gettext systemd
26 28
27S = "${WORKDIR}/git" 29S = "${WORKDIR}/git"
28 30
29EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" 31EXTRA_OECONF += "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/ --disable-consolekit', '--without-systemdsystemunitdir', d)}"
30 32
31do_compile_append() { 33do_compile_append() {
32 # default background configured not available / no password field available / no default screensaver 34 # default background configured not available / no password field available / no default screensaver