diff options
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/ktorrent/Manifest | 1 | ||||
-rw-r--r-- | net-p2p/ktorrent/ktorrent-22.12.3.ebuild | 94 |
2 files changed, 95 insertions, 0 deletions
diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest index 8736a4424f54..41dbc90eff24 100644 --- a/net-p2p/ktorrent/Manifest +++ b/net-p2p/ktorrent/Manifest @@ -1,2 +1,3 @@ DIST ktorrent-22.08.3.tar.xz 2058188 BLAKE2B 48fcef99aa83410ce8a01efaee6cd27fbd1f9dda5d625497cb2993e52113a7ccfd0bcb6927c758fb22e11387203c7116a895a9acbdfc335ab6d52eb42b08f09d SHA512 3b717b6a825f76d8df4cb1deef231d47be84bb9b101225042681fb666fb388e9b7928fa8fc3fb230a655ccc56bc7dbc4fd49b010d7699a0c76546a61771cd392 DIST ktorrent-22.12.2.tar.xz 2143824 BLAKE2B f701a40a5446a2cd1a453a81786c4f29aa1c58cd4112804ac8e9f14f91f1221459f2ce2e4bb5082148f7509718807eba1cb903b9ec0a00f52b99ba72d22d89e2 SHA512 98b419441f1a890ff8a0de28d9e534279d2b98233b889a7f78ba2bac8b767f1cdb52d1f34d272303e2e46d47315b5cb98e13b9256880134ce63bcf63965cfb23 +DIST ktorrent-22.12.3.tar.xz 2144172 BLAKE2B 627dd303153aa0189d44bb944e6dba4ac91e2bbf9919780de671c8ce88984c9743ea76b415b2d5140e1f69a68dc94405ff7f256fe0bc4f3d6118d7e453b4ced7 SHA512 7e7c11a80758b399fc1a66e505e087ab846b837e5e8fec0f310156605423d078b92e0c3a75669c3f85fb3119781ce9350ef0e29ccb5b8fb2685c7aab127b85d9 diff --git a/net-p2p/ktorrent/ktorrent-22.12.3.ebuild b/net-p2p/ktorrent/ktorrent-22.12.3.ebuild new file mode 100644 index 000000000000..7f5728451b82 --- /dev/null +++ b/net-p2p/ktorrent/ktorrent-22.12.3.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_HANDBOOK="optional" +ECM_TEST="optional" +KFMIN=5.101.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 +} |