diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-09-15 21:20:56 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-09-15 22:06:47 +0200 |
commit | 9505d8612c2b4e400e333b49889ba16f850498e9 (patch) | |
tree | 9d34e2b7bf481e38cd8710243f577abda5c05caf /net-p2p/ktorrent/files | |
parent | net-news/alligator: 23.08.1 version bump (diff) | |
download | gentoo-9505d8612c2b4e400e333b49889ba16f850498e9.tar.gz gentoo-9505d8612c2b4e400e333b49889ba16f850498e9.tar.bz2 gentoo-9505d8612c2b4e400e333b49889ba16f850498e9.zip |
net-p2p/ktorrent: 23.08.1 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-p2p/ktorrent/files')
-rw-r--r-- | net-p2p/ktorrent/files/ktorrent-23.08.1-cmake.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/net-p2p/ktorrent/files/ktorrent-23.08.1-cmake.patch b/net-p2p/ktorrent/files/ktorrent-23.08.1-cmake.patch new file mode 100644 index 000000000000..5505092ccac1 --- /dev/null +++ b/net-p2p/ktorrent/files/ktorrent-23.08.1-cmake.patch @@ -0,0 +1,50 @@ +From 5d1dddb5322e19baf464f7aa82540eaf38bc88d0 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <asturm@gentoo.org> +Date: Thu, 14 Sep 2023 10:18:36 +0200 +Subject: [PATCH] Make KF5Archive required for ipfilter plugin + +Cleanup HAVE_KF5Archive var - it was unused since 023def08d07a4a3e346eef34e6142bf574435f6c, +but we require libktorrent which has a hard requirement for KF5Archive anyway. + +Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> +--- + CMakeLists.txt | 10 ---------- + plugins/ipfilter/CMakeLists.txt | 2 ++ + 2 files changed, 2 insertions(+), 10 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 07ad54d6..9010d632 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -83,16 +83,6 @@ if(KF5TextWidgets_FOUND) + set(HAVE_KF5TextWidgets 1) + endif() + +-find_package(KF5Archive ${KF5_MIN_VERSION}) +-set_package_properties(KF5Archive +- PROPERTIES +- TYPE OPTIONAL +- PURPOSE "Required for KTorrent's scripting plugin" +-) +-if(KF5Archive_FOUND) +- set(HAVE_KF5Archive 1) +-endif() +- + find_package(KF5ItemViews ${KF5_MIN_VERSION}) + set_package_properties(KF5ItemViews + PROPERTIES +diff --git a/plugins/ipfilter/CMakeLists.txt b/plugins/ipfilter/CMakeLists.txt +index f59f251c..2a809a62 100644 +--- a/plugins/ipfilter/CMakeLists.txt ++++ b/plugins/ipfilter/CMakeLists.txt +@@ -1,5 +1,7 @@ + ktorrent_add_plugin(ktorrent_ipfilter) + ++find_package(KF5Archive ${KF5_MIN_VERSION} REQUIRED) ++ + target_sources(ktorrent_ipfilter PRIVATE + ipblocklist.cpp + ipblockingprefpage.cpp +-- +2.42.0 + |