blob: da4b3ecb895a59a71a69a3f1488b8faee8717209 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 2012-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/rime-${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0/1"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="app-i18n/opencc:=
dev-cpp/glog:=
dev-cpp/yaml-cpp:=
<dev-libs/boost-1.69:=[threads]
dev-libs/leveldb:=
dev-libs/marisa:="
DEPEND="${RDEPEND}
x11-base/xorg-proto
test? ( dev-cpp/gtest )"
src_configure() {
local mycmakeargs=(
-DBUILD_TEST=$(usex test)
-DBOOST_USE_CXX11=ON
-DLIB_INSTALL_DIR="${EPREFIX}"/usr/$(get_libdir)
)
cmake-utils_src_configure
}
|