diff options
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/ktorrent/Manifest | 1 | ||||
-rw-r--r-- | net-p2p/ktorrent/ktorrent-22.04.2.ebuild | 95 |
2 files changed, 96 insertions, 0 deletions
diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest index c3da66cf9a0f..c7d5901d1876 100644 --- a/net-p2p/ktorrent/Manifest +++ b/net-p2p/ktorrent/Manifest @@ -1,2 +1,3 @@ DIST ktorrent-21.12.3.tar.xz 2063032 BLAKE2B 095cfc32d1b16a44695ee26481031d68fa85258af7bb47d3a3ec4ed2efa053bd4ae2814732ff95c4c7607a80a628e47559e0db0bbdbef98cf83653ea2466141b SHA512 39d9d350320c1a725c13d6569e20fa43a241cae1a60ed94673ab194dd886da22e1acd2d82c70b3294dd0859f5e490af7116b4517b7109dbcec9eda8bcc4f4915 DIST ktorrent-22.04.1.tar.xz 2059300 BLAKE2B 5a4e7c53d406f40a594f51e3161393f852199305296e540c391d3b0071369464fbf16d800fe742f98a41350cf1357c8a846560879c275520dff447e7325edc2a SHA512 bea2a018383452e8871363aa4869e10ac1bcc5d99145f845c67405d0bc970e2081a0e98b8cd8fe6f23178285287c128fec677438c466b62ac11c4c4cd16fce93 +DIST ktorrent-22.04.2.tar.xz 2061996 BLAKE2B e5c9f212e38201a7e925315bd8656ba27da0fddad2d584e1e2515d77a41fed5894307b875aef37cf9da78d5f02a214358459e163fa8f793ea85cff606761cafd SHA512 8953e7bed3b24031941b1eb8bd09f0b62f6efd6b9bca228ba773f260c76f716f7535947f0fc01e285e257ed71e82a740cd976c41b4e9de76e54e75d7f7ffe076 diff --git a/net-p2p/ktorrent/ktorrent-22.04.2.ebuild b/net-p2p/ktorrent/ktorrent-22.04.2.ebuild new file mode 100644 index 000000000000..ad31fff4ac9c --- /dev/null +++ b/net-p2p/ktorrent/ktorrent-22.04.2.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.3 +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 +} |