From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/biglybt/
Date: Tue, 27 Jun 2023 07:29:05 +0000 (UTC) [thread overview]
Message-ID: <1687850714.694116b714f391e9aa2a08db9678349b57f823a0.fordfrog@gentoo> (raw)
commit: 694116b714f391e9aa2a08db9678349b57f823a0
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Jun 26 08:33:41 2023 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Jun 27 07:25:14 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=694116b7
net-p2p/biglybt: add 3.4.0.0
Closes: https://bugs.gentoo.org/908601
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/31611
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
net-p2p/biglybt/Manifest | 1 +
net-p2p/biglybt/biglybt-3.4.0.0.ebuild | 120 +++++++++++++++++++++++++++++++++
2 files changed, 121 insertions(+)
diff --git a/net-p2p/biglybt/Manifest b/net-p2p/biglybt/Manifest
index 1ca6ef7e01e8..86022cdc1c48 100644
--- a/net-p2p/biglybt/Manifest
+++ b/net-p2p/biglybt/Manifest
@@ -1 +1,2 @@
DIST biglybt-3.3.0.0.tar.gz 39452405 BLAKE2B 40a11d9b9d085457cfcfe2c62d30b77a971169f879e55ec5f75b049a0d9639d750cbc8d6a64912ab9beb6fc3c0a4065303f3f64ad48247a55e05089d8fb1d6b3 SHA512 29533b1c135018a4d487afa3b88e92674033b55ed2369c58c7721d7b0b74dcb141fc4e45a683eb9d4123879db94d3c9bbaca41e74a438562a383923eb4f889de
+DIST biglybt-3.4.0.0.tar.gz 41402302 BLAKE2B c10832a62efa517981572b91fb99854ee45743c0a2e9fd30d6548a09aeaa47fbcbdb6f6392285f5bd59eb99d4b50b98ddfce2ecf2092b205ca69901b5668a8d3 SHA512 401d0674f03d0da88d3dd3521c3c67cd3471b9858c326fc3cb908f96bb90b156eedee6dfa909606aade0862fe18cbf987d83cf48295e3ee5dc056c260708e05b
diff --git a/net-p2p/biglybt/biglybt-3.4.0.0.ebuild b/net-p2p/biglybt/biglybt-3.4.0.0.ebuild
new file mode 100644
index 000000000000..c13fc1ba8aee
--- /dev/null
+++ b/net-p2p/biglybt/biglybt-3.4.0.0.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_PROVIDES="com.biglybt:biglybt-core:3.4.0.0 com.biglybt:biglybt-ui:3.4.0.0"
+
+inherit java-pkg-2 java-pkg-simple
+
+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"
+
+# Common dependencies
+# POM: core/pom.xml
+# commons-cli:commons-cli:1.4 -> >=dev-java/commons-cli-1.5.0:1
+
+CP_DEPEND="
+ dev-java/commons-cli:1
+ dev-java/swt:4.27
+"
+
+# Compile dependencies
+# POM: core/pom.xml
+# org.eclipse.swt:org.eclipse.swt.gtk.linux.x86_64:4.9 -> !!!groupId-not-found!!!
+# POM: core/pom.xml
+# 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
+# Restricting to jdk:11 for https://bugs.gentoo.org/888859
+DEPEND="
+ virtual/jdk:11
+ ${CP_DEPEND}
+"
+
+RDEPEND="
+ >=virtual/jre-1.8:*
+ ${CP_DEPEND}
+"
+
+DOCS=(
+ CODING_GUIDELINES.md
+ CONTRIBUTING.md
+ ChangeLog.txt
+ README.md
+ TRANSLATE.md
+ issue_template.md
+)
+
+PATCHES=(
+ "${FILESDIR}/biglybt-3.2.0.0-disable-SWTUpdateChecker.patch"
+ "${FILESDIR}/biglybt-3.2.0.0-disable-DorkBoxUpdaterPlugin.patch"
+ "${FILESDIR}/biglybt-3.2.0.0-disable-shared-plugins.patch"
+)
+
+src_prepare() {
+ default
+ java-pkg-2_src_prepare
+ # AENameServiceDescriptor fails to compile with jdk >= 11
+ # https://github.com/BiglySoftware/BiglyBT/pull/2611
+ # "error: package sun.net.spi.nameservice does not exist"
+ rm -r core/src/com/biglybt/core/util/spi || die
+
+ sed \
+ -e '/enable.update/s:true:false: ' \
+ -i core/src/com/biglybt/pifimpl/update/PluginUpdatePlugin.java || 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_ENCODING="8859_1"
+ JAVA_JAR_FILENAME="biglybt-core.jar"
+ JAVA_RESOURCE_DIRS="core/resources"
+ JAVA_SRC_DIR="core/src"
+ java-pkg-simple_src_compile
+ JAVA_GENTOO_CLASSPATH_EXTRA="biglybt-core.jar"
+
+ einfo "Compiling module \"uis\""
+ JAVA_JAR_FILENAME="BiglyBT.jar"
+ JAVA_LAUNCHER_FILENAME="${PN}"
+ JAVA_MAIN_CLASS="com.biglybt.ui.Main"
+ JAVA_RESOURCE_DIRS="uis/resources"
+ JAVA_SRC_DIR="uis/src"
+ java-pkg-simple_src_compile
+
+ if use doc; then
+ einfo "Compiling javadocs"
+ JAVA_SRC_DIR=(
+ "core/src"
+ "uis/src"
+ )
+ JAVA_JAR_FILENAME="ignoreme.jar"
+ java-pkg-simple_src_compile
+ fi
+}
+
+src_install() {
+ java-pkg-simple_src_install
+
+ if use source; then
+ java-pkg_dosrc "core/src/*"
+ java-pkg_dosrc "uis/src/*"
+ fi
+ default
+}
next reply other threads:[~2023-06-27 7:29 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-27 7:29 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-26 8:22 [gentoo-commits] repo/gentoo:master commit in: net-p2p/biglybt/ Miroslav Šulc
2024-11-25 12:31 Arthur Zamarin
2024-11-08 11:41 Miroslav Šulc
2024-11-08 11:41 Miroslav Šulc
2024-10-26 7:39 Miroslav Šulc
2024-08-14 8:54 Miroslav Šulc
2024-07-20 12:50 Arthur Zamarin
2024-07-20 11:48 Arthur Zamarin
2024-06-20 10:56 Florian Schmaus
2024-06-20 10:56 Florian Schmaus
2024-01-10 8:29 Florian Schmaus
2024-01-07 13:26 Sam James
2024-01-07 12:42 Arthur Zamarin
2024-01-07 12:42 Arthur Zamarin
2023-08-18 6:14 Miroslav Šulc
2023-08-16 19:17 Sam James
2023-08-03 15:10 Sam James
2023-07-27 10:35 Sam James
2023-04-24 15:10 Jakov Smolić
2023-04-24 14:40 Jakov Smolić
2023-04-24 12:38 Jakov Smolić
2023-03-31 12:40 Arthur Zamarin
2023-01-05 9:23 Sam James
2022-12-30 17:09 Sam James
2022-12-29 10:06 Florian Schmaus
2022-12-29 10:06 Florian Schmaus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1687850714.694116b714f391e9aa2a08db9678349b57f823a0.fordfrog@gentoo \
--to=fordfrog@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox