xfce4-datetime-setter: add recipe

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@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Kai Kang
2019-08-09 01:31:21 -04:00
committed by Khem Raj
parent cb036c8404
commit b2c96a97f2

View File

@@ -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"