summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-04-21 18:46:16 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-04-21 19:10:54 +0200
commita295ce5835739cda13806e30771264d38ac6f154 (patch)
treeeeed018e607f615648078d792a45233419e13cc8 /net-p2p/ktorrent
parentnet-libs/libktorrent: 22.04.0 version bump (diff)
downloadgentoo-a295ce5835739cda13806e30771264d38ac6f154.tar.gz
gentoo-a295ce5835739cda13806e30771264d38ac6f154.tar.bz2
gentoo-a295ce5835739cda13806e30771264d38ac6f154.zip
net-p2p/ktorrent: 22.04.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-p2p/ktorrent')
-rw-r--r--net-p2p/ktorrent/Manifest1
-rw-r--r--net-p2p/ktorrent/ktorrent-22.04.0.ebuild95
2 files changed, 96 insertions, 0 deletions
diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
index 30db3376dafc..20bef06143c0 100644
--- a/net-p2p/ktorrent/Manifest
+++ b/net-p2p/ktorrent/Manifest
@@ -1,2 +1,3 @@
DIST ktorrent-21.08.3.tar.xz 2091880 BLAKE2B aa0c28313d86fec1e472582dbf68023a71cee5c9fa301e243c3e4bc2e25987fcee28b34f21264b253eb1eaac955e4d2f994e5936f75bb6182fdb648617382ff0 SHA512 10ebe41f9ef85d1b6ad927e197193fff5d776947e4a8c4a5d3498d16304372b4ca8afd993a94d783934b89139a375ab86dc4893b1c7eaae2b4f70f02fc36ab5c
DIST ktorrent-21.12.3.tar.xz 2063032 BLAKE2B 095cfc32d1b16a44695ee26481031d68fa85258af7bb47d3a3ec4ed2efa053bd4ae2814732ff95c4c7607a80a628e47559e0db0bbdbef98cf83653ea2466141b SHA512 39d9d350320c1a725c13d6569e20fa43a241cae1a60ed94673ab194dd886da22e1acd2d82c70b3294dd0859f5e490af7116b4517b7109dbcec9eda8bcc4f4915
+DIST ktorrent-22.04.0.tar.xz 2056992 BLAKE2B a286acb2c351d2dc0fadaca91a6fe651af1c1e79f67fd474285098c837e58783d52b66c7749a6b9946daa4a5fd6ef7df241ed3bc6c6c73e4b76f571088ddbf09 SHA512 12fb6969c7527dfbf01876ccfa1503378ebee07e95effddf6776adeb7cc86ae232b6869b097b5d66036856c4023497a7801c67a3f0656ebb2cc3eaad9380b3d7
diff --git a/net-p2p/ktorrent/ktorrent-22.04.0.ebuild b/net-p2p/ktorrent/ktorrent-22.04.0.ebuild
new file mode 100644
index 000000000000..33022e7b2864
--- /dev/null
+++ b/net-p2p/ktorrent/ktorrent-22.04.0.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="optional"
+ECM_TEST="optional"
+KDE_GEAR="true"
+KFMIN=5.92.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.15.2
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
+HOMEPAGE="https://apps.kde.org/ktorrent/"
+
+LICENSE="GPL-2"
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +logviewer +magnetgenerator
++mediaplayer rss +scanfolder +shutdown +stats +upnp +webengine +zeroconf"
+
+COMMON_DEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ >=kde-frameworks/kcmutils-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/knotifyconfig-${KFMIN}:5
+ >=kde-frameworks/kparts-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/solid-${KFMIN}:5
+ >=net-libs/libktorrent-${PVCUT}:5
+ infowidget? ( dev-libs/geoip )
+ mediaplayer? (
+ >=media-libs/phonon-4.11.0
+ >=media-libs/taglib-1.5
+ )
+ rss? (
+ >=dev-qt/qtwebengine-${QTMIN}:5
+ >=kde-frameworks/syndication-${KFMIN}:5
+ )
+ shutdown? ( kde-plasma/libkworkspace:5 )
+ stats? ( >=kde-frameworks/kplotting-${KFMIN}:5 )
+ upnp? ( >=kde-frameworks/kcompletion-${KFMIN}:5 )
+ webengine? ( >=dev-qt/qtwebengine-${QTMIN}:5 )
+ zeroconf? ( >=kde-frameworks/kdnssd-${KFMIN}:5 )
+"
+DEPEND="${COMMON_DEPEND}
+ >=dev-libs/boost-1.71
+"
+RDEPEND="${COMMON_DEPEND}
+ ipfilter? (
+ app-arch/bzip2
+ app-arch/unzip
+ kde-apps/kio-extras:5
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5
+ )
+"
+BDEPEND="sys-devel/gettext"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)
+ -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder)
+ -DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget)
+ -DENABLE_IPFILTER_PLUGIN=$(usex ipfilter)
+ -DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer)
+ -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator)
+ -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer)
+ $(cmake_use_find_package rss KF5Syndication)
+ -DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder)
+ -DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown)
+ -DENABLE_STATS_PLUGIN=$(usex stats)
+ -DENABLE_UPNP_PLUGIN=$(usex upnp)
+ -DENABLE_SEARCH_PLUGIN=$(usex webengine)
+ -DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf)
+ )
+# add back when ported
+# -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface)
+ ecm_src_configure
+}