commit:     619241fe9095525909a143888ee81675a97e2a18
Author:     gentoo-setan <gentoo-setan <AT> protonmail <DOT> com>
AuthorDate: Thu Jun 20 09:18:07 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Jun 20 10:56:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=619241fe

net-p2p/biglybt: add I2P and TOR optfeatures

Signed-off-by: gentoo-setan <gentoo-setan <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37225
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-p2p/biglybt/biglybt-3.6.0.0.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/net-p2p/biglybt/biglybt-3.6.0.0.ebuild 
b/net-p2p/biglybt/biglybt-3.6.0.0.ebuild
index 9cacc9c9454c..4ee04bea7849 100644
--- a/net-p2p/biglybt/biglybt-3.6.0.0.ebuild
+++ b/net-p2p/biglybt/biglybt-3.6.0.0.ebuild
@@ -7,7 +7,7 @@ EAPI=8
 JAVA_PKG_IUSE="doc source"
 MAVEN_PROVIDES="com.${PN}:${PN}-core:${PV} com.${PN}:${PN}-ui:${PV}"
 
-inherit desktop java-pkg-2 java-pkg-simple xdg
+inherit desktop java-pkg-2 java-pkg-simple optfeature xdg
 
 DESCRIPTION="Feature-filled Bittorrent client based on the Azureus open source 
project"
 HOMEPAGE="https://www.biglybt.com";
@@ -100,3 +100,11 @@ src_install() {
        fi
        default
 }
+
+pkg_postinst() {
+       xdg_pkg_postinst
+
+       optfeature_header "If you are using plugin proxies you might want to 
swap them for these native packages:"
+       optfeature "I2P SOCKS proxy" net-vpn/i2p net-vpn/i2pd
+       optfeature "TOR SOCKS proxy" net-vpn/tor
+}

Reply via email to