summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2023-01-05 09:33:21 +0100
committerSam James <sam@gentoo.org>2023-01-05 09:22:41 +0000
commiteeb69624a6100911b847fb1264ed637fd0d37d04 (patch)
tree53d4da7fba265886be462f019175a1f88260ab00 /net-p2p
parentnet-p2p/biglybt: disable SWTUpdateChecker (diff)
downloadgentoo-eeb69624a6100911b847fb1264ed637fd0d37d04.tar.gz
gentoo-eeb69624a6100911b847fb1264ed637fd0d37d04.tar.bz2
gentoo-eeb69624a6100911b847fb1264ed637fd0d37d04.zip
net-p2p/biglybt: exclude AENameServiceDescriptor and set min java 11
Gentoo does not yet support versioned jar files, so we have to decide between jdk:1.8 or jdk >= 11. Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/28958 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/biglybt/biglybt-3.2.0.0-r1.ebuild (renamed from net-p2p/biglybt/biglybt-3.2.0.0.ebuild)9
1 files changed, 6 insertions, 3 deletions
diff --git a/net-p2p/biglybt/biglybt-3.2.0.0.ebuild b/net-p2p/biglybt/biglybt-3.2.0.0-r1.ebuild
index 67831c7d368b..dfe931337994 100644
--- a/net-p2p/biglybt/biglybt-3.2.0.0.ebuild
+++ b/net-p2p/biglybt/biglybt-3.2.0.0-r1.ebuild
@@ -35,8 +35,11 @@ CP_DEPEND="
# test? org.assertj:assertj-core:3.12.1 -> !!!suitable-mavenVersion-not-found!!!
# test? org.junit.jupiter:junit-jupiter:5.4.0 -> !!!groupId-not-found!!!
+# Due to removal of AENameServiceDescriptor it would fail to start under jdk:1.8
+# StartServer ERROR: unable to bind to 127.0.0.1:6880 listening for passed torrent info: \
+# sun.net.spi.nameservice.NameServiceDescriptor: Provider com.biglybt.core.util.spi.AENameServiceDescriptor not found
DEPEND="
- >=virtual/jdk-1.8:*
+ >=virtual/jdk-11:*
${CP_DEPEND}
"
@@ -62,9 +65,9 @@ S="${WORKDIR}/BiglyBT-${PV}"
src_prepare() {
default
- # This directory would break compilation with jdk >= 11
+ # AENameServiceDescriptor fails to compile with jdk >= 11
# "error: package sun.net.spi.nameservice does not exist"
- rm -r core/src/com/biglybt/core/util/spi || die
+ rm -r core/src/com/biglybt/core/util/spi/AENameServiceDescriptor.java || die
cp -r core/{src,resources} || die
find core/resources -type f -name '*.java' -exec rm -rf {} + || die "deleting classes failed"