summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2017-10-19 21:44:36 +0200
committerMike Gilbert <floppym@gentoo.org>2017-10-23 13:24:38 -0400
commitc46e0aa867d4ab81991ae5958d5b2c695563ba15 (patch)
tree13195b031ccb2df64a5950ac42dd729b5bbae858 /app-i18n/librime
parentapp-i18n/librime: Update HOMEPAGE. (diff)
downloadgentoo-c46e0aa867d4ab81991ae5958d5b2c695563ba15.tar.gz
gentoo-c46e0aa867d4ab81991ae5958d5b2c695563ba15.tar.bz2
gentoo-c46e0aa867d4ab81991ae5958d5b2c695563ba15.zip
app-i18n/librime: Use EAPI="6". Minor cleanup.
Diffstat (limited to 'app-i18n/librime')
-rw-r--r--app-i18n/librime/librime-1.2.9.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/app-i18n/librime/librime-1.2.9.ebuild b/app-i18n/librime/librime-1.2.9.ebuild
index 18e8fa7d5f9..87d0a91b57f 100644
--- a/app-i18n/librime/librime-1.2.9.ebuild
+++ b/app-i18n/librime/librime-1.2.9.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI="6"
-inherit cmake-utils multilib versionator vcs-snapshot toolchain-funcs
+inherit cmake-utils vcs-snapshot
DESCRIPTION="Rime Input Method Engine library"
HOMEPAGE="http://rime.im/ https://github.com/rime/librime"
@@ -28,11 +28,13 @@ DEPEND="${RDEPEND}
src_configure() {
local mycmakeargs=(
- $(cmake-utils_use_build static-libs STATIC)
+ -DBOOST_USE_CXX11=ON
-DBUILD_DATA=OFF
-DBUILD_SEPARATE_LIBS=OFF
- $(cmake-utils_use_build test TEST)
- -DLIB_INSTALL_DIR=/usr/$(get_libdir)
+ -DLIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)"
+ -DBUILD_STATIC=$(usex static-libs)
+ -DBUILD_TEST=$(usex test)
)
+
cmake-utils_src_configure
}