-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI="7"
DESCRIPTION="M17N engine for IBus"
HOMEPAGE="https://github.com/ibus/ibus/wiki"
SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ibus/${P}.tar.gz"
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="gtk gtk2 nls"
REQUIRED_USE="gtk2? ( gtk )"
-CDEPEND="app-i18n/ibus
+DEPEND="app-i18n/ibus
dev-libs/m17n-lib
gtk? (
gtk2? ( x11-libs/gtk+:2 )
!gtk2? ( x11-libs/gtk+:3 )
)
nls? ( virtual/libintl )"
-RDEPEND="${CDEPEND}
+RDEPEND="${DEPEND}
>=dev-db/m17n-db-1.7"
-DEPEND="${CDEPEND}
- dev-util/intltool
- sys-devel/gettext
+BDEPEND="sys-devel/gettext
virtual/pkgconfig"
src_configure() {
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>cjk@gentoo.org</email>
- <name>Cjk</name>
- </maintainer>
- <longdescription lang="en">
- The M17N engine for IBus. It allows input of many languages using the input
- table maps from <pkg>dev-libs/m17n-lib</pkg>.
- </longdescription>
- <use>
- <flag name="gtk2">
- Build with <pkg>x11-libs/gtk+</pkg>:2 instead of <pkg>x11-libs/gtk+</pkg>:3
- </flag>
- </use>
- <upstream>
- <remote-id type="cpe">cpe:/a:ibus_project:ibus-m17n</remote-id>
- <remote-id type="github">ibus/ibus-m17n</remote-id>
- </upstream>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
+ <longdescription lang="en">
+ The M17N engine for IBus. It allows input of many languages using the input
+ table maps from <pkg>dev-libs/m17n-lib</pkg>.
+ </longdescription>
+ <use>
+ <flag name="gtk2">
+ Build with <pkg>x11-libs/gtk+</pkg>:2 instead of <pkg>x11-libs/gtk+</pkg>:3
+ </flag>
+ </use>
+ <upstream>
+ <remote-id type="cpe">cpe:/a:ibus_project:ibus-m17n</remote-id>
+ <remote-id type="github">ibus/ibus-m17n</remote-id>
+ </upstream>
</pkgmetadata>