From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 22D04158042 for ; Sun, 10 Nov 2024 09:31:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B807E093D; Sun, 10 Nov 2024 09:31:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4E88BE093D for ; Sun, 10 Nov 2024 09:31:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6808233BEFF for ; Sun, 10 Nov 2024 09:31:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E0761E65 for ; Sun, 10 Nov 2024 09:31:00 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1731231045.1eb56662ef43039d3c207e5483e5165972c66ebd.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libktorrent/libktorrent-24.08.3-r1.ebuild net-libs/libktorrent/metadata.xml X-VCS-Directories: net-libs/libktorrent/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 1eb56662ef43039d3c207e5483e5165972c66ebd X-VCS-Branch: master Date: Sun, 10 Nov 2024 09:31:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 98577d42-f8f0-421b-8823-bd56709bc854 X-Archives-Hash: 7e525fc8cd75438e0e0118ab1ea8b50f commit: 1eb56662ef43039d3c207e5483e5165972c66ebd Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Nov 9 22:23:25 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Nov 10 09:30:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eb56662 net-libs/libktorrent: Add IUSE xfs Used in public header, so part of RDEPEND. Upstream commit fb59986a15ca93346a1e2f4cbb0c90804dc0eb40 Closes: https://bugs.gentoo.org/938576 Signed-off-by: Andreas Sturmlechner gentoo.org> net-libs/libktorrent/libktorrent-24.08.3-r1.ebuild | 66 ++++++++++++++++++++++ net-libs/libktorrent/metadata.xml | 3 + 2 files changed, 69 insertions(+) diff --git a/net-libs/libktorrent/libktorrent-24.08.3-r1.ebuild b/net-libs/libktorrent/libktorrent-24.08.3-r1.ebuild new file mode 100644 index 000000000000..931e4940ccff --- /dev/null +++ b/net-libs/libktorrent/libktorrent-24.08.3-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +KDE_ORG_CATEGORY="network" +KFMIN=6.5.0 +QTMIN=6.7.2 +inherit ecm gear.kde.org + +DESCRIPTION="BitTorrent library based on KDE Frameworks" +HOMEPAGE="https://apps.kde.org/ktorrent/ https://userbase.kde.org/KTorrent" + +LICENSE="GPL-2+" +SLOT="6" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="xfs" + +COMMON_DEPEND=" + >=app-crypt/qca-2.3.7:2[qt6] + >=dev-libs/gmp-6.0.0a:0= + dev-libs/libgcrypt:0= + >=dev-qt/qtbase-${QTMIN}:6[network,xml] + >=dev-qt/qt5compat-${QTMIN}:6 + >=kde-frameworks/karchive-${KFMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/kcrash-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 + >=kde-frameworks/solid-${KFMIN}:6 + xfs? ( sys-fs/xfsprogs ) +" +DEPEND="${COMMON_DEPEND} + >=dev-libs/boost-1.71 +" +RDEPEND="${COMMON_DEPEND} + !dev-libs/botan[gmp(-)] +" +BDEPEND="sys-devel/gettext" + +src_prepare() { + ecm_src_prepare + + # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is breaking this + sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \ + CMakeLists.txt || die + sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \ + KTorrent6Config.cmake.in || die +} + +src_configure() { + local mycmakeargs=( + -DWITH_XFS=$(usex xfs) + ) + ecm_src_configure +} + +src_test() { + # failing network tests + local myctestargs=( + -E "(fin|packetloss|send|superseedtest|transmit|utppolltest)" + ) + ecm_src_test +} diff --git a/net-libs/libktorrent/metadata.xml b/net-libs/libktorrent/metadata.xml index d925f2439758..5e3a5f1a91d3 100644 --- a/net-libs/libktorrent/metadata.xml +++ b/net-libs/libktorrent/metadata.xml @@ -8,4 +8,7 @@ https://bugs.kde.org/ + + Enable XFS specific disk preallocation support via sys-fs/xfsprogs +