summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics')
-rw-r--r--meta-oe/recipes-graphics/lxdm/lxdm_git.bb21
1 files changed, 9 insertions, 12 deletions
diff --git a/meta-oe/recipes-graphics/lxdm/lxdm_git.bb b/meta-oe/recipes-graphics/lxdm/lxdm_git.bb
index a24f75c654..6675691e60 100644
--- a/meta-oe/recipes-graphics/lxdm/lxdm_git.bb
+++ b/meta-oe/recipes-graphics/lxdm/lxdm_git.bb
@@ -15,7 +15,7 @@ LXDM_PAM = "${@base_contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam
15SRCREV = "65e7cc8fdc150c2b925eb348ce82de17dee5eb0b" 15SRCREV = "65e7cc8fdc150c2b925eb348ce82de17dee5eb0b"
16PV = "0.4.2+git${SRCPV}" 16PV = "0.4.2+git${SRCPV}"
17PE = "1" 17PE = "1"
18PR = "r6" 18PR = "r7"
19 19
20DEPENDS = "cairo consolekit dbus gdk-pixbuf glib-2.0 gtk+ virtual/libx11 libxcb pango" 20DEPENDS = "cairo consolekit dbus gdk-pixbuf glib-2.0 gtk+ virtual/libx11 libxcb pango"
21 21
@@ -49,19 +49,16 @@ do_install_append() {
49 49
50# make installed languages choosable 50# make installed languages choosable
51pkg_postinst_${PN} () { 51pkg_postinst_${PN} () {
52if [ "x$D" != "x" ]; then
53 exit 1
54fi
55langs="" 52langs=""
56for lang in `find ${libdir}/locale -maxdepth 1 | grep _ | sort`; do 53for lang in `find $D${libdir}/locale -maxdepth 1 | grep _ | sort`; do
57 lang=`basename $lang` 54lang=`basename $lang`
58 if [ "x$langs" = "x" ]; then 55if [ "x$langs" = "x" ]; then
59 langs="$lang" 56 langs="$lang"
60 else 57else
61 langs="$langs $lang" 58 langs="$langs $lang"
62 fi 59fi
63done 60done
64sed -i "s:last_langs=.*$:last_langs=$langs:g" ${localstatedir}/lib/lxdm/lxdm.conf 61sed -i "s:last_langs=.*$:last_langs=$langs:g" $D${localstatedir}/lib/lxdm/lxdm.conf
65} 62}
66 63
67RDEPENDS_${PN} = "pam-plugin-loginuid setxkbmap" 64RDEPENDS_${PN} = "pam-plugin-loginuid setxkbmap"