Skip to content

Commit

Permalink
app-i18n/librime: Use EAPI="6". Minor cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Arfrever Frehtes Taifersar Arahesis authored and floppym committed Oct 23, 2017
1 parent 6728c2d commit c46e0aa
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions app-i18n/librime/librime-1.2.9.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
}

0 comments on commit c46e0aa

Please sign in to comment.