net-p2p/biglybt: drop 3.6.0.0-r3

Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: 3fc6c55043
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Volkmar W. Pogatzki
2024-11-25 14:05:25 +01:00
committed by Miroslav Šulc
parent 77c4b6a227
commit 927cefc546
2 changed files with 0 additions and 111 deletions

View File

@@ -1,2 +1 @@
DIST biglybt-3.6.0.0.tar.gz 43972902 BLAKE2B 76995d3d5f24f054690e609d2be7bd822f6c8573b6627bcf380c3a93be86265f4ca827c2991db65ef39c9f3f79b0cd8e0aebce492571a36bf237c95fc3d6cc54 SHA512 b56beb006ab813efa2ab2aff8563a04675e677ea70fe6ef72062e2d38ec753749b36740ae87f851739cb1389948a916273cb6ffb65758e651d0701a7f6237afd
DIST biglybt-3.7.0.0.tar.gz 44021778 BLAKE2B 9ce54062b298d2e47f9fcc88a3fa8da935c7d3c4ad24f28cf2975300b78140b547e3e43c377cae50fd1276d49d53a43bc77e36957133dc6fe1fa7e301ebe80fe SHA512 815ce2f2b327de266650d9650dcbc539247dca2a8bce727ca0a4fc6eb7dfbcee770ffce04dd3b96aef458df1ee20ce39229f6a3d409725a532d081c82d4504bd

View File

@@ -1,110 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# No tests, #839681
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 optfeature xdg
DESCRIPTION="Feature-filled Bittorrent client based on the Azureus open source project"
HOMEPAGE="https://www.biglybt.com"
SRC_URI="https://github.com/BiglySoftware/BiglyBT/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/BiglyBT-${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm64 ppc64"
CP_DEPEND="
dev-java/commons-cli:0
dev-java/swt:4.27[cairo]
"
# 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
# Restricting to jdk:11 for https://bugs.gentoo.org/888859
DEPEND="${CP_DEPEND}
>=virtual/jdk-11:*"
RDEPEND="${CP_DEPEND}
>=virtual/jre-1.8:*"
DOCS=(
CODING_GUIDELINES.md
CONTRIBUTING.md
ChangeLog.txt
README.md
TRANSLATE.md
)
JAVADOC_SRC_DIRS=( {core,uis}/src )
PATCHES=(
"${FILESDIR}/biglybt-3.2.0.0-disable-SWTUpdateChecker.patch"
"${FILESDIR}/biglybt-3.2.0.0-disable-shared-plugins.patch"
"${FILESDIR}/biglybt-3.5.0.0-Entities.javadoc.patch"
"${FILESDIR}/biglybt-3.6.0.0-disable-PluginUpdatePlugin.patch"
"${FILESDIR}/biglybt-3.6.0.0-fix-ambiguous.patch"
)
src_prepare() {
default #780585
java-pkg-2_src_prepare
# AENameServiceDescriptor fails to compile with jdk >= 11
# "error: package sun.net.spi.nameservice does not exist"
# https://github.com/BiglySoftware/BiglyBT/pull/2611
rm -r core/src/com/biglybt/core/util/spi || die
cp -r core/{src,resources} || die
find core/resources -type f -name '*.java' -exec rm -rf {} + || die "deleting classes failed"
cp -r uis/{src,resources} || die
find uis/resources -type f -name '*.java' -exec rm -rf {} + || die "deleting classes failed"
}
src_compile() {
einfo "Compiling module \"core\""
JAVA_JAR_FILENAME="${PN}-core.jar"
JAVA_RESOURCE_DIRS="core/resources"
JAVA_SRC_DIR="core/src"
java-pkg-simple_src_compile
JAVA_GENTOO_CLASSPATH_EXTRA="${PN}-core.jar"
einfo "Compiling module \"uis\""
JAVA_JAR_FILENAME="BiglyBT.jar"
JAVA_LAUNCHER_FILENAME="${PN}"
JAVA_MAIN_CLASS="com.${PN}.ui.Main"
JAVA_RESOURCE_DIRS="uis/resources"
JAVA_SRC_DIR="uis/src"
java-pkg-simple_src_compile
if use doc; then
einfo "Creating javadoc"
JAVADOC_CLASSPATH="${JAVA_GENTOO_CLASSPATH}"
ejavadoc
fi
}
src_install() {
java-pkg-simple_src_install
make_desktop_entry "${PN}" BiglyBT "${PN}" "Network;FileTransfer"
if use source; then
java-pkg_dosrc "core/src/*"
java-pkg_dosrc "uis/src/*"
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
}