summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2018-07-27 22:58:28 +0900
committerAkinori Hattori <hattya@gentoo.org>2018-07-27 22:59:10 +0900
commit5a792026857dc0239fcfa0b7637aa748137d7cf7 (patch)
tree05b5e8aca753b26ed666ee27531cbc0ca46a2cd2 /app-i18n/ibus-rime
parentapp-i18n/ibus-rime: update HOMEPAGE (diff)
downloadgentoo-5a792026857dc0239fcfa0b7637aa748137d7cf7.tar.gz
gentoo-5a792026857dc0239fcfa0b7637aa748137d7cf7.tar.bz2
gentoo-5a792026857dc0239fcfa0b7637aa748137d7cf7.zip
app-i18n/ibus-rime: new upstream release
Package-Manager: Portage-2.3.40, Repoman-2.3.9
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.3.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/app-i18n/ibus-rime/Manifest b/app-i18n/ibus-rime/Manifest
index b435a077ea77..115e4244cf23 100644
--- a/app-i18n/ibus-rime/Manifest
+++ b/app-i18n/ibus-rime/Manifest
@@ -1 +1,2 @@
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
diff --git a/app-i18n/ibus-rime/ibus-rime-1.3.0.ebuild b/app-i18n/ibus-rime/ibus-rime-1.3.0.ebuild
new file mode 100644
index 000000000000..8bea4e437097
--- /dev/null
+++ b/app-i18n/ibus-rime/ibus-rime-1.3.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+DESCRIPTION="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
+}