summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2017-08-02 12:22:04 +0300
committerSergey Popov <pinkbyte@gentoo.org>2017-08-02 12:22:04 +0300
commite776e88cc3a24b002b350b06772622be452081f7 (patch)
tree5e8b73329a6909eb98351dd2b103adfdfb43010e /net-p2p/retroshare
parentwww-apps/otrs: version bump. (diff)
downloadgentoo-e776e88cc3a24b002b350b06772622be452081f7.tar.gz
gentoo-e776e88cc3a24b002b350b06772622be452081f7.tar.bz2
gentoo-e776e88cc3a24b002b350b06772622be452081f7.zip
net-p2p/retroshare: make gnome-base/libgnome-keyring dependency optional, fix autologin
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'net-p2p/retroshare')
-rw-r--r--net-p2p/retroshare/metadata.xml1
-rw-r--r--net-p2p/retroshare/retroshare-0.6.2.ebuild6
-rw-r--r--net-p2p/retroshare/retroshare-0.6.9999.ebuild6
3 files changed, 7 insertions, 6 deletions
diff --git a/net-p2p/retroshare/metadata.xml b/net-p2p/retroshare/metadata.xml
index ccf103c0b98..b92e67f3011 100644
--- a/net-p2p/retroshare/metadata.xml
+++ b/net-p2p/retroshare/metadata.xml
@@ -17,6 +17,7 @@
<use>
<flag name="cli">Enables the CLI version of RetroShare</flag>
<flag name="feedreader">Enables the Feedreader plugin</flag>
+ <flag name="gnome-keyring">Enables potentially insecure autologin capability via Gnome Keyring</flag>
<flag name="gui">Enables the GUI version of RetroShare</flag>
<flag name="voip">Enables VOIP plugin</flag>
</use>
diff --git a/net-p2p/retroshare/retroshare-0.6.2.ebuild b/net-p2p/retroshare/retroshare-0.6.2.ebuild
index 9bbc687a0fb..86ae46473b4 100644
--- a/net-p2p/retroshare/retroshare-0.6.2.ebuild
+++ b/net-p2p/retroshare/retroshare-0.6.2.ebuild
@@ -14,7 +14,7 @@ LICENSE="GPL-2 GPL-3 Apache-2.0 LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="cli feedreader +gui voip"
+IUSE="cli feedreader gnome-keyring +gui voip"
REQUIRED_USE="
|| ( cli gui )
feedreader? ( gui )
@@ -30,10 +30,10 @@ RDEPEND="
dev-qt/qtprintsupport:5
dev-qt/qtscript:5
dev-qt/qtxml:5
- gnome-base/libgnome-keyring
net-libs/libmicrohttpd
net-libs/libupnp:0
sys-libs/zlib
+ gnome-keyring? ( gnome-base/libgnome-keyring )
feedreader? (
dev-libs/libxml2
dev-libs/libxslt
@@ -87,7 +87,7 @@ src_prepare() {
src_configure() {
for dir in ${rs_src_dirs} ; do
pushd "${S}/${dir}" >/dev/null || die
- eqmake5
+ eqmake5 $(use gnome-keyring && echo CONFIG+=rs_autologin)
popd >/dev/null || die
done
}
diff --git a/net-p2p/retroshare/retroshare-0.6.9999.ebuild b/net-p2p/retroshare/retroshare-0.6.9999.ebuild
index e5cfb2b92f6..15d6a116d95 100644
--- a/net-p2p/retroshare/retroshare-0.6.9999.ebuild
+++ b/net-p2p/retroshare/retroshare-0.6.9999.ebuild
@@ -14,7 +14,7 @@ LICENSE="GPL-2 GPL-3 Apache-2.0 LGPL-2.1"
SLOT="0"
KEYWORDS=""
-IUSE="cli feedreader +gui voip"
+IUSE="cli feedreader gnome-keyring +gui voip"
REQUIRED_USE="
|| ( cli gui )
feedreader? ( gui )
@@ -30,10 +30,10 @@ RDEPEND="
dev-qt/qtprintsupport:5
dev-qt/qtscript:5
dev-qt/qtxml:5
- gnome-base/libgnome-keyring
net-libs/libmicrohttpd
net-libs/libupnp:0
sys-libs/zlib
+ gnome-keyring? ( gnome-base/libgnome-keyring )
feedreader? (
dev-libs/libxml2
dev-libs/libxslt
@@ -84,7 +84,7 @@ src_prepare() {
src_configure() {
for dir in ${rs_src_dirs} ; do
pushd "${S}/${dir}" >/dev/null || die
- eqmake5
+ eqmake5 $(use gnome-keyring && echo CONFIG+=rs_autologin)
popd >/dev/null || die
done
}