[oe] [meta-oe][PATCH] dbus-broker: 16 -> 17

William A. Kennington III wak at google.com
Fri Feb 15 01:41:13 UTC 2019


This change cleans up a number of things about the build
 - Upstream no longer depends on glib
 - We dont ever runtime depend on reference dbus
 - Docs are disabled by default so we don't need to specify the option
 - There is no native tooling so we shouldn't need a native bbclass
 - No longer depend on gitsm since upstream provides release tarballs

Signed-off-by: William A. Kennington III <wak at google.com>
---
 .../{dbus-broker_git.bb => dbus-broker_17.bb}   | 17 +++--------------
 1 file changed, 3 insertions(+), 14 deletions(-)
 rename meta-oe/recipes-core/dbus/{dbus-broker_git.bb => dbus-broker_17.bb} (60%)

diff --git a/meta-oe/recipes-core/dbus/dbus-broker_git.bb b/meta-oe/recipes-core/dbus/dbus-broker_17.bb
similarity index 60%
rename from meta-oe/recipes-core/dbus/dbus-broker_git.bb
rename to meta-oe/recipes-core/dbus/dbus-broker_17.bb
index ac0f325a4..e940bb656 100644
--- a/meta-oe/recipes-core/dbus/dbus-broker_git.bb
+++ b/meta-oe/recipes-core/dbus/dbus-broker_17.bb
@@ -6,18 +6,12 @@ SECTION = "base"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8"
 
-DEPENDS = "dbus glib-2.0 expat"
-
-PV = "16+git${SRCPV}"
-SRCREV = "fc874afa0992d0c75ec25acb43d344679f0ee7d2"
-
-SRC_URI = "gitsm://github.com/bus1/dbus-broker;protocol=git"
-
-S = "${WORKDIR}/git"
+SRC_URI = "https://github.com/bus1/dbus-broker/releases/download/v${PV}/dbus-broker-${PV}.tar.xz"
+SRC_URI[sha256sum] = "4ec7491745a88ec5112644b0e2b9a0abe9107c85d7650be8988d88efb52da84b"
 
 inherit meson pkgconfig systemd distro_features_check
 
-EXTRA_OEMESON += "-Ddocs=false"
+DEPENDS = "expat systemd"
 
 REQUIRED_DISTRO_FEATURES = "systemd"
 
@@ -25,8 +19,3 @@ SYSTEMD_SERVICE_${PN} = "${BPN}.service"
 
 FILES_${PN} += "${systemd_system_unitdir}"
 FILES_${PN} += "${systemd_user_unitdir}"
-
-RDEPENDS_${PN} = "dbus"
-
-BBCLASSEXTEND = "native"
-
-- 
2.20.1



More information about the Openembedded-devel mailing list