summaryrefslogtreecommitdiffstats
path: root/meta-xfce/recipes-extended/imsettings/imsettings_1.8.10.bb
blob: 6daf1f57b146ace697a1e257baf02cdf5f3b87bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
SUMMARY = "Delivery framework for general Input Method configuration"
DESCRIPTION = "IMSettings is a framework that delivers Input Method \
settings and applies the changes so they take effect \
immediately without any need to restart applications \
or the desktop. \
This package contains the core DBus services and some utilities."
HOMEPAGE = "http://code.google.com/p/imsettings/"
SECTION = "Applications/System"

LICENSE = "LGPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"

inherit autotools gettext gtk-doc gobject-introspection features_check

DEPENDS = "autoconf-archive-native gtk+3 libnotify"

REQUIRED_DISTRO_FEATURES = "x11"

SRC_URI = "git://gitlab.com/tagoh/imsettings.git;protocol=https;branch=main \
           file://imsettings-gcc10.patch \
           file://0001-remove-man-page.patch \
          "
SRCREV = "27d84c88831ef76397a15891ba0738ce9a83902a"


do_configure:prepend() {
    cp ${STAGING_DATADIR_NATIVE}/gettext/ABOUT-NLS ${AUTOTOOLS_AUXDIR}/
}

EXTRA_OECONF = "--with-xinputsh=50-xinput.sh \
                --disable-static \
               "

CFLAGS:append:toolchain-clang = " -Wno-error=unused-function -Wno-error=single-bit-bitfield-constant-conversion"
PACKAGECONFIG ??= "xfce"
PACKAGECONFIG[xfce] = ",,xfconf"
PACKAGECONFIG[xim] = ",,libgxim"

RDEPENDS:${PN} += "bash"

FILES:${PN} += "${datadir}/dbus-1/*"