summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2018-07-27 22:30:41 +0900
committerAkinori Hattori <hattya@gentoo.org>2018-07-27 22:30:41 +0900
commitd82e46e89fdc73198d996eb75e7bcb6da13950cb (patch)
treec4fc662fde790d0efbe89e8aa6cfb40c165b8d97 /app-i18n/librime
parentapp-i18n/librime: tidy (diff)
downloadgentoo-d82e46e89fdc73198d996eb75e7bcb6da13950cb.tar.gz
gentoo-d82e46e89fdc73198d996eb75e7bcb6da13950cb.tar.bz2
gentoo-d82e46e89fdc73198d996eb75e7bcb6da13950cb.zip
app-i18n/librime: new upstream release
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-i18n/librime')
-rw-r--r--app-i18n/librime/Manifest1
-rw-r--r--app-i18n/librime/librime-1.3.1.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/app-i18n/librime/Manifest b/app-i18n/librime/Manifest
index 85b6d47610ac..75608363b253 100644
--- a/app-i18n/librime/Manifest
+++ b/app-i18n/librime/Manifest
@@ -1 +1,2 @@
DIST librime-1.2.9.tar.gz 5516609 BLAKE2B 7b05fedb093f7595c7bf7f4893624b35b0cdde1816c9c99f9ed5d408c8fd21d34a361d16b94c43b3e5e23b10945f075711762f08ca30abee35849a332ecfee2d SHA512 2266ef96ad21ec5981b4ca5371d4e16eefed545ffbde07093ae0d0be070a64f9869baa09b6bdcee2522438e08c72a842a7e0b225a6ca1b661708a80cf3aba83a
+DIST librime-1.3.1.tar.gz 8598357 BLAKE2B cd6bc6b63a89f7f11e78ceaf92007c099be34ce38f26d611b67a3d8f868a27a0e4de7b94da44d8483618f37a0c2bcfd3a1bc1c1ecb4f81829f8e12fdd777e283 SHA512 b35d3635fd776ed9be32c0998e4aac441433bc9e624765a57582690108cccf5c3beaedad4f8f1682d99533384cd10996ee8c18fd5adcea70878d6a410124922e
diff --git a/app-i18n/librime/librime-1.3.1.ebuild b/app-i18n/librime/librime-1.3.1.ebuild
new file mode 100644
index 000000000000..c0422746cca3
--- /dev/null
+++ b/app-i18n/librime/librime-1.3.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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
+}