Return-Path: Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mail.openembedded.org (Postfix) with ESMTP id 0439560F62 for ; Wed, 5 Feb 2020 04:24:08 +0000 (UTC) X-Originating-IP: 173.197.191.182 Received: from localhost.localdomain (rrcs-173-197-191-182.west.biz.rr.com [173.197.191.182]) (Authenticated sender: robert.joslyn@redrectangle.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 026191C0003; Wed, 5 Feb 2020 04:24:08 +0000 (UTC) From: Robert Joslyn To: openembedded-devel@lists.openembedded.org Date: Tue, 4 Feb 2020 20:23:09 -0800 Message-Id: <20200205042309.3555549-4-robert.joslyn@redrectangle.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200205042309.3555549-1-robert.joslyn@redrectangle.org> References: <20200205042309.3555549-1-robert.joslyn@redrectangle.org> MIME-Version: 1.0 Subject: [meta-oe][PATCH v2 4/4] iwd: Update formatting X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2020 04:24:09 -0000 Content-Transfer-Encoding: 8bit Try to conform better to the style guide. Signed-off-by: Robert Joslyn --- meta-oe/recipes-connectivity/iwd/iwd_1.4.bb | 35 +++++++++++++-------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb b/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb index 9d63e5b73..f758781e3 100644 --- a/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb +++ b/meta-oe/recipes-connectivity/iwd/iwd_1.4.bb @@ -1,18 +1,20 @@ -DESCRIPTION = "Wireless daemon for Linux" +SUMMARY = "Wireless daemon for Linux" +HOMEPAGE = "https://iwd.wiki.kernel.org/" LICENSE = "LGPL-2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=fb504b67c50331fc78734fed90fb0e09" -inherit autotools manpages pkgconfig systemd python3native - DEPENDS = "ell" -SRC_URI = "git://git.kernel.org/pub/scm/network/wireless/iwd.git \ - file://0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch \ - file://0001-build-Support-missing-rawmemchr.patch \ - " +SRC_URI = " \ + git://git.kernel.org/pub/scm/network/wireless/iwd.git \ + file://0001-Makefile.am-Avoid-redirection-of-input-and-output-fi.patch \ + file://0001-build-Support-missing-rawmemchr.patch \ +" SRCREV = "860fa4697f349da7791ecf22ca76f9ac0e5de261" S = "${WORKDIR}/git" +inherit autotools manpages pkgconfig python3native systemd + PACKAGECONFIG ??= " \ client \ monitor \ @@ -25,10 +27,15 @@ PACKAGECONFIG[wired] = "--enable-wired,--disable-wired" PACKAGECONFIG[ofono] = "--enable-ofono,--disable-ofono" PACKAGECONFIG[systemd] = "--with-systemd-unitdir=${systemd_system_unitdir},--disable-systemd-service,systemd" -EXTRA_OECONF += "--enable-external-ell" +EXTRA_OECONF = "--enable-external-ell" -do_configure_prepend () { - mkdir -p ${S}/build-aux +SYSTEMD_SERVICE_${PN} = " \ + iwd.service \ + ${@bb.utils.contains('PACKAGECONFIG', 'wired', 'ead.service', '', d)} \ +" + +do_configure_prepend() { + install -d ${S}/build-aux } do_install_append() { @@ -36,9 +43,11 @@ do_install_append() { rmdir --ignore-fail-on-non-empty ${D}/${bindir} } -FILES_${PN} += "${datadir}/dbus-1 ${nonarch_libdir}/modules-load.d ${systemd_unitdir}/network/" - -SYSTEMD_SERVICE_${PN} = "iwd.service ${@bb.utils.contains('PACKAGECONFIG', 'wired', 'ead.service', '', d)}" +FILES_${PN} += " \ + ${datadir}/dbus-1 \ + ${nonarch_libdir}/modules-load.d \ + ${systemd_unitdir}/network \ +" RDEPENDS_${PN} = "dbus" -- 2.24.1