diff options
Diffstat (limited to 'net-p2p/ktorrent')
-rw-r--r-- | net-p2p/ktorrent/Manifest | 5 | ||||
-rw-r--r-- | net-p2p/ktorrent/ktorrent-5.1.0.ebuild | 103 | ||||
-rw-r--r-- | net-p2p/ktorrent/metadata.xml | 25 |
3 files changed, 133 insertions, 0 deletions
diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest new file mode 100644 index 000000000000..7585cb168081 --- /dev/null +++ b/net-p2p/ktorrent/Manifest @@ -0,0 +1,5 @@ +DIST ktorrent-5.1.0.tar.xz 2046916 SHA256 3c57882f78006dcec3c5fb243479e995cc541e51e6acded5bf98a09900c486a3 SHA512 7bfe3a04a2b0f62d68b41c946af34e9f6ead6aa4ff7818a9c0ce2e83629d311e9e9be5fb1689065ce2601c43bd576b27d8c6946b845d4cdf5fa6362d53e8dd25 WHIRLPOOL 4be8e029e468d714a890652e77a6c6d1261a1ccc3b2114aae547bd5df38b2745a5d0836b86c4e0029ab13470cab66789b870da3536d183c106232f7bd960697f +EBUILD ktorrent-5.1.0.ebuild 2974 SHA256 b5b623f7a3b0df662454da00c0dfcd92d7a854951ab92feeef66700b06ec554b SHA512 49a74cef49f1fbc893f8c95ecef2c1ac47578a4b56e29525a053d4a9fb2ac05f6295544b30dc1abba83476e543fd7cfdd059188e9776aa0e54ab2641ed4fa7f6 WHIRLPOOL dfc2506fe058212ea2350f7c0ee3eb0ada6a66ca7e97f68afecc057e8a1ca5a74b57270c052cba2e1c1e957583c76cd980f990bfe741075cd4d2edf530f83ab1 +MISC ChangeLog 5331 SHA256 e285b205ef0335e3749c9676e61a196392c6d7350edec08cf4596fd0663916ca SHA512 dc6ceafc1ae43490ae7ffb1f742034b3484d0142fa13f099273d9b1b4d48d068384436fc5abbdc74cff03992889fc7f384d21b4fb65db20aa93f9aead14c971c WHIRLPOOL cae76695dcac9f94aac746cdc8daff0cdac5cd5edcb851492ce023ea900ea07a55cd0731e744c456c53ea490c23c815e67ea04738079cf2518c44009bf9854c2 +MISC ChangeLog-2015 30096 SHA256 dfd5df7784274541e526560232059f5cd4af8131f5a54648fe9136b9acc6eadc SHA512 7d7c67b945e2d709b18fffeb0a66a6d2f5206b15678b40aaeefe0cb0ecdb9cc045eddc35b904fddea5549a4afa4cbaaed1e037d1a4ffd6bef65f66a7e6e01268 WHIRLPOOL aa29342f80898a0b32d88afed6fb786dbfc2106c7cafd9cc4963441a81d47647dec2f29a0274e395dabad120af76b95ef0a8db810a8e5a625b7a32c756df1d0f +MISC metadata.xml 1341 SHA256 c2ea214fdc45115d6e5077164a0c6f2c63d346fa31f0215c7fa18935f668c307 SHA512 dfff24b08dba8615c983c1360fe10efcb60744651d5484a8bd1a7a731697b9dd4a10126b8d66276f96a8524352b1e4ba99b28b773d292362b3f7506a45da5a80 WHIRLPOOL 8bc47933d2160b7f5b6c09fb864a3f26a4175d9230d60af8578766e29a9f46a2f8da1cc09e4f8c50661c227bb9cb5607789cba81c5f95149df777b986176d6ba diff --git a/net-p2p/ktorrent/ktorrent-5.1.0.ebuild b/net-p2p/ktorrent/ktorrent-5.1.0.ebuild new file mode 100644 index 000000000000..ee8be9828980 --- /dev/null +++ b/net-p2p/ktorrent/ktorrent-5.1.0.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="optional" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks" +HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/" +SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz" + +LICENSE="GPL-2" +KEYWORDS="amd64 x86" +IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer +magnetgenerator ++mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf" + +COMMON_DEPEND=" + $(add_frameworks_dep kcmutils) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) + $(add_frameworks_dep kdbusaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep knotifications) + $(add_frameworks_dep knotifyconfig) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kservice) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kwindowsystem) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep solid) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + =net-libs/libktorrent-2.1*:5 + infowidget? ( dev-libs/geoip ) + kross? ( + $(add_frameworks_dep karchive) + $(add_frameworks_dep kitemviews) + $(add_frameworks_dep kross) + ) + mediaplayer? ( + media-libs/phonon[qt5(+)] + >=media-libs/taglib-1.5 + ) + rss? ( + $(add_frameworks_dep kdewebkit) + $(add_kdeapps_dep syndication) + ) + search? ( + $(add_frameworks_dep kdewebkit) + $(add_qt_dep qtwebkit) + ) + shutdown? ( $(add_plasma_dep plasma-workspace) ) + stats? ( $(add_frameworks_dep kplotting) ) + upnp? ( $(add_frameworks_dep kcompletion) ) + zeroconf? ( $(add_frameworks_dep kdnssd) ) +" +DEPEND="${COMMON_DEPEND} + dev-libs/boost + sys-devel/gettext +" +RDEPEND="${COMMON_DEPEND} + ipfilter? ( + app-arch/bzip2 + app-arch/unzip + $(add_frameworks_dep ktextwidgets) + $(add_kdeapps_dep kio-extras) + ) + !net-p2p/ktorrent:4 +" + +src_configure() { + local mycmakeargs=( + -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_SCRIPTING_PLUGIN=$(usex kross) + -DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer) + -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator) + -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer) + $(cmake-utils_use_find_package rss KF5Syndication) + -DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder) + -DENABLE_SEARCH_PLUGIN=$(usex search) + -DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown) + -DENABLE_STATS_PLUGIN=$(usex stats) + -DENABLE_UPNP_PLUGIN=$(usex upnp) + -DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf) + ) +# add back when ported +# -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface) + kde5_src_configure +} diff --git a/net-p2p/ktorrent/metadata.xml b/net-p2p/ktorrent/metadata.xml new file mode 100644 index 000000000000..4bd864220a5c --- /dev/null +++ b/net-p2p/ktorrent/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> + <use> + <flag name="bwscheduler">Schedule upload and download limits over a period of a week</flag> + <flag name="downloadorder">Specify the download order of a multi-file torrent</flag> + <flag name="infowidget">Displays general information about a torrent in several tabs</flag> + <flag name="ipfilter">Filter IP addresses through a blocklist</flag> + <flag name="kross">Enable kross scripting support</flag> + <flag name="logviewer">Displays the logging output</flag> + <flag name="magnetgenerator">Generates magnet URI's</flag> + <flag name="mediaplayer">Phonon-based media player</flag> + <flag name="rss">Syndication plugin for KTorrent, supporting RSS and Atom feeds</flag> + <flag name="scanfolder">Scan folders for torrent files and load them</flag> + <flag name="search">Search for torrents</flag> + <flag name="shutdown">Shutdown when done</flag> + <flag name="stats">Shows statistics about torrents in several graphs</flag> + <flag name="upnp">Forward ports using UPnP</flag> + <flag name="zeroconf">Discover peers on the local network using the Zeroconf protocol</flag> + </use> +</pkgmetadata> |