summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2019-02-12 11:18:19 +0800
committerYixun Lan <dlan@gentoo.org>2019-02-12 11:30:33 +0800
commit11c41e0a99f75a4a5d84f56298124ba8ec1dd739 (patch)
tree4a531a432559d63a293b63cff24f5ab87c6b0117 /app-i18n/librime/librime-1.4.0.ebuild
parentsys-block/perccli: 7.5.007.0529-r2 for bug 677770 (diff)
downloadgentoo-11c41e0a99f75a4a5d84f56298124ba8ec1dd739.tar.gz
gentoo-11c41e0a99f75a4a5d84f56298124ba8ec1dd739.tar.bz2
gentoo-11c41e0a99f75a4a5d84f56298124ba8ec1dd739.zip
app-i18n/librime: 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/librime/librime-1.4.0.ebuild')
-rw-r--r--app-i18n/librime/librime-1.4.0.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/app-i18n/librime/librime-1.4.0.ebuild b/app-i18n/librime/librime-1.4.0.ebuild
new file mode 100644
index 00000000000..17878776ea8
--- /dev/null
+++ b/app-i18n/librime/librime-1.4.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils vcs-snapshot
+
+DESCRIPTION="Rime Input Method Engine, the core library"
+HOMEPAGE="https://rime.im/ https://github.com/rime/librime"
+SRC_URI="https://github.com/rime/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0/1"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="static-libs test"
+
+RDEPEND="app-i18n/opencc:=
+ dev-cpp/glog:=
+ dev-cpp/yaml-cpp:=
+ dev-libs/boost:=[threads]
+ dev-libs/leveldb:=
+ dev-libs/marisa:="
+DEPEND="${RDEPEND}
+ x11-base/xorg-proto
+ test? ( dev-cpp/gtest )"
+
+DOCS=( {CHANGELOG,README}.md )
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_STATIC=$(usex static-libs)
+ -DBUILD_TEST=$(usex test)
+ -DBOOST_USE_CXX11=ON
+ -DLIB_INSTALL_DIR="${EPREFIX}"/usr/$(get_libdir)
+ )
+ cmake-utils_src_configure
+}