summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2017-08-17 00:23:41 +0900
committerAkinori Hattori <hattya@gentoo.org>2017-08-17 00:38:53 +0900
commitd0f6595249b0cae3b120d83fd708288024d40998 (patch)
tree90f1f2d12d2d6d2a4db62a3b5d24d4bdba08e0d0 /app-i18n/ibus-chewing
parentapp-emulation/lxd: remove old versions (diff)
downloadgentoo-d0f6595249b0cae3b120d83fd708288024d40998.tar.gz
gentoo-d0f6595249b0cae3b120d83fd708288024d40998.tar.bz2
gentoo-d0f6595249b0cae3b120d83fd708288024d40998.zip
app-i18n/ibus-chewing: update to EAPI 6
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'app-i18n/ibus-chewing')
-rw-r--r--app-i18n/ibus-chewing/ibus-chewing-1.5.1.ebuild42
-rw-r--r--app-i18n/ibus-chewing/metadata.xml20
2 files changed, 31 insertions, 31 deletions
diff --git a/app-i18n/ibus-chewing/ibus-chewing-1.5.1.ebuild b/app-i18n/ibus-chewing/ibus-chewing-1.5.1.ebuild
index 4c7d1c679f87..7bfe451e37b8 100644
--- a/app-i18n/ibus-chewing/ibus-chewing-1.5.1.ebuild
+++ b/app-i18n/ibus-chewing/ibus-chewing-1.5.1.ebuild
@@ -1,43 +1,41 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI="6"
+CMAKE_MAKEFILE_GENERATOR="emake"
+
inherit cmake-utils
-MY_P=${P}-Source
+MY_P="${P}-Source"
-DESCRIPTION="The Chewing IMEngine for IBus Framework"
+DESCRIPTION="Chinese Chewing engine for IBus"
HOMEPAGE="https://github.com/ibus/ibus/wiki"
-SRC_URI="https://github.com/definite/ibus-chewing/releases/download/${PV}/${MY_P}.tar.gz"
+SRC_URI="https://github.com/definite/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"
-RDEPEND="x11-libs/libXtst
- >=app-i18n/ibus-1.3
- >=app-i18n/libchewing-0.3.3
+RDEPEND="app-i18n/ibus
+ app-i18n/libchewing
+ dev-libs/glib:2
+ dev-util/gob:2
+ gnome-base/gconf
x11-libs/gtk+:2
- dev-util/gob:2"
+ x11-libs/libX11
+ nls? ( virtual/libintl )"
DEPEND="${RDEPEND}
- gnome-base/gconf
- virtual/pkgconfig"
-
-S=${WORKDIR}/${MY_P}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+S="${WORKDIR}/${MY_P}"
-CMAKE_IN_SOURCE_BUILD=1
-
-DOCS="AUTHORS ChangeLog README RELEASE-NOTES.txt USER-GUIDE"
+DOCS=( AUTHORS ChangeLog README RELEASE-NOTES.txt USER-GUIDE )
src_configure() {
local mycmakeargs=(
- -DPRJ_DOC_DIR=/usr/share/doc/${PF}
- )
-
+ -DPRJ_DOC_DIR="${EPREFIX}"/usr/share/doc/${PF}
+ )
+ use nls || mycmakeargs+=( -DMANAGE_GETTEXT_SUPPORT=0 )
cmake-utils_src_configure
}
-
-src_compile() {
- cmake-utils_src_make all translations
-}
diff --git a/app-i18n/ibus-chewing/metadata.xml b/app-i18n/ibus-chewing/metadata.xml
index 5805fc8e3286..8f50d1f98602 100644
--- a/app-i18n/ibus-chewing/metadata.xml
+++ b/app-i18n/ibus-chewing/metadata.xml
@@ -1,13 +1,15 @@
<?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 Chewing engine for IBus platform. It provides Chinese input method from libchewing.</longdescription>
- <upstream>
- <remote-id type="google-code">ibus</remote-id>
- <remote-id type="github">ibus/ibus</remote-id>
- </upstream>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
+ <longdescription lang="en">
+ The Chewing engine for IBus. It provides a Chinese input method from
+ <pkg>app-i18n/libchewing</pkg>.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">definite/ibus-chewing</remote-id>
+ </upstream>
</pkgmetadata>