diff options
-rw-r--r-- | net-p2p/ktorrent/Manifest | 1 | ||||
-rw-r--r-- | net-p2p/ktorrent/ktorrent-22.08.1.ebuild | 94 |
2 files changed, 95 insertions, 0 deletions
diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest index ab1e22a765ac..417f5cee332e 100644 --- a/net-p2p/ktorrent/Manifest +++ b/net-p2p/ktorrent/Manifest @@ -1,2 +1,3 @@ DIST ktorrent-22.04.3.tar.xz 2056504 BLAKE2B 8d18fd6f031a260649ca666a401ea705290e85388389512760aa3dff44ea3c91d00022a1794b9cdb38338bfcbde222ff71d3d470e0adcfc6d8eb1000eff8b818 SHA512 fdd761ec322cf4de1f58a8088baf12f1342852a41f15b74e31e9b34027bb91855fa1d3f2b965c44dbe2ea9fbb8383c89596e95a142a265056856bfafc9d23749 DIST ktorrent-22.08.0.tar.xz 2055088 BLAKE2B d3c6c8221eb7fd2a0d5d9e342c901c977fa3036ed9017184e9056029de2a72fb2d50ecca11daa25bcf72b02f0439c9e1c880a2f4589cc60902de2e7eaf5fb0a8 SHA512 3d9c7c90358d6903b96c6fc94815d8db0929e8109cd960382d42eecf91f408b2302caa75c2275ccdc57756b0ae107c653322867cc52be6656be4e50a58980d6a +DIST ktorrent-22.08.1.tar.xz 2055132 BLAKE2B b65586f2ea6c2eeb3c28b7465c64cb048df992d059013d67fdd09528fd6a62fdd4767ad5763540f14834c5a37f3cad87c65d44ffc6852f648fd8cc722e78d36e SHA512 73ac2bd10c9055ba0118d82ad9382313932d7e142e98223f365311bacd009abde2b1c00b0c34a38b5cee6233f2361dc1681a62ccacbb33c7280e5231b7d9bd63 diff --git a/net-p2p/ktorrent/ktorrent-22.08.1.ebuild b/net-p2p/ktorrent/ktorrent-22.08.1.ebuild new file mode 100644 index 000000000000..8687523d916f --- /dev/null +++ b/net-p2p/ktorrent/ktorrent-22.08.1.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.96.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 +" +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 +} |