summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb8
1 files changed, 3 insertions, 5 deletions
diff --git a/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb b/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb
index 4fc916f4b2..a7d79a916c 100644
--- a/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb
+++ b/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
5SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}%20${PV}/${BPN}-${PV}.tar.xz \ 5SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}%20${PV}/${BPN}-${PV}.tar.xz \
6 file://lxdm.conf \ 6 file://lxdm.conf \
7 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'file://lxdm-pam file://lxdm-pam-debug', '', d)} \ 7 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'file://lxdm-pam file://lxdm-pam-debug', '', d)} \
8 ${@bb.utils.contains("DISTRO_TYPE", "debug", "", "file://0001-lxdm.conf.in-blacklist-root-for-release-images.patch",d)} \ 8 ${@bb.utils.contains("IMAGE_FEATURES", "allow-root-login", "", "file://0001-lxdm.conf.in-blacklist-root-for-release-images.patch",d)} \
9 file://0002-let-autotools-create-lxdm.conf.patch \ 9 file://0002-let-autotools-create-lxdm.conf.patch \
10 file://0003-check-for-libexecinfo-providing-backtrace-APIs.patch \ 10 file://0003-check-for-libexecinfo-providing-backtrace-APIs.patch \
11 file://0004-fix-css-under-gtk-3.20.patch \ 11 file://0004-fix-css-under-gtk-3.20.patch \
@@ -29,9 +29,6 @@ DEPENDS = "virtual/libintl intltool-native cairo dbus gdk-pixbuf glib-2.0 gtk+3
29DEPENDS += "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}" 29DEPENDS += "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}"
30DEPENDS:append:libc-musl = " libexecinfo" 30DEPENDS:append:libc-musl = " libexecinfo"
31 31
32# combine oe-core way with angstrom DISTRO_TYPE
33DISTRO_TYPE ?= "${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}"
34
35inherit autotools pkgconfig gettext systemd features_check 32inherit autotools pkgconfig gettext systemd features_check
36# depends on virtual/libx11 33# depends on virtual/libx11
37REQUIRED_DISTRO_FEATURES = "x11" 34REQUIRED_DISTRO_FEATURES = "x11"
@@ -65,7 +62,8 @@ do_install:append() {
65 # ArchLinux version of pam config has the following advantages: 62 # ArchLinux version of pam config has the following advantages:
66 # * simple setup of passwordless login 63 # * simple setup of passwordless login
67 # * in XFCE powerdown/restart enabled in logoff dialog 64 # * in XFCE powerdown/restart enabled in logoff dialog
68 install -m 644 ${UNPACKDIR}/${@bb.utils.contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam",d)} ${D}${sysconfdir}/pam.d/lxdm 65 install -m 644 ${UNPACKDIR}/${@bb.utils.contains_any("IMAGE_FEATURES", [ "allow-empty-password", "empty-root-password" ], "lxdm-pam-debug", "lxdm-pam",d)} \
66 ${D}${sysconfdir}/pam.d/lxdm
69 fi 67 fi
70} 68}
71 69