From 4d9a4271b3180d3a1c4c6bda1f4ccb4d0bd74567 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Wed, 13 Jun 2018 22:37:13 +0200 Subject: app-i18n/fcitx-rime: Add "configuration_tool" USE flag. https://github.com/fcitx/fcitx-rime/pull/40 https://github.com/fcitx/fcitx-rime/commit/af3897bb6c6f1eba14a908e77cfc3e1431e1e312 --- app-i18n/fcitx-rime/fcitx-rime-4.9999.ebuild | 16 ++++++++++++---- app-i18n/fcitx-rime/metadata.xml | 3 +++ 2 files changed, 15 insertions(+), 4 deletions(-) (limited to 'app-i18n/fcitx-rime') diff --git a/app-i18n/fcitx-rime/fcitx-rime-4.9999.ebuild b/app-i18n/fcitx-rime/fcitx-rime-4.9999.ebuild index 35443f12a6e1..74292ea23a01 100644 --- a/app-i18n/fcitx-rime/fcitx-rime-4.9999.ebuild +++ b/app-i18n/fcitx-rime/fcitx-rime-4.9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -22,20 +22,28 @@ fi LICENSE="GPL-2" SLOT="4" KEYWORDS="" -IUSE="" +IUSE="+configuration_tool" RDEPEND=">=app-i18n/fcitx-4.2.9:4 >=app-i18n/librime-1.0.0:= app-i18n/rime-data - virtual/libintl" + virtual/libintl + configuration_tool? ( + >=app-i18n/fcitx-qt5-1.1:4 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + )" DEPEND="${RDEPEND} - virtual/pkgconfig" + virtual/pkgconfig + configuration_tool? ( dev-qt/qtconcurrent:5 )" DOCS=() src_configure() { local mycmakeargs=( -DRIME_DATA_DIR="${EPREFIX}/usr/share/rime-data" + -DENABLE_QT5GUI=$(usex configuration_tool) ) cmake-utils_src_configure diff --git a/app-i18n/fcitx-rime/metadata.xml b/app-i18n/fcitx-rime/metadata.xml index 45175a156241..c809836fd12d 100644 --- a/app-i18n/fcitx-rime/metadata.xml +++ b/app-i18n/fcitx-rime/metadata.xml @@ -13,6 +13,9 @@ cjk@gentoo.org Cjk + + Install configuration tool + fcitx/fcitx-rime -- cgit v1.2.3-65-gdbad