public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: net-libs/libktorrent/
Date: Sat,  9 Nov 2024 22:32:32 +0000 (UTC)	[thread overview]
Message-ID: <1731191520.8d3305a525177701f99364489694d5374337079e.asturm@gentoo> (raw)

commit:     8d3305a525177701f99364489694d5374337079e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  9 22:23:25 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 22:32:00 2024 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=8d3305a5

net-libs/libktorrent: Add IUSE xfs

Used in public header, so part of RDEPEND.

Upstream commit fb59986a15ca93346a1e2f4cbb0c90804dc0eb40

Bug: https://bugs.gentoo.org/938576
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-libs/libktorrent/libktorrent-9999.ebuild | 11 +++++++++--
 net-libs/libktorrent/metadata.xml            |  3 +++
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/net-libs/libktorrent/libktorrent-9999.ebuild b/net-libs/libktorrent/libktorrent-9999.ebuild
index 7ccea8acef..f9f2c7c5df 100644
--- a/net-libs/libktorrent/libktorrent-9999.ebuild
+++ b/net-libs/libktorrent/libktorrent-9999.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="https://apps.kde.org/ktorrent/ https://userbase.kde.org/KTorrent"
 LICENSE="GPL-2+"
 SLOT="6"
 KEYWORDS=""
-IUSE=""
+IUSE="xfs"
 
 COMMON_DEPEND="
 	>=app-crypt/qca-2.3.7:2[qt6(+)]
@@ -30,6 +30,7 @@ COMMON_DEPEND="
 	>=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
@@ -49,11 +50,17 @@ src_prepare() {
 		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 d925f24397..5e3a5f1a91 100644
--- a/net-libs/libktorrent/metadata.xml
+++ b/net-libs/libktorrent/metadata.xml
@@ -8,4 +8,7 @@
 	<upstream>
 		<bugs-to>https://bugs.kde.org/</bugs-to>
 	</upstream>
+	<use>
+		<flag name="xfs">Enable XFS specific disk preallocation support via <pkg>sys-fs/xfsprogs</pkg></flag>
+	</use>
 </pkgmetadata>


             reply	other threads:[~2024-11-09 22:32 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-09 22:32 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-15 14:58 [gentoo-commits] proj/kde:master commit in: net-libs/libktorrent/ Sam James
2024-02-27 22:28 Sam James
2024-02-25 21:04 Sam James
2023-12-09 10:03 Andreas Sturmlechner
2022-10-11 15:18 Andreas Sturmlechner
2022-09-08 12:33 Andreas Sturmlechner
2020-05-23 22:00 Andreas Sturmlechner
2019-12-27 21:47 Andreas Sturmlechner
2019-07-10 10:30 Andreas Sturmlechner
2018-02-22 13:17 Andreas Sturmlechner
2017-09-29  2:56 Michael Palimaka
2017-08-31 21:01 Andreas Sturmlechner
2017-08-21 12:24 Andreas Sturmlechner
2017-08-19 20:41 Andreas Sturmlechner
2017-08-08 23:49 Andreas Sturmlechner
2017-06-27 17:22 Andreas Sturmlechner
2017-06-04 18:47 Andreas Sturmlechner
2016-11-04 16:28 Michael Palimaka
2016-08-21 20:21 Michael Palimaka
2016-04-20 10:34 Michael Palimaka
2016-04-20 10:09 Michael Palimaka
2016-04-20 10:09 Michael Palimaka
2016-04-16 13:42 Johannes Huber
2016-03-08 14:41 Michael Palimaka
2016-03-08 14:26 Michael Palimaka
2016-02-23 14:15 Michael Palimaka
2015-02-17 13:44 Michael Palimaka
2015-01-29  1:41 Johannes Huber
2013-03-19 12:18 Michael Palimaka
2013-01-29 12:47 Michael Palimaka
2012-12-10 16:07 Michael Palimaka
2012-11-11 16:18 Michael Palimaka
2012-08-22 20:12 Johannes Huber
2012-06-27  9:39 Michael Palimaka
2012-05-18 17:23 Johannes Huber
2012-05-18 14:12 Paulos Ratis
2012-03-19 17:21 Johannes Huber
2012-03-16  9:23 Johannes Huber
2011-02-18 20:31 Andreas K. Huettel

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=1731191520.8d3305a525177701f99364489694d5374337079e.asturm@gentoo \
    --to=asturm@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