commit:     7c404aae974ff3f4d4060d99f14eda0df9bd6a02
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 16 12:46:42 2014 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Jun 16 12:46:42 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=7c404aae

[kde-base/kde-cli-tools] Add X USE flag.

Package-Manager: portage-2.2.10

---
 kde-base/kde-cli-tools/kde-cli-tools-9999.ebuild | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/kde-base/kde-cli-tools/kde-cli-tools-9999.ebuild 
b/kde-base/kde-cli-tools/kde-cli-tools-9999.ebuild
index f4df557..9a7f0bc 100644
--- a/kde-base/kde-cli-tools/kde-cli-tools-9999.ebuild
+++ b/kde-base/kde-cli-tools/kde-cli-tools-9999.ebuild
@@ -11,7 +11,7 @@ inherit kde5
 DESCRIPTION="Tools based on KDE Frameworks 5 to better interact with the 
system"
 HOMEPAGE="https://projects.kde.org/projects/kde/workspace/kde-cli-tools";
 KEYWORDS=""
-IUSE=""
+IUSE="X"
 
 DEPEND="
        $(add_frameworks_dep kcmutils)
@@ -31,8 +31,20 @@ DEPEND="
        dev-qt/qtgui:5
        dev-qt/qtsvg:5
        dev-qt/qtwidgets:5
+       X? (
+               dev-qt/qtx11extras:5
+               x11-libs/libX11
+       )
 "
 RDEPEND="${DEPEND}"
 
 # requires running kde environment
 RESTRICT="test"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package X Qt5X11Extras)
+       )
+
+       kde5_src_configure
+}

Reply via email to