commit: 1192c81956c023c50d2ab0bf8a36e66158f0a852 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Wed Jun 13 21:45:09 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Wed Jun 13 21:48:44 2018 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=1192c819
kde-plasma/plasma-vault: Add USE=networkmanager Thanks-to: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org> Bug: https://bugs.gentoo.org/656940 Package-Manager: Portage-2.3.40, Repoman-2.3.9 kde-plasma/plasma-vault/plasma-vault-9999.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/kde-plasma/plasma-vault/plasma-vault-9999.ebuild b/kde-plasma/plasma-vault/plasma-vault-9999.ebuild index e50a5f832f..a169963861 100644 --- a/kde-plasma/plasma-vault/plasma-vault-9999.ebuild +++ b/kde-plasma/plasma-vault/plasma-vault-9999.ebuild @@ -10,7 +10,7 @@ HOMEPAGE+=" https://cukic.co/2017/02/03/vaults-encryption-in-plasma/" LICENSE="LGPL-3" KEYWORDS="" -IUSE="" +IUSE="networkmanager" DEPEND=" $(add_frameworks_dep kactivities) @@ -21,7 +21,6 @@ DEPEND=" $(add_frameworks_dep kdbusaddons) $(add_frameworks_dep ki18n) $(add_frameworks_dep kio) - $(add_frameworks_dep networkmanager-qt) $(add_frameworks_dep plasma) $(add_frameworks_dep kwidgetsaddons) $(add_plasma_dep libksysguard) @@ -29,7 +28,16 @@ DEPEND=" $(add_qt_dep qtdeclarative) $(add_qt_dep qtgui) $(add_qt_dep qtwidgets) + networkmanager? ( $(add_frameworks_dep networkmanager-qt) ) " RDEPEND="${DEPEND} || ( >=sys-fs/cryfs-0.9.9 >=sys-fs/encfs-1.9.2 ) " + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package networkmanager KF5NetworkManagerQt) + ) + + kde5_src_configure +}