1 |
commit: c46e0aa867d4ab81991ae5958d5b2c695563ba15 |
2 |
Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org> |
3 |
AuthorDate: Thu Oct 19 19:44:36 2017 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 23 17:24:38 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c46e0aa8 |
7 |
|
8 |
app-i18n/librime: Use EAPI="6". Minor cleanup. |
9 |
|
10 |
app-i18n/librime/librime-1.2.9.ebuild | 12 +++++++----- |
11 |
1 file changed, 7 insertions(+), 5 deletions(-) |
12 |
|
13 |
diff --git a/app-i18n/librime/librime-1.2.9.ebuild b/app-i18n/librime/librime-1.2.9.ebuild |
14 |
index 18e8fa7d5f9..87d0a91b57f 100644 |
15 |
--- a/app-i18n/librime/librime-1.2.9.ebuild |
16 |
+++ b/app-i18n/librime/librime-1.2.9.ebuild |
17 |
@@ -1,9 +1,9 @@ |
18 |
# Copyright 1999-2017 Gentoo Foundation |
19 |
# Distributed under the terms of the GNU General Public License v2 |
20 |
|
21 |
-EAPI=5 |
22 |
+EAPI="6" |
23 |
|
24 |
-inherit cmake-utils multilib versionator vcs-snapshot toolchain-funcs |
25 |
+inherit cmake-utils vcs-snapshot |
26 |
|
27 |
DESCRIPTION="Rime Input Method Engine library" |
28 |
HOMEPAGE="http://rime.im/ https://github.com/rime/librime" |
29 |
@@ -28,11 +28,13 @@ DEPEND="${RDEPEND} |
30 |
|
31 |
src_configure() { |
32 |
local mycmakeargs=( |
33 |
- $(cmake-utils_use_build static-libs STATIC) |
34 |
+ -DBOOST_USE_CXX11=ON |
35 |
-DBUILD_DATA=OFF |
36 |
-DBUILD_SEPARATE_LIBS=OFF |
37 |
- $(cmake-utils_use_build test TEST) |
38 |
- -DLIB_INSTALL_DIR=/usr/$(get_libdir) |
39 |
+ -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)" |
40 |
+ -DBUILD_STATIC=$(usex static-libs) |
41 |
+ -DBUILD_TEST=$(usex test) |
42 |
) |
43 |
+ |
44 |
cmake-utils_src_configure |
45 |
} |