summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongxiang Liang <tanekliang@gmail.com>2021-02-27 03:09:07 +0800
committerYixun Lan <dlan@gentoo.org>2021-02-27 06:49:44 +0800
commit581bcc31672eba5b40cf8950a7caf3b889fbb4cd (patch)
treeb1239ba5945326c2e23cc0c0400d5c6180942ebc
parentapp-i18n/librime: version bump, 1.7.3 (diff)
downloadgentoo-581bcc31.tar.gz
gentoo-581bcc31.tar.bz2
gentoo-581bcc31.zip
app-i18n/ibus-rime: version bump to 1.5.0
Specify license more precisely (GPL-3+) Closes: https://github.com/gentoo/gentoo/pull/19676 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Yongxiang Liang <tanekliang@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
-rw-r--r--app-i18n/ibus-rime/Manifest1
-rw-r--r--app-i18n/ibus-rime/ibus-rime-1.5.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/app-i18n/ibus-rime/Manifest b/app-i18n/ibus-rime/Manifest
index a548f02baa01..a82f6d108aa0 100644
--- a/app-i18n/ibus-rime/Manifest
+++ b/app-i18n/ibus-rime/Manifest
@@ -1 +1,2 @@
DIST ibus-rime-1.4.0.tar.gz 34176 BLAKE2B 69d0392adc78b2b8935f2239c4567d001d3636d0e8ff59aca0b04b3189751a3edd0350eea9e2262b3ae3e639dbd9715c157e44727cc48ba9521801161a1508f4 SHA512 3fc24f4ce390e27d37e41775e4c075c7465cd3e90a9ab61d13ec47c2ca1c2afaafb322f327e18be573aa254a43b8cf6426415500a5d817b835bf4e0615ab9145
+DIST ibus-rime-1.5.0.tar.gz 35170 BLAKE2B 30cba341c3ae29438bf94fd93f030d6aa4fde3988d11b1b5e92aa4190ceac7e0776e07248cb1930819f455b378e01e3305fbf687efc997e675f23ff3120037ad SHA512 59b05efe7d5c7dd6dd88a213f05967b19f4946ad0685e29c6c87fbc47ffb3059cc16c88403cfbb945bcbf8637b20d34dcfd91d442c23bb6a9a18d60febbaf27b
diff --git a/app-i18n/ibus-rime/ibus-rime-1.5.0.ebuild b/app-i18n/ibus-rime/ibus-rime-1.5.0.ebuild
new file mode 100644
index 000000000000..5de798801e46
--- /dev/null
+++ b/app-i18n/ibus-rime/ibus-rime-1.5.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 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 ~arm64 ~x86"
+
+RDEPEND="
+ app-i18n/ibus
+ app-i18n/librime
+ app-i18n/rime-data
+ x11-libs/libnotify"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ 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 || die
+
+ default
+}