net-p2p/retroshare: Rename USE=autologin -> keyring

Bug: https://bugs.gentoo.org/905928
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2023-05-18 14:09:11 +02:00
parent a9d139eb1b
commit 68cc8c2252
2 changed files with 4 additions and 5 deletions
-1
View File
@@ -18,7 +18,6 @@
RetroShare provides filesharing, chat, mails, forums and channels.
</longdescription>
<use>
<flag name="autologin">Enables potentially insecure autologin capability via <pkg>app-crypt/libsecret</pkg></flag>
<flag name="cli">Enables terminal login support for retroshare-service</flag>
<flag name="jsonapi">Enables the new RetroShare JSON API</flag>
<flag name="libupnp">Enables UPnP port forwarding via <pkg>net-libs/libupnp</pkg></flag>
@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -13,7 +13,7 @@ S="${WORKDIR}/RetroShare"
LICENSE="AGPL-3 Apache-2.0 CC-BY-SA-4.0 GPL-2 GPL-3 LGPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="autologin cli +gui +jsonapi libupnp +miniupnp +service +sqlcipher"
IUSE="keyring cli +gui +jsonapi libupnp +miniupnp +service +sqlcipher"
REQUIRED_USE="
|| ( gui service )
@@ -25,7 +25,7 @@ RDEPEND="
dev-libs/openssl:0=
>=dev-libs/rapidjson-1.1.0
sys-libs/zlib
autologin? ( app-crypt/libsecret )
keyring? ( app-crypt/libsecret )
gui? (
dev-qt/qtcore:5
dev-qt/qtmultimedia:5
@@ -58,7 +58,7 @@ PATCHES=( "${FILESDIR}/${P}-fix-cxx17-compilation.patch" )
src_configure() {
local qconfigs=(
$(usex cli '' 'no_')rs_service_terminal_login
$(usex autologin '' 'no_')rs_autologin
$(usex keyring '' 'no_')rs_autologin
$(usex gui '' 'no_')retroshare_gui
$(usex jsonapi '' 'no_')rs_jsonapi
$(usex service '' 'no_')retroshare_service