kde-apps/kcachegrind: Add USE=nls and missing DEPEND
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 22 Apr 2017 14:24:35 +0000 (16:24 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 22 Apr 2017 14:32:06 +0000 (16:32 +0200)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

kde-apps/kcachegrind/kcachegrind-17.04.0.ebuild

index 3f99250266f87eee1d3cfb3dcda03a51851e54f4..c475072f7ab5dc5b506b2528d0d9746e512fe19b 100644 (file)
@@ -10,9 +10,9 @@ DESCRIPTION="Frontend for Cachegrind by KDE"
 HOMEPAGE="https://www.kde.org/applications/development/kcachegrind
 https://kcachegrind.github.io/html/Home.html"
 KEYWORDS="~amd64 ~arm ~x86"
-IUSE=""
+IUSE="nls"
 
-DEPEND="
+COMMON_DEPEND="
        $(add_frameworks_dep karchive)
        $(add_frameworks_dep kconfig)
        $(add_frameworks_dep kconfigwidgets)
@@ -26,7 +26,10 @@ DEPEND="
        $(add_qt_dep qtgui)
        $(add_qt_dep qtwidgets)
 "
-RDEPEND="${DEPEND}
+DEPEND="${COMMON_DEPEND}
+       nls? ( $(add_qt_dep linguist-tools) )
+"
+RDEPEND="${COMMON_DEPEND}
        media-gfx/graphviz
        !<kde-apps/kde4-l10n-17.03.90:4
 "