summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2019-02-12 11:22:22 +0800
committerYixun Lan <dlan@gentoo.org>2019-02-12 11:30:49 +0800
commit0c95435b5731b1c8c4bca6c5abde9b1ab98549b9 (patch)
tree631a7b3b06c9420c00d5f0587b94480281c71569 /app-i18n/ibus-rime
parentapp-i18n/librime: version bump 1.4.0 (diff)
downloadgentoo-0c95435b5731b1c8c4bca6c5abde9b1ab98549b9.tar.gz
gentoo-0c95435b5731b1c8c4bca6c5abde9b1ab98549b9.tar.bz2
gentoo-0c95435b5731b1c8c4bca6c5abde9b1ab98549b9.zip
app-i18n/ibus-rime: version bump 1.4.0
Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'app-i18n/ibus-rime')
-rw-r--r--app-i18n/ibus-rime/Manifest1
-rw-r--r--app-i18n/ibus-rime/ibus-rime-1.4.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/app-i18n/ibus-rime/Manifest b/app-i18n/ibus-rime/Manifest
index 115e4244cf23..7ed6b926e48f 100644
--- a/app-i18n/ibus-rime/Manifest
+++ b/app-i18n/ibus-rime/Manifest
@@ -1,2 +1,3 @@
DIST ibus-rime-1.2.tar.gz 33396 BLAKE2B 39930ea31d40e622cd69d6f5a218729f460161dd9681e49bc35a1eb9b3875b6f5acbdaf36f7cf8200440bc27ed84a2f23ec1578b19a1fe6abbbc54c7078be11c SHA512 e1851781a6d069a79d04890b5b0aa2a706e611c08df3fcb99f883eeedd4dc4eefcac207f35b5cf1d856a41f0153ec3fbb040b4e6f610727384baa19b52a64155
DIST ibus-rime-1.3.0.tar.gz 33930 BLAKE2B 14e086382d89c990ca9f07401b68dbe26d58da061a3e8154232809ff29d766b630dcd06723bb0a8e18ebd089a640b7ab6787f8c70a6405dfa82472c1abfe5d4e SHA512 f0991184805bfe19931e297779179661f98bdfea952e310b2d8618550002cfa5bb08df05d1c5e31b535ad9959a919fdc98fa771a90d4d82b9c50e2f592cb7dfd
+DIST ibus-rime-1.4.0.tar.gz 34176 BLAKE2B 69d0392adc78b2b8935f2239c4567d001d3636d0e8ff59aca0b04b3189751a3edd0350eea9e2262b3ae3e639dbd9715c157e44727cc48ba9521801161a1508f4 SHA512 3fc24f4ce390e27d37e41775e4c075c7465cd3e90a9ab61d13ec47c2ca1c2afaafb322f327e18be573aa254a43b8cf6426415500a5d817b835bf4e0615ab9145
diff --git a/app-i18n/ibus-rime/ibus-rime-1.4.0.ebuild b/app-i18n/ibus-rime/ibus-rime-1.4.0.ebuild
new file mode 100644
index 000000000000..f59ab58a8622
--- /dev/null
+++ b/app-i18n/ibus-rime/ibus-rime-1.4.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Chinese Rime Input Method Engine for IBus"
+HOMEPAGE="https://rime.im/ https://github.com/rime/ibus-rime"
+SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CDEPEND="app-i18n/ibus
+ app-i18n/librime
+ x11-libs/libnotify"
+RDEPEND="${CDEPEND}
+ app-i18n/rime-data"
+DEPEND="${CDEPEND}
+ dev-util/cmake
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i \
+ -e "/^libexecdir/s:/lib:/libexec:" \
+ -e "/^[[:space:]]*PREFIX/s:/usr:${EPREFIX}/usr:" \
+ -e "s/ make/ \$(MAKE)/" \
+ Makefile
+ sed -i "/exec>/s:/usr/lib:${EPREFIX}/usr/libexec:" rime.xml
+
+ default
+}