app-crypt/zuluCrypt: Rename USE=gui -> qt5, kde -> kwallet
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 25 Feb 2017 10:33:58 +0000 (11:33 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 25 Feb 2017 19:42:21 +0000 (20:42 +0100)
Gentoo-bug: 606958

Package-Manager: Portage-2.3.3, Repoman-2.3.1

app-crypt/zuluCrypt/metadata.xml
app-crypt/zuluCrypt/zuluCrypt-5.1.0.ebuild

index bfdfd42e2777f6bcb0078438cb685efb0fa7efcf..25f3de3d1e0c0bb299b678468dd205dfe9198f22 100644 (file)
@@ -3,18 +3,14 @@
 <pkgmetadata>
        <!-- maintainer-needed -->
        <use>
-               <flag name="gnome">Enable support for the freedesktop.org
-                       Secret Service API via <pkg>app-crypt/libsecret</pkg>.
-                       This does not control the gui!
+               <flag name="gnome">
+                       Enable support for the freedesktop.org Secret Service API via <pkg>app-crypt/libsecret</pkg>
                </flag>
-               <flag name="gui">Whether to build the QT gui. Highly recommended.
+               <flag name="kwallet">
+                       Enable encrypted storage of passwords with <pkg>kde-frameworks/kwallet</pkg>
                </flag>
-               <flag name="kde">Enable support for KDE, e.g. via
-                       <pkg>kde-apps/kwalletd</pkg>. This does not control the gui,
-                       but NEEDS GUI ENABLED!
-               </flag>
-               <flag name="udev">Whether udev will be consulted when deciding
-                       if a volume is system or not.
+               <flag name="udev">
+                       Whether udev will be consulted when deciding if a volume is system or not
                </flag>
        </use>
        <upstream>
index 999038753d533f1250ccf5260364ea7023b7075d..71bb3e9464e4832046100fe3a8472be70a6a6672 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,22 +13,22 @@ SRC_URI="https://github.com/mhogomchungu/zuluCrypt/releases/download/${PV}/zuluC
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="gnome +gui kde udev"
+IUSE="gnome kwallet +qt5 udev"
 
-REQUIRED_USE="kde? ( gui )"
+REQUIRED_USE="kwallet? ( qt5 )"
 
 CDEPEND="
        dev-libs/libgcrypt:0=
        sys-apps/util-linux
        sys-fs/cryptsetup
        gnome? ( app-crypt/libsecret )
-       gui? (
+       qt5? (
                dev-libs/libpwquality
                dev-qt/qtcore:5
                dev-qt/qtgui:5
                dev-qt/qtnetwork:5
                dev-qt/qtwidgets:5
-               kde? ( kde-frameworks/kwallet:5 )
+               kwallet? ( kde-frameworks/kwallet:5 )
        )
 "
 RDEPEND="${CDEPEND}
@@ -41,8 +41,8 @@ src_configure() {
        local mycmakeargs=(
                -DLIB_SUFFIX="$(get_libdir)"
                -DNOGNOME=$(usex !gnome)
-               -DNOGUI=$(usex !gui)
-               -DNOKDE=$(usex !kde)
+               -DNOKDE=$(usex !kwallet)
+               -DNOGUI=$(usex !qt5)
                -DUDEVSUPPORT=$(usex udev)
        )