blob: 322bf66e34c26b67286b539805f70f92c0679f75 (
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
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/librime/librime-1.1-r1.ebuild,v 1.1 2014/04/08 23:27:37 dlan Exp $
EAPI=5
inherit cmake-utils multilib versionator toolchain-funcs
DESCRIPTION="Rime Input Method Engine library"
HOMEPAGE="http://code.google.com/p/rimeime/"
SRC_URI="http://rimeime.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs test"
RDEPEND="app-i18n/opencc
dev-cpp/glog
>=dev-cpp/yaml-cpp-0.5.0
dev-db/kyotocabinet
>=dev-libs/boost-1.46.0[threads(+)]
sys-libs/zlib
x11-proto/xproto"
DEPEND="${RDEPEND}
test? ( dev-cpp/gtest )"
S="${WORKDIR}/${PN}"
#bug 496080, backport patch for <gcc-4.8
PATCHES=(
"${FILESDIR}/${P}-BOOST_NO_SCOPED_ENUMS.patch"
"${FILESDIR}/${P}-gcc53613.patch"
)
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_build static-libs STATIC)
-DBUILD_DATA=OFF
-DBUILD_SEPARATE_LIBS=OFF
$(cmake-utils_use_build test TEST)
-DLIB_INSTALL_DIR=/usr/$(get_libdir)
)
cmake-utils_src_configure
}
|