commit:     198867bd6e9c832c3a2d5a10c489d41dfb821390
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Tue Apr 12 15:43:56 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Apr 14 19:35:27 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=198867bd

kde-apps/kig: Add missing DEPENDs, force tests optional

Gentoo-bug: 579662

Package-Manager: portage-2.2.27

 kde-apps/kig/kig-15.12.3.ebuild | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/kde-apps/kig/kig-15.12.3.ebuild b/kde-apps/kig/kig-15.12.3.ebuild
index 227189c..59b4511 100644
--- a/kde-apps/kig/kig-15.12.3.ebuild
+++ b/kde-apps/kig/kig-15.12.3.ebuild
@@ -5,6 +5,7 @@
 EAPI=6
 
 KDE_HANDBOOK="forceoptional"
+KDE_TEST="forceoptional"
 PYTHON_COMPAT=( python2_7 )
 inherit python-single-r1 kde5
 
@@ -15,8 +16,7 @@ IUSE="geogebra scripting"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-RDEPEND="
-       ${PYTHON_DEPS}
+RDEPEND="${PYTHON_DEPS}
        $(add_frameworks_dep karchive)
        $(add_frameworks_dep kcompletion)
        $(add_frameworks_dep kconfig)
@@ -38,6 +38,10 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}
        $(add_frameworks_dep ktexteditor)
+       test? (
+               $(add_frameworks_dep kemoticons)
+               $(add_frameworks_dep kitemmodels)
+       )
 "
 
 PATCHES=( "${FILESDIR}/${PN}-4.12.0-boostpython.patch" )
@@ -56,6 +60,8 @@ src_configure() {
        local mycmakeargs=(
                $(cmake-utils_use_find_package geogebra Qt5XmlPatterns)
                $(cmake-utils_use_find_package scripting BoostPython)
+               $(cmake-utils_use_find_package test KF5Emoticons)
+               $(cmake-utils_use_find_package test KF5ItemModels)
        )
 
        kde5_src_configure

Reply via email to