summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/neard/neard_0.16.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-connectivity/neard/neard_0.16.bb
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/neard/neard_0.16.bb')
-rw-r--r--meta/recipes-connectivity/neard/neard_0.16.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-connectivity/neard/neard_0.16.bb b/meta/recipes-connectivity/neard/neard_0.16.bb
index 7c124a3c0b..d55cf6a377 100644
--- a/meta/recipes-connectivity/neard/neard_0.16.bb
+++ b/meta/recipes-connectivity/neard/neard_0.16.bb
@@ -27,7 +27,7 @@ PACKAGECONFIG[systemd] = "--enable-systemd --with-systemdsystemunitdir=${systemd
27EXTRA_OECONF += "--enable-tools" 27EXTRA_OECONF += "--enable-tools"
28 28
29# This would copy neard start-stop shell and test scripts 29# This would copy neard start-stop shell and test scripts
30do_install_append() { 30do_install:append() {
31 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then 31 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
32 install -d ${D}${sysconfdir}/init.d/ 32 install -d ${D}${sysconfdir}/init.d/
33 sed "s:@installpath@:${libexecdir}/nfc:" ${WORKDIR}/neard.in \ 33 sed "s:@installpath@:${libexecdir}/nfc:" ${WORKDIR}/neard.in \
@@ -36,10 +36,10 @@ do_install_append() {
36 fi 36 fi
37} 37}
38 38
39RDEPENDS_${PN} = "dbus" 39RDEPENDS:${PN} = "dbus"
40 40
41# Bluez & Wifi are not mandatory except for handover 41# Bluez & Wifi are not mandatory except for handover
42RRECOMMENDS_${PN} = "\ 42RRECOMMENDS:${PN} = "\
43 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \ 43 ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \
44 ${@bb.utils.contains('DISTRO_FEATURES', 'wifi','wpa-supplicant', '', d)} \ 44 ${@bb.utils.contains('DISTRO_FEATURES', 'wifi','wpa-supplicant', '', d)} \
45 " 45 "
@@ -47,4 +47,4 @@ RRECOMMENDS_${PN} = "\
47INITSCRIPT_NAME = "neard" 47INITSCRIPT_NAME = "neard"
48INITSCRIPT_PARAMS = "defaults 64" 48INITSCRIPT_PARAMS = "defaults 64"
49 49
50SYSTEMD_SERVICE_${PN} = "neard.service" 50SYSTEMD_SERVICE:${PN} = "neard.service"