aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-12-02 12:32:52 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-12-02 12:59:47 +0100
commit52dc4c575f2dbccfbf8e3c033515a77727ecb826 (patch)
tree83459d019a348c57176d09d8bb92b1aa59b6e5c1 /net-p2p
parentnet-misc/kio-zeroconf: 22.12.0 version bump (diff)
downloadkde-52dc4c575f2dbccfbf8e3c033515a77727ecb826.tar.gz
kde-52dc4c575f2dbccfbf8e3c033515a77727ecb826.tar.bz2
kde-52dc4c575f2dbccfbf8e3c033515a77727ecb826.zip
net-p2p/ktorrent: 22.12.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/ktorrent/Manifest1
-rw-r--r--net-p2p/ktorrent/ktorrent-22.12.0.ebuild94
2 files changed, 95 insertions, 0 deletions
diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
index e49720cfd2..f36765b78a 100644
--- a/net-p2p/ktorrent/Manifest
+++ b/net-p2p/ktorrent/Manifest
@@ -1 +1,2 @@
DIST ktorrent-22.11.90.tar.xz 2135200 BLAKE2B b18efda6972a6035157ad2a976b9bf4f38f82fe9cd891c170e621fb1f2f1b60332f0c0a7261134ebe7163d09e4e2a748e60c301cddd1f1f973e28a181a08f701 SHA512 04646d63be3ec6eb023d3025f40f9598edf59161a7042f248cf514c45daea3f021ddad319b03f8f980c3c88951c5cdafa6afcd6bc6e7999ba1aa0efc4992f0d5
+DIST ktorrent-22.12.0.tar.xz 2135300 BLAKE2B 8046874cc348a14b1891d5451aec7b7c8e57a767acc415682b66e932b2b0628d0447a6b0855992d18421bcb34c5fcb1dad19a3a17b32357812c53c6bce56b714 SHA512 e36c415a62a9e44cac9189ed000191ff557ee63bcfa0b7e587ac33e50d8d944dc1d2913b48e257113644555b01f5b8ed6e4320c89a42cc2b134034b947f5cd8f
diff --git a/net-p2p/ktorrent/ktorrent-22.12.0.ebuild b/net-p2p/ktorrent/ktorrent-22.12.0.ebuild
new file mode 100644
index 0000000000..25f8140312
--- /dev/null
+++ b/net-p2p/ktorrent/ktorrent-22.12.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="optional"
+ECM_TEST="optional"
+KFMIN=5.99.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.15.5
+VIRTUALX_REQUIRED="test"
+inherit ecm gear.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
+}