app-i18n/ibus-rime: new upstream release
authorAkinori Hattori <hattya@gentoo.org>
Fri, 27 Jul 2018 13:58:28 +0000 (22:58 +0900)
committerAkinori Hattori <hattya@gentoo.org>
Fri, 27 Jul 2018 13:59:10 +0000 (22:59 +0900)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

app-i18n/ibus-rime/Manifest
app-i18n/ibus-rime/ibus-rime-1.3.0.ebuild [new file with mode: 0644]

index b435a077ea7768615d186b32c3cff044129c58d2..115e4244cf230641be9ab8b58519ed77cd0e74f6 100644 (file)
@@ -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 (file)
index 0000000..8bea4e4
--- /dev/null
@@ -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
+}