From e000645bea7492c9f5277722c0ada7e1ee0b4833 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 14 Aug 2024 11:06:13 +0100 Subject: gentoo auto-resync : 14:08:2024 - 11:06:13 --- net-p2p/Manifest.gz | Bin 6753 -> 6752 bytes net-p2p/biglybt/Manifest | 2 +- net-p2p/biglybt/biglybt-3.6.0.0-r1.ebuild | 109 +++++++++++++++ net-p2p/biglybt/biglybt-3.6.0.0.ebuild | 110 --------------- net-p2p/transmission/Manifest | 5 +- net-p2p/transmission/transmission-4.0.5-r1.ebuild | 158 --------------------- net-p2p/transmission/transmission-4.0.6-r4.ebuild | 163 ++++++++++++++++++++++ net-p2p/transmission/transmission-9999.ebuild | 3 +- 8 files changed, 277 insertions(+), 273 deletions(-) create mode 100644 net-p2p/biglybt/biglybt-3.6.0.0-r1.ebuild delete mode 100644 net-p2p/biglybt/biglybt-3.6.0.0.ebuild delete mode 100644 net-p2p/transmission/transmission-4.0.5-r1.ebuild create mode 100644 net-p2p/transmission/transmission-4.0.6-r4.ebuild (limited to 'net-p2p') diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz index 6212d27e05ca..0620cb9dbf25 100644 Binary files a/net-p2p/Manifest.gz and b/net-p2p/Manifest.gz differ diff --git a/net-p2p/biglybt/Manifest b/net-p2p/biglybt/Manifest index d89a59b4dde5..2cd222e87130 100644 --- a/net-p2p/biglybt/Manifest +++ b/net-p2p/biglybt/Manifest @@ -4,5 +4,5 @@ AUX biglybt-3.2.0.0-disable-shared-plugins.patch 553 BLAKE2B b4844e817c76ddb03ac AUX biglybt-3.5.0.0-Entities.javadoc.patch 1378 BLAKE2B 0984fcc6d342a3b54129b0196611a9b76d3aad4e7fa0b8cba7d43ac8bb7102a92072e9e288a979f7a92cf1ac496868be863b51e9a1fb3b3d83aad7ae25a1d5eb SHA512 c7987683558224f7752dbdc91d10147c5a4fbe4c0a7db47a2dd495e728d3f8b2aa4c7ec5712163160a60431e5d043f86e4018becc63fe61f8909dcdd7201f41d AUX biglybt-3.6.0.0-disable-PluginUpdatePlugin.patch 1374 BLAKE2B 9f2e72b24e20db59ba57df5591e3a722b114b697f6bd4c872c5a2b41eae1310d03489c03c353748cb877735a698e3ee5bced62809ab2bf30f8bf7609be9e07a2 SHA512 dd4dc70157685acdcd0e4c4e61058367489ef4081fc027c858a31af85e5b84432d2146c7a4742ff644ae6bf79a60e2c08d5a68590829c66c008a490c9cb04247 DIST biglybt-3.6.0.0.tar.gz 43972902 BLAKE2B 76995d3d5f24f054690e609d2be7bd822f6c8573b6627bcf380c3a93be86265f4ca827c2991db65ef39c9f3f79b0cd8e0aebce492571a36bf237c95fc3d6cc54 SHA512 b56beb006ab813efa2ab2aff8563a04675e677ea70fe6ef72062e2d38ec753749b36740ae87f851739cb1389948a916273cb6ffb65758e651d0701a7f6237afd -EBUILD biglybt-3.6.0.0.ebuild 3047 BLAKE2B 4800014be9667d666830afd4785a7b9fa7898ac0795a1d7d5441dd183a92e52b0707bdb64eae34c634cfa820866a8ed8f05e21a9fdf5c388921283edd969900e SHA512 631067ceb8dac926951594ad82135e1ba27f70ca899c247e01bdca14a63c64bbbeb1944e6c8a2b1de30a6c1aebad6986b1550c58134f5d56f355ff3935f7e817 +EBUILD biglybt-3.6.0.0-r1.ebuild 3021 BLAKE2B 975d224f4da9fd6210809e84154652c82d099c8215a59aa6f85cc0b4a218d987383c21dd60b1bc7d5dc8754fcb05481615894c5401cc602a1818e99a9526b62e SHA512 1ab89f50dc267a9cd57a6b4dfc16015866255a5012065c01a4a7ce1e2e23632d29b11dc943310d13f2f956eb2dd61603abf406d6b01f2e148dc66d2546cfb9fc MISC metadata.xml 904 BLAKE2B fd6313faad9aa5140a1110c0fbb53fb5b220e33cdf8c0c59d8a96ed6b424d67cb1922537543b0c7bfdf6fdced2d9273b963db5e7126b0f9d9c61404d4774ea60 SHA512 5106049f93d633214a67dfa9bc52d721911bd7c7c08f36dc8dd2cc052121929c0d95483138685877a6cbbe152be58ec8165320b06a3f1bd78f9f625af2d55c1b diff --git a/net-p2p/biglybt/biglybt-3.6.0.0-r1.ebuild b/net-p2p/biglybt/biglybt-3.6.0.0-r1.ebuild new file mode 100644 index 000000000000..afbc9f0b3c8f --- /dev/null +++ b/net-p2p/biglybt/biglybt-3.6.0.0-r1.ebuild @@ -0,0 +1,109 @@ +# 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:1 + 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" +) + +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 +} diff --git a/net-p2p/biglybt/biglybt-3.6.0.0.ebuild b/net-p2p/biglybt/biglybt-3.6.0.0.ebuild deleted file mode 100644 index 927ec5a6d03e..000000000000 --- a/net-p2p/biglybt/biglybt-3.6.0.0.ebuild +++ /dev/null @@ -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:1 - dev-java/swt:4.27 -" - -# 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" -) - -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 -# rm -r core/src/META-INF || 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 -} diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest index 665f89f8b09c..ed95a1ccf154 100644 --- a/net-p2p/transmission/Manifest +++ b/net-p2p/transmission/Manifest @@ -4,9 +4,8 @@ AUX transmission-daemon.confd.4 735 BLAKE2B bc4c06dcf4a12282d36d446537ae8d3a461a AUX transmission-daemon.initd.10 1707 BLAKE2B 57857fa0b628f0c49ebaf13544b366bf9db39c70f31556a21262556ad89657a7f13c84e19f882839e4bc10f2b8afef96aa51f833478e38f215499244ca8b388b SHA512 30d9fe7d06ca3c92ff436e9bbe84729a5b343b52965f8d1d3d43f14f5fa25881dbc9676c5d3d916cff552aad5872ed41c2930e9ce3a5f7c958dbeec0d1ab1ac4 AUX transmission-daemon.service.conf 69 BLAKE2B 6e38a28f54366850ae794896f2954c3af77afead303197c49970873fa604d6b375e71122de8d3645f9fcc8abed4f696ac257bd59ba87ebdc5cdd5839d32c0a7b SHA512 3dc02be596296fc1efbf1bc690be3953709af00c230f55db4d067ff592d87e1a465faa4067bc15d65a8a27fed2cf07d108abb2ed45fc76b47b0642ce2e182946 AUX transmission-daemon.tmpfiles 55 BLAKE2B 0f7200295e1faa22bc598e080d4c1583c5cca2e71158b94fddc448d9afa9cee2c4781aaf8da7571d30140a4ead25973c6096a46c3c91b9713a0dcde541092cd2 SHA512 e162805c816042145f32c4ef4e9f78354ca610e1680060addf63e52d8b0287427ebdb9568946b45c0b6bce0267cff6877519a1de3a66dee5a44fa859f2a7e417 -DIST transmission-4.0.5.tar.xz 9745756 BLAKE2B 60caa3bc615137b225d3ac3f25daa352c6960fcc848c91e5ea45488ae109d93b53e314e4683bd7c4ef3f9b2f364d796b6c5bb014ca647d3f44fb5c9df9f8c997 SHA512 9d3df965929ba18aa8186f89060aeacc8ead3df4a5acdc74a005dc62deadc5fa239af99c49ca2477cc5c1adfcd834481105f1dbc94e0efe210e9e6680bfec124 DIST transmission-4.0.6.tar.xz 11908296 BLAKE2B 3eb1d851322299cb1b79c799f431c09db5aee1be0372fa2877e16508ca6f9e78ea42ed75520ab29a3325e62efcfca63a83559db73c39c981c9e2eddb403ef65a SHA512 d11654bd5174a990d8021fde890389bc7c073f63f80e1335bb2c250aff60f06d0b6481fb041ae4fdccd1c43278c71ddc36f692d7dda3ed2a1aaa9bd1bbc2cb0c -EBUILD transmission-4.0.5-r1.ebuild 3830 BLAKE2B 972f36affb1d5fd1705f33d85986a1f27cdd3ab45da2fe548841ef720005991badd445249a15bf37b048b02573fdbfb9c85a5345150ecd4c723733af8fc4b3ed SHA512 becd5c02266abbe6675659284ff5e3d4cd49ddffe661e6866752e8b4fbd4c1f1d039d4723edd0dc624036216ad7a8c036e6e2461d4988949bb55cddb6c876998 EBUILD transmission-4.0.6-r2.ebuild 3892 BLAKE2B b218541a4f356209009de1b9bd739a54bb6b3ca67c2485bc380fe57a8560a28b2335d25ab8573c11b6e8be9b413140fe9d9e05a94475056b5881914627e8a55c SHA512 7bdd1cf684978fb6a93a31977d53249483ba059ec6924cd1be26b744ea397f966d6d8eb8e6a8f76ba7aa13709e9a4431584be9b0e1da4ae82d44b67dfc0861a7 -EBUILD transmission-9999.ebuild 3833 BLAKE2B 22cb14a194626d12f08a6761b7262e4e3acd68b810aba347f1ee936fa6b28dcea1aac3a273be0c619e8a7b39ae6716ba7b658444f2cf0256e449ca3c8f78b60d SHA512 042664e8261e90eb8db24b127415bcd432843e19ddae19d700763e640fb0cafd67a4fbc4e55fdf4013bdccd781ebf328e4e1d3c1ef0e6b99ff059e8b41d1abd1 +EBUILD transmission-4.0.6-r4.ebuild 3933 BLAKE2B 5eb627e88bed3dfe8ecaf32ed47ac28d62a9ece369b0551b9cbcd00c8dbb3f19d7515344b339e5f5a8d9bd1cd9ed999193db70c91f7e439fba6203e53fbb80cf SHA512 84d772ad9d9c67f8fb7bbdee9b3e18e9ade1ad6934087c16acfd733e3ca8163ff9f24e504f1b394ccb5a07186322d426f65a7f66269fb7c926d6cf1626482756 +EBUILD transmission-9999.ebuild 3864 BLAKE2B 03d505eaf4ee3e241a01be972d3793a6c4941c22dbbda02d2e10def2daa08b97a3d698984ce5f6a87c24c32e5e880ff34d756cdbd35d2b75150f00738f50b5ce SHA512 dd0065f9a490d48027c5b662023ced7650058eddc5db0a28ed2641663087d46ed9af7526b571a8541444da0af00d2499e2a03c931774dbc447db4f7f66af6719 MISC metadata.xml 621 BLAKE2B 89797292aad810a155e4f0831c089f83a2058ed5fe3bb02c6462c50c5b4e1a534b747410f52d43d4c9f9946ef95ea514c9ee6bc55ef36015c2fdf3e1a9f2e50b SHA512 67d95f7b65da7422dd3153a945f15c59a7d57fa3da222f1ac147503a07c74e81fcbd0bc294a8fdb1ac42000ae25524afd7681b770479eb6ba4bbfb26dcd25908 diff --git a/net-p2p/transmission/transmission-4.0.5-r1.ebuild b/net-p2p/transmission/transmission-4.0.5-r1.ebuild deleted file mode 100644 index 84c29cb03a00..000000000000 --- a/net-p2p/transmission/transmission-4.0.5-r1.ebuild +++ /dev/null @@ -1,158 +0,0 @@ -# Copyright 2006-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic tmpfiles systemd xdg-utils - -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/transmission/transmission" -else - MY_PV="${PV/_beta/-beta.}" - MY_P="${PN}-${MY_PV}" - S="${WORKDIR}/${MY_P}" - SRC_URI="https://github.com/transmission/transmission/releases/download/${MY_PV}/${MY_P}.tar.xz" - KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 ~riscv x86" -fi - -DESCRIPTION="A fast, easy, and free BitTorrent client" -HOMEPAGE="https://transmissionbt.com/" - -# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for the rest -# transmission in licenses/ is for mentioning OpenSSL linking exception -# MIT is in several libtransmission/ headers -LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT" -SLOT="0" -IUSE="appindicator cli debug gtk nls mbedtls qt5 qt6 systemd test" -REQUIRED_USE="?? ( qt5 qt6 )" -RESTRICT="!test? ( test )" - -ACCT_DEPEND=" - acct-group/transmission - acct-user/transmission -" -BDEPEND=" - virtual/pkgconfig - nls? ( - gtk? ( sys-devel/gettext ) - ) - qt5? ( dev-qt/linguist-tools:5 ) - qt6? ( dev-qt/qttools:6[linguist] ) -" -COMMON_DEPEND=" - >=dev-libs/libevent-2.1.0:=[threads(+)] - !mbedtls? ( dev-libs/openssl:0= ) - mbedtls? ( net-libs/mbedtls:0= ) - net-libs/libnatpmp - >=net-libs/libpsl-0.21.1 - =net-misc/curl-7.28.0[ssl] - sys-libs/zlib:= - nls? ( virtual/libintl ) - gtk? ( - >=dev-cpp/gtkmm-3.24.0:4.0 - >=dev-cpp/glibmm-2.60.0:2.68 - appindicator? ( dev-libs/libayatana-appindicator ) - ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - ) - qt6? ( - dev-qt/qtbase:6[dbus,gui,network,widgets] - dev-qt/qtsvg:6 - ) - systemd? ( >=sys-apps/systemd-209:= ) -" -DEPEND="${COMMON_DEPEND} - nls? ( virtual/libintl ) -" -RDEPEND="${COMMON_DEPEND} - ${ACCT_DEPEND} -" - -src_configure() { - local mycmakeargs=( - -DCMAKE_INSTALL_DOCDIR=share/doc/${PF} - - -DENABLE_GTK=$(usex gtk ON OFF) - -DENABLE_MAC=OFF - -DREBUILD_WEB=OFF - -DENABLE_CLI=$(usex cli ON OFF) - -DENABLE_TESTS=$(usex test ON OFF) - -DENABLE_NLS=$(usex nls ON OFF) - - -DRUN_CLANG_TIDY=OFF - - -DUSE_GTK_VERSION=4 - -DUSE_SYSTEM_EVENT2=ON - -DUSE_SYSTEM_DEFLATE=OFF - -DUSE_SYSTEM_DHT=OFF - -DUSE_SYSTEM_MINIUPNPC=ON - -DUSE_SYSTEM_NATPMP=ON - -DUSE_SYSTEM_UTP=OFF - -DUSE_SYSTEM_B64=OFF - -DUSE_SYSTEM_PSL=ON - - -DWITH_CRYPTO=$(usex mbedtls mbedtls openssl) - -DWITH_INOTIFY=ON - -DWITH_APPINDICATOR=$(usex appindicator ON OFF) - -DWITH_SYSTEMD=$(usex systemd ON OFF) - ) - - if use qt6; then - mycmakeargs+=( -DENABLE_QT=ON -DUSE_QT_VERSION=6 ) - elif use qt5; then - mycmakeargs+=( -DENABLE_QT=ON -DUSE_QT_VERSION=5 ) - else - mycmakeargs+=( -DENABLE_QT=OFF ) - fi - - # Disable assertions by default, bug 893870. - use debug || append-cppflags -DNDEBUG - - cmake_src_configure -} - -src_test() { - # https://github.com/transmission/transmission/issues/4763 - cmake_src_test -E DhtTest.usesBootstrapFile -} - -src_install() { - cmake_src_install - - newinitd "${FILESDIR}"/transmission-daemon.initd.10 transmission-daemon - newconfd "${FILESDIR}"/transmission-daemon.confd.4 transmission-daemon - - if use systemd; then - # Service sets Type=notify - systemd_dounit daemon/transmission-daemon.service - systemd_install_serviced "${FILESDIR}"/transmission-daemon.service.conf - fi - - insinto /usr/lib/sysctl.d - doins "${FILESDIR}"/60-transmission.conf - - newtmpfiles "${FILESDIR}"/transmission-daemon.tmpfiles transmission-daemon.conf -} - -pkg_postrm() { - if use gtk || use qt5 || use qt6; then - xdg_desktop_database_update - xdg_icon_cache_update - fi -} - -pkg_postinst() { - if use gtk || use qt5 || use qt6; then - xdg_desktop_database_update - xdg_icon_cache_update - fi - tmpfiles_process transmission-daemon.conf -} diff --git a/net-p2p/transmission/transmission-4.0.6-r4.ebuild b/net-p2p/transmission/transmission-4.0.6-r4.ebuild new file mode 100644 index 000000000000..df7714ef6386 --- /dev/null +++ b/net-p2p/transmission/transmission-4.0.6-r4.ebuild @@ -0,0 +1,163 @@ +# Copyright 2006-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic tmpfiles systemd xdg-utils + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/transmission/transmission" +else + MY_PV="${PV/_beta/-beta.}" + MY_P="${PN}-${MY_PV}" + S="${WORKDIR}/${MY_P}" + SRC_URI="https://github.com/transmission/transmission/releases/download/${MY_PV}/${MY_P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="A fast, easy, and free BitTorrent client" +HOMEPAGE="https://transmissionbt.com/" + +# web/LICENSE is always GPL-2 whereas COPYING allows either GPL-2 or GPL-3 for the rest +# transmission in licenses/ is for mentioning OpenSSL linking exception +# MIT is in several libtransmission/ headers +LICENSE="|| ( GPL-2 GPL-3 Transmission-OpenSSL-exception ) GPL-2 MIT" +SLOT="0" +IUSE="appindicator cli debug gtk nls mbedtls qt5 qt6 systemd test" +REQUIRED_USE="?? ( qt5 qt6 )" +RESTRICT="!test? ( test )" + +ACCT_DEPEND=" + acct-group/transmission + acct-user/transmission +" +BDEPEND=" + virtual/pkgconfig + nls? ( + gtk? ( sys-devel/gettext ) + ) + qt5? ( dev-qt/linguist-tools:5 ) + qt6? ( dev-qt/qttools:6[linguist] ) +" +COMMON_DEPEND=" + app-arch/libdeflate:=[gzip(+)] + >=dev-libs/libevent-2.1.0:=[threads(+)] + !mbedtls? ( dev-libs/openssl:0= ) + mbedtls? ( net-libs/mbedtls:0= ) + net-libs/libnatpmp + >=net-libs/libpsl-0.21.1 + >=net-libs/miniupnpc-1.7:= + >=net-misc/curl-7.28.0[ssl] + sys-libs/zlib:= + nls? ( virtual/libintl ) + gtk? ( + >=dev-cpp/gtkmm-4.11.1:4.0 + >=dev-cpp/glibmm-2.60.0:2.68 + appindicator? ( dev-libs/libayatana-appindicator ) + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + ) + qt6? ( + dev-qt/qtbase:6[dbus,gui,network,widgets] + dev-qt/qtsvg:6 + ) + systemd? ( >=sys-apps/systemd-209:= ) +" +DEPEND="${COMMON_DEPEND} + nls? ( virtual/libintl ) +" +RDEPEND="${COMMON_DEPEND} + ${ACCT_DEPEND} +" + +PATCHES=( + "${FILESDIR}/transmission-4.0.6-miniupnpc-2.2.8.patch" +) + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DOCDIR=share/doc/${PF} + + -DENABLE_GTK=$(usex gtk ON OFF) + -DENABLE_MAC=OFF + -DREBUILD_WEB=OFF + -DENABLE_CLI=$(usex cli ON OFF) + -DENABLE_TESTS=$(usex test ON OFF) + -DENABLE_NLS=$(usex nls ON OFF) + + -DRUN_CLANG_TIDY=OFF + + -DUSE_GTK_VERSION=4 + -DUSE_SYSTEM_EVENT2=ON + -DUSE_SYSTEM_DEFLATE=ON + -DUSE_SYSTEM_DHT=OFF + -DUSE_SYSTEM_MINIUPNPC=ON + -DUSE_SYSTEM_NATPMP=ON + -DUSE_SYSTEM_UTP=OFF + -DUSE_SYSTEM_B64=OFF + -DUSE_SYSTEM_PSL=ON + + -DWITH_CRYPTO=$(usex mbedtls mbedtls openssl) + -DWITH_INOTIFY=ON + -DWITH_APPINDICATOR=$(usex appindicator ON OFF) + -DWITH_SYSTEMD=$(usex systemd ON OFF) + ) + + if use qt6; then + mycmakeargs+=( -DENABLE_QT=ON -DUSE_QT_VERSION=6 ) + elif use qt5; then + mycmakeargs+=( -DENABLE_QT=ON -DUSE_QT_VERSION=5 ) + else + mycmakeargs+=( -DENABLE_QT=OFF ) + fi + + # Disable assertions by default, bug 893870. + use debug || append-cppflags -DNDEBUG + + cmake_src_configure +} + +src_test() { + # https://github.com/transmission/transmission/issues/4763 + cmake_src_test -E DhtTest.usesBootstrapFile +} + +src_install() { + cmake_src_install + + newinitd "${FILESDIR}"/transmission-daemon.initd.10 transmission-daemon + newconfd "${FILESDIR}"/transmission-daemon.confd.4 transmission-daemon + + if use systemd; then + # Service sets Type=notify + systemd_dounit daemon/transmission-daemon.service + systemd_install_serviced "${FILESDIR}"/transmission-daemon.service.conf + fi + + insinto /usr/lib/sysctl.d + doins "${FILESDIR}"/60-transmission.conf + + newtmpfiles "${FILESDIR}"/transmission-daemon.tmpfiles transmission-daemon.conf +} + +pkg_postrm() { + if use gtk || use qt5 || use qt6; then + xdg_desktop_database_update + xdg_icon_cache_update + fi +} + +pkg_postinst() { + if use gtk || use qt5 || use qt6; then + xdg_desktop_database_update + xdg_icon_cache_update + fi + tmpfiles_process transmission-daemon.conf +} diff --git a/net-p2p/transmission/transmission-9999.ebuild b/net-p2p/transmission/transmission-9999.ebuild index 84da9b553129..c129e9140880 100644 --- a/net-p2p/transmission/transmission-9999.ebuild +++ b/net-p2p/transmission/transmission-9999.ebuild @@ -41,6 +41,7 @@ BDEPEND=" qt6? ( dev-qt/qttools:6[linguist] ) " COMMON_DEPEND=" + app-arch/libdeflate:=[gzip(+)] >=dev-libs/libevent-2.1.0:=[threads(+)] !mbedtls? ( dev-libs/openssl:0= ) mbedtls? ( net-libs/mbedtls:0= ) @@ -91,7 +92,7 @@ src_configure() { -DUSE_GTK_VERSION=4 -DUSE_SYSTEM_EVENT2=ON - -DUSE_SYSTEM_DEFLATE=OFF + -DUSE_SYSTEM_DEFLATE=ON -DUSE_SYSTEM_DHT=OFF -DUSE_SYSTEM_MINIUPNPC=ON -DUSE_SYSTEM_NATPMP=ON -- cgit v1.2.3