commit:     8b78efc9322ea70b843f0cb8870c34c72e4cb17d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 22 23:16:56 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 22 23:16:56 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=8b78efc9

sci-astronomy/kstars: Add USE password

Upstream commit 54d4830b6e646ad8e384b5b69e1c7501691c9044

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-astronomy/kstars/kstars-9999.ebuild | 6 ++++--
 sci-astronomy/kstars/metadata.xml       | 1 +
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/sci-astronomy/kstars/kstars-9999.ebuild 
b/sci-astronomy/kstars/kstars-9999.ebuild
index 5417ab5d7c..3839e007ad 100644
--- a/sci-astronomy/kstars/kstars-9999.ebuild
+++ b/sci-astronomy/kstars/kstars-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -14,7 +14,7 @@ fi
 
 DESCRIPTION="Desktop Planetarium"
 HOMEPAGE="https://www.kde.org/applications/education/kstars 
https://edu.kde.org/kstars/";
-IUSE="fits indi raw wcs"
+IUSE="fits indi +password raw wcs"
 
 REQUIRED_USE="indi? ( fits ) ${PYTHON_REQUIRED_USE}"
 
@@ -44,6 +44,7 @@ COMMON_DEPEND="
        sys-libs/zlib
        fits? ( sci-libs/cfitsio )
        indi? ( >=sci-libs/indilib-1.4.0 )
+       password? ( dev-libs/qtkeychain:= )
        raw? ( media-libs/libraw:= )
        wcs? ( sci-astronomy/wcslib )
 "
@@ -64,6 +65,7 @@ src_configure() {
        local mycmakeargs=(
                $(cmake-utils_use_find_package fits CFitsio)
                $(cmake-utils_use_find_package indi INDI)
+               $(cmake-utils_use_find_package password Qt5Keychain)
                $(cmake-utils_use_find_package raw LibRaw)
                $(cmake-utils_use_find_package wcs WCSLIB)
        )

diff --git a/sci-astronomy/kstars/metadata.xml 
b/sci-astronomy/kstars/metadata.xml
index efd7ced31b..5dba7fdb56 100644
--- a/sci-astronomy/kstars/metadata.xml
+++ b/sci-astronomy/kstars/metadata.xml
@@ -8,6 +8,7 @@
        <use>
                <flag name="fits">Enable support for NASA's 
<pkg>sci-libs/cfitsio</pkg> library</flag>
                <flag name="indi">Enable support for Astronomical control 
library using libindi</flag>
+               <flag name="password">Store passwords securely via 
<pkg>dev-libs/qtkeychain</pkg></flag>
                <flag name="wcs">Enable support for World Coordinate System 
library using wcslib</flag>
        </use>
 </pkgmetadata>

Reply via email to