summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2019-08-09 17:02:55 +0000
committerMike Gilbert <floppym@gentoo.org>2019-08-09 14:38:59 -0400
commit19f971b93a9ca2efdf137981449a1958c84c9d40 (patch)
tree84800c217564faff62b006b6290ecc9ae9d031d1 /app-i18n/librime
parentapp-i18n/librime: Version bump (1.5.3). (diff)
downloadgentoo-19f971b93a9ca2efdf137981449a1958c84c9d40.tar.gz
gentoo-19f971b93a9ca2efdf137981449a1958c84c9d40.tar.bz2
gentoo-19f971b93a9ca2efdf137981449a1958c84c9d40.zip
app-i18n/librime: Use headers of dev-libs/darts, dev-libs/utfcpp and x11-base/xorg-proto.
Fixes: https://bugs.gentoo.org/691724 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'app-i18n/librime')
-rw-r--r--app-i18n/librime/librime-1.5.3.ebuild12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-i18n/librime/librime-1.5.3.ebuild b/app-i18n/librime/librime-1.5.3.ebuild
index f3d8887bec2..77a9b708029 100644
--- a/app-i18n/librime/librime-1.5.3.ebuild
+++ b/app-i18n/librime/librime-1.5.3.ebuild
@@ -33,12 +33,24 @@ RDEPEND="app-i18n/opencc:0=
dev-libs/leveldb:0=
dev-libs/marisa:0="
DEPEND="${RDEPEND}
+ dev-libs/darts
+ dev-libs/utfcpp
x11-base/xorg-proto
test? ( dev-cpp/gtest )"
DOCS=(CHANGELOG.md README.md)
+src_prepare() {
+ # Use headers of dev-libs/darts, dev-libs/utfcpp and x11-base/xorg-proto.
+ sed -e "/\${PROJECT_SOURCE_DIR}\/thirdparty/d" -i CMakeLists.txt || die
+ rm -r thirdparty || die
+
+ cmake-utils_src_prepare
+}
+
src_configure() {
+ local -x CXXFLAGS="${CXXFLAGS} -I/usr/include/utf8cpp"
+
local mycmakeargs=(
-DBOOST_USE_CXX11=ON
-DBUILD_TEST=$(usex test ON OFF)