summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-07-29 17:04:53 +0200
committerKhem Raj <raj.khem@gmail.com>2021-08-03 10:21:25 -0700
commitc61dc077bbd81260e4f167fa2251643ba0ba6974 (patch)
tree66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb
parentc5f7cfb8db54cfa4257797db5bd87828dea43296 (diff)
downloadmeta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz
Convert to new override syntax
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb')
-rw-r--r--meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb24
1 files changed, 12 insertions, 12 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 216bbb624..2a8a8859b 100644
--- a/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb
+++ b/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb
@@ -26,7 +26,7 @@ PE = "1"
26 26
27DEPENDS = "virtual/libintl intltool-native cairo dbus gdk-pixbuf glib-2.0 gtk+3 virtual/libx11 libxcb pango iso-codes" 27DEPENDS = "virtual/libintl intltool-native cairo dbus gdk-pixbuf glib-2.0 gtk+3 virtual/libx11 libxcb pango iso-codes"
28DEPENDS += "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}" 28DEPENDS += "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "", "consolekit", d)}"
29DEPENDS_append_libc-musl = " libexecinfo" 29DEPENDS:append:libc-musl = " libexecinfo"
30 30
31# combine oe-core way with angstrom DISTRO_TYPE 31# combine oe-core way with angstrom DISTRO_TYPE
32DISTRO_TYPE ?= "${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}" 32DISTRO_TYPE ?= "${@bb.utils.contains("IMAGE_FEATURES", "debug-tweaks", "debug", "",d)}"
@@ -35,19 +35,19 @@ inherit autotools pkgconfig gettext systemd features_check
35# depends on virtual/libx11 35# depends on virtual/libx11
36REQUIRED_DISTRO_FEATURES = "x11" 36REQUIRED_DISTRO_FEATURES = "x11"
37 37
38CFLAGS_append = " -fno-builtin-fork -fno-builtin-memset -fno-builtin-strstr " 38CFLAGS:append = " -fno-builtin-fork -fno-builtin-memset -fno-builtin-strstr "
39LDFLAGS_append_libc-musl = " -lexecinfo" 39LDFLAGS:append:libc-musl = " -lexecinfo"
40 40
41EXTRA_OECONF += "--enable-gtk3=yes --enable-password=yes --with-x -with-xconn=xcb \ 41EXTRA_OECONF += "--enable-gtk3=yes --enable-password=yes --with-x -with-xconn=xcb \
42 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/ --disable-consolekit', '--without-systemdsystemunitdir', d)} \ 42 ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/ --disable-consolekit', '--without-systemdsystemunitdir', d)} \
43 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} \ 43 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--with-pam', '--without-pam', d)} \
44" 44"
45 45
46do_configure_prepend() { 46do_configure:prepend() {
47 cp ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/po/ 47 cp ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/po/
48} 48}
49 49
50do_compile_append() { 50do_compile:append() {
51 # default background configured not available / no password field available / no default screensaver 51 # default background configured not available / no password field available / no default screensaver
52 sed -i -e 's,bg=,# bg=,g' \ 52 sed -i -e 's,bg=,# bg=,g' \
53 -e 's,# skip_password=,skip_password=,g' \ 53 -e 's,# skip_password=,skip_password=,g' \
@@ -57,7 +57,7 @@ do_compile_append() {
57 oe_runmake -C ${B}/data lxdm.conf 57 oe_runmake -C ${B}/data lxdm.conf
58} 58}
59 59
60do_install_append() { 60do_install:append() {
61 install -d ${D}${localstatedir}/lib/lxdm 61 install -d ${D}${localstatedir}/lib/lxdm
62 install -m 644 ${WORKDIR}/lxdm.conf ${D}${localstatedir}/lib/lxdm 62 install -m 644 ${WORKDIR}/lxdm.conf ${D}${localstatedir}/lib/lxdm
63 if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then 63 if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then
@@ -69,7 +69,7 @@ do_install_append() {
69} 69}
70 70
71# make installed languages choosable 71# make installed languages choosable
72pkg_postinst_${PN} () { 72pkg_postinst:${PN} () {
73langs="" 73langs=""
74for lang in `find $D${libdir}/locale -maxdepth 1 | grep _ | sort`; do 74for lang in `find $D${libdir}/locale -maxdepth 1 | grep _ | sort`; do
75lang=`basename $lang` 75lang=`basename $lang`
@@ -82,9 +82,9 @@ done
82sed -i "s:last_langs=.*$:last_langs=$langs:g" $D${localstatedir}/lib/lxdm/lxdm.conf 82sed -i "s:last_langs=.*$:last_langs=$langs:g" $D${localstatedir}/lib/lxdm/lxdm.conf
83} 83}
84 84
85RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-loginuid', '', d)} setxkbmap bash librsvg-gtk" 85RDEPENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam-plugin-loginuid', '', d)} setxkbmap bash librsvg-gtk"
86 86
87RPROVIDES_${PN} += "${PN}-systemd" 87RPROVIDES:${PN} += "${PN}-systemd"
88RREPLACES_${PN} += "${PN}-systemd" 88RREPLACES:${PN} += "${PN}-systemd"
89RCONFLICTS_${PN} += "${PN}-systemd" 89RCONFLICTS:${PN} += "${PN}-systemd"
90SYSTEMD_SERVICE_${PN} = "lxdm.service" 90SYSTEMD_SERVICE:${PN} = "lxdm.service"