diff options
-rw-r--r-- | net-p2p/ktorrent/Manifest | 1 | ||||
-rw-r--r-- | net-p2p/ktorrent/ktorrent-21.08.2.ebuild | 97 |
2 files changed, 98 insertions, 0 deletions
diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest index 9a2fcf33f821..788a705349c4 100644 --- a/net-p2p/ktorrent/Manifest +++ b/net-p2p/ktorrent/Manifest @@ -1,2 +1,3 @@ DIST ktorrent-21.04.3.tar.xz 2091116 BLAKE2B bd03c3730a5082c17c58d6453d035fa785b5ee6e0f253d5cd37adb5e43508315deedbdd423a2e453a116a8ab9dedfe78cef063fd11262579d910b1a0f5a36e05 SHA512 70e8baf2d04fe86be09fd4583ba20375ccbec67e5e8b7a8aac252bbe04469ccfb36c55fc5088497f8575f3bef59cff40f48f648d73071e06f676b45504aa935e DIST ktorrent-21.08.1.tar.xz 2090816 BLAKE2B 8fe635ba593b27e5408dd46a438b991f5e40545169ecd5946227448f39dba0f617bc06083b34db09714a1f5724dc449513251c9538c6845de260b872b5c50d26 SHA512 4bf09d0e6ed17ade7b331d0c05d9b0749822a39df159b543932e7f44ce816ea6a8cd8eec60512b0475c78a51770fc559ae09b23b6281454cc792933044c3b50b +DIST ktorrent-21.08.2.tar.xz 2090852 BLAKE2B a59073b873364af2b3237295ed0a4abebd21998704d7fc3118c603cc6ca181cc1db8cdc085062eadf3c2407337169d9a64a89617dfb9af19fc74263b14b7ef40 SHA512 a8121f20666192ca453468441e4f6d7e55b9e0a8b49adf61ed3b393156ef204da1ab87e08fba05c44504688b7773746530dcbb13ebed7e74fe95c1febdedb622 diff --git a/net-p2p/ktorrent/ktorrent-21.08.2.ebuild b/net-p2p/ktorrent/ktorrent-21.08.2.ebuild new file mode 100644 index 000000000000..dd5bcb4a1f50 --- /dev/null +++ b/net-p2p/ktorrent/ktorrent-21.08.2.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2021 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.84.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_SCRIPTING_PLUGIN=OFF + -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler) + -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder) + -DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget) + -DWITH_SYSTEM_GEOIP=$(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 +} |