[oe] [PATCH v3 1/2] xfce4-datetime-setter: add recipe

kai.kang at windriver.com kai.kang at windriver.com
Fri Aug 9 05:31:21 UTC 2019


From: Kai Kang <kai.kang at windriver.com>

Because xfce4-settings turn back to its official upstream, it missing
function to set date and time. Add it from Andreas's repo on github.
xfce4-datetime-setter calls functions from dbus service
org.freedesktop.timedate1 to set date and time. And the dbus service is
provided by systemd. So check distro feature 'systemd' that
xfce4-datetime-setter is imcompatible with sysvinit.

Signed-off-by: Kai Kang <kai.kang at windriver.com>
---
 .../xfce4-datetime-setter_3.32.2.bb           | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb

diff --git a/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb b/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
new file mode 100644
index 000000000..d64358537
--- /dev/null
+++ b/meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "A fork of (early) gnome-control-center datetime panel for XFCE. \
+It is based upon GTK3 and embedds into recent xfce4-settings."
+HOMEPAGE = "https://github.com/schnitzeltony/xfce4-datetime-setter"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"
+
+DEPENDS = "glib-2.0-native libxfce4ui"
+
+SRC_URI = "git://github.com/schnitzeltony/xfce4-datetime-setter.git;protocol=https"
+SRCREV = "5c7a73a3824b03b91719e05e2604b97c7a72d50f"
+
+S = "${WORKDIR}/git"
+
+inherit gettext meson distro_features_check
+REQUIRED_DISTRO_FEATURES = "systemd"
+
+FILES_${PN} += "${datadir}/icons/hicolor"
+
+RDEPENDS_${PN} = "tzdata"
-- 
2.20.0



More information about the Openembedded-devel mailing list