blob: 9d0600c794ff2407c10f6185e1f9ee1534950dfe [file] [log] [blame]
Brad Bishop868407c2019-11-04 13:24:47 -05001SUMMARY = "Intelligent Input Bus for Linux/Unix"
2HOMEPAGE = "https://github.com/ibus/ibus/wiki"
Andrew Geissler9aee5002022-03-30 16:27:02 +00003LICENSE = "LGPL-2.1-only"
Brad Bishop868407c2019-11-04 13:24:47 -05004LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
5
6inherit autotools-brokensep pkgconfig gobject-introspection gettext gtk-doc vala
7
Patrick Williams03907ee2022-05-01 06:28:52 -05008PV = "1.5.26"
Brad Bishop868407c2019-11-04 13:24:47 -05009
10DEPENDS = "unicode-ucd"
11
12SRC_URI = " \
Patrick Williams92b42cb2022-09-03 06:53:57 -050013 git://github.com/ibus/ibus.git;branch=main;protocol=https \
Brad Bishop868407c2019-11-04 13:24:47 -050014 file://0001-Do-not-try-to-start-dbus-we-do-not-have-dbus-lauch.patch \
Patrick Williams73bd93f2024-02-20 08:07:48 -060015 file://0001-makefile-don-t-gzip-the-man-pages.patch \
Brad Bishop868407c2019-11-04 13:24:47 -050016"
Patrick Williams03907ee2022-05-01 06:28:52 -050017SRCREV = "6a70ab0338206bd1c7d01a4e1874ea0ee5b3a9d3"
Brad Bishop868407c2019-11-04 13:24:47 -050018S = "${WORKDIR}/git"
19
20PACKAGECONFIG[appindicator] = "--enable-appindicator,--disable-appindicator,qtbase"
21PACKAGECONFIG[dconf] = "--enable-dconf,--disable-dconf,dconf"
22PACKAGECONFIG[gtk2] = "--enable-gtk2,--disable-gtk2,gtk+"
23PACKAGECONFIG[gtk3] = "--enable-gtk3,--disable-gtk3,gtk+3"
Patrick Williams03907ee2022-05-01 06:28:52 -050024PACKAGECONFIG[gtk4] = "--enable-gtk4,--disable-gtk4,gtk4"
25PACKAGECONFIG[systemd] = "--enable-systemd-services,--disable-systemd-services,systemd"
Brad Bishop868407c2019-11-04 13:24:47 -050026PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland"
27PACKAGECONFIG[vala] = "--enable-vala,--disable-vala"
28PACKAGECONFIG[x11] = "--enable-xim --enable-ui,--disable-xim --disable-ui,virtual/libx11"
29
30EXTRA_OECONF = " \
31 --disable-tests \
32 --disable-emoji-dict \
33 --disable-python2 \
34"
Patrick Williamse760df82023-05-26 11:10:49 -050035EXTRA_OECONF:append:class-target = "\
36 --with-python=${bindir}/python3 \
37"
Brad Bishop868407c2019-11-04 13:24:47 -050038
Patrick Williams213cb262021-08-07 19:21:33 -050039do_configure:prepend() {
Brad Bishop868407c2019-11-04 13:24:47 -050040 touch ${S}/ChangeLog
41 touch ${S}/ABOUT-NLS
42}