imsettings: upgrade 1.7.3 -> 1.8.1 and rework recipe

It is more or less a recipe rewrite:

* stylize recipe
* Use gtk3 instead of gtk.
* Drop gconf backend - we should get rid of orphanded gconf
* Add PACKAGECONFIGs for 'xim' and 'xfce' - xfce is set by default
* Drop intltool-native from depends - they moved to gettext
* Remove entries from FILES - gobject-introspection.bbclass takes care
* Remove dbus-glib from depends - they moved to gdbus long time ago (Thanks Kai)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Andreas Müller
2019-09-03 08:46:01 +02:00
committed by Khem Raj
parent 7897ca7d19
commit a4ea9eeceb
@@ -7,25 +7,27 @@ This package contains the core DBus services and some utilities."
HOMEPAGE = "http://code.google.com/p/imsettings/"
SECTION = "Applications/System"
inherit autotools gtk-doc gobject-introspection distro_features_check
LICENSE = "LGPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
inherit autotools gtk-doc gobject-introspection gettext distro_features_check
DEPENDS = "gtk+3 libnotify"
REQUIRED_DISTRO_FEATURES = "x11"
SRC_URI = "https://bitbucket.org/tagoh/imsettings/downloads/${BPN}-${PV}.tar.bz2 \
"
SRC_URI[md5sum] = "c6c65a2b2654fe9dfe9ab2e8b80c079a"
SRC_URI[sha256sum] = "196d3a74cef254ff812c32682d1818d740e36a68b976fef9e99748d23a71a71a"
LICENSE = "LGPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
SRC_URI = "https://bitbucket.org/tagoh/imsettings/downloads/${BPN}-${PV}.tar.bz2"
SRC_URI[md5sum] = "c04341a008d8c60e1532f033f4020f44"
SRC_URI[sha256sum] = "ebf578299a10c6a1fea9047be6577df6d2b6470d3cc9d40f8a6589a3c13c4c8b"
EXTRA_OECONF = "--with-xinputsh=50-xinput.sh \
--disable-static \
"
DEPENDS = "gtk+ gconf libnotify dbus-glib libgxim xfconf intltool-native"
PACKAGECONFIG ??= "xfce"
PACKAGECONFIG[xfce] = ",,xfconf"
PACKAGECONFIG[xim] = ",,libgxim"
RDEPENDS_${PN} += "bash"
FILES_${PN} += "${datadir}/dbus-1/* ${datadir}/gir-1.0/* ${libdir}/girepository-1.0/*"
FILES_${PN} += "${datadir}/dbus-1/*"