1 |
commit: 4f83b3f69496d974a028f7637fab8c078d4d948d |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 31 20:42:44 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 31 20:53:51 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f83b3f6 |
7 |
|
8 |
net-p2p/ktorrent: 5.1.0 version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
11 |
|
12 |
net-p2p/ktorrent/Manifest | 1 + |
13 |
net-p2p/ktorrent/ktorrent-5.1.0.ebuild | 102 +++++++++++++++++++++++++++++++++ |
14 |
net-p2p/ktorrent/metadata.xml | 6 ++ |
15 |
3 files changed, 109 insertions(+) |
16 |
|
17 |
diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest |
18 |
index e6d6c2e6b41..238b67f7c13 100644 |
19 |
--- a/net-p2p/ktorrent/Manifest |
20 |
+++ b/net-p2p/ktorrent/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST ktorrent-5.0.1.tar.xz 2152908 SHA256 d00feeca5dcc6a76a039d67dbe91a2d5a5e1da0f5e0bbd8da2c156d9c44879e5 SHA512 6ceced3d578e58f480ada5b71a66be244c75de726389d39b40c02c5a9445c6bb0b70573fac810abd1659c3172bff79c0c3e5cbfe1a84e0d50836b52291597bc1 WHIRLPOOL 11d59e1762b12e0c740337b05e9e678f71df1a5d43cffee6dcb1a3159afe1da00c118b62b84fdb80dbd6d98f3998250882406e8e61ad181b67b7043d350c8682 |
23 |
+DIST ktorrent-5.1.0.tar.xz 2046916 SHA256 3c57882f78006dcec3c5fb243479e995cc541e51e6acded5bf98a09900c486a3 SHA512 7bfe3a04a2b0f62d68b41c946af34e9f6ead6aa4ff7818a9c0ce2e83629d311e9e9be5fb1689065ce2601c43bd576b27d8c6946b845d4cdf5fa6362d53e8dd25 WHIRLPOOL 4be8e029e468d714a890652e77a6c6d1261a1ccc3b2114aae547bd5df38b2745a5d0836b86c4e0029ab13470cab66789b870da3536d183c106232f7bd960697f |
24 |
|
25 |
diff --git a/net-p2p/ktorrent/ktorrent-5.1.0.ebuild b/net-p2p/ktorrent/ktorrent-5.1.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..5f8e82acbce |
28 |
--- /dev/null |
29 |
+++ b/net-p2p/ktorrent/ktorrent-5.1.0.ebuild |
30 |
@@ -0,0 +1,102 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+KDE_HANDBOOK="forceoptional" |
37 |
+KDE_TEST="optional" |
38 |
+inherit kde5 |
39 |
+ |
40 |
+DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks" |
41 |
+HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/" |
42 |
+SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+KEYWORDS="~amd64 ~x86" |
46 |
+IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer +magnetgenerator |
47 |
++mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf" |
48 |
+ |
49 |
+COMMON_DEPEND=" |
50 |
+ $(add_frameworks_dep kcmutils) |
51 |
+ $(add_frameworks_dep kconfig) |
52 |
+ $(add_frameworks_dep kconfigwidgets) |
53 |
+ $(add_frameworks_dep kcoreaddons) |
54 |
+ $(add_frameworks_dep kcrash) |
55 |
+ $(add_frameworks_dep kdbusaddons) |
56 |
+ $(add_frameworks_dep ki18n) |
57 |
+ $(add_frameworks_dep kiconthemes) |
58 |
+ $(add_frameworks_dep kio) |
59 |
+ $(add_frameworks_dep knotifications) |
60 |
+ $(add_frameworks_dep knotifyconfig) |
61 |
+ $(add_frameworks_dep kparts) |
62 |
+ $(add_frameworks_dep kservice) |
63 |
+ $(add_frameworks_dep kwidgetsaddons) |
64 |
+ $(add_frameworks_dep kwindowsystem) |
65 |
+ $(add_frameworks_dep kxmlgui) |
66 |
+ $(add_frameworks_dep solid) |
67 |
+ $(add_qt_dep qtdbus) |
68 |
+ $(add_qt_dep qtgui) |
69 |
+ $(add_qt_dep qtnetwork) |
70 |
+ $(add_qt_dep qtwidgets) |
71 |
+ $(add_qt_dep qtxml) |
72 |
+ =net-libs/libktorrent-2.1*:5 |
73 |
+ infowidget? ( dev-libs/geoip ) |
74 |
+ kross? ( |
75 |
+ $(add_frameworks_dep karchive) |
76 |
+ $(add_frameworks_dep kitemviews) |
77 |
+ $(add_frameworks_dep kross) |
78 |
+ ) |
79 |
+ mediaplayer? ( |
80 |
+ media-libs/phonon[qt5(+)] |
81 |
+ >=media-libs/taglib-1.5 |
82 |
+ ) |
83 |
+ rss? ( |
84 |
+ $(add_frameworks_dep kdewebkit) |
85 |
+ $(add_kdeapps_dep syndication) |
86 |
+ ) |
87 |
+ search? ( |
88 |
+ $(add_frameworks_dep kdewebkit) |
89 |
+ $(add_qt_dep qtwebkit) |
90 |
+ ) |
91 |
+ shutdown? ( $(add_plasma_dep plasma-workspace) ) |
92 |
+ stats? ( $(add_frameworks_dep kplotting) ) |
93 |
+ upnp? ( $(add_frameworks_dep kcompletion) ) |
94 |
+ zeroconf? ( $(add_frameworks_dep kdnssd) ) |
95 |
+" |
96 |
+DEPEND="${COMMON_DEPEND} |
97 |
+ dev-libs/boost |
98 |
+ sys-devel/gettext |
99 |
+" |
100 |
+RDEPEND="${COMMON_DEPEND} |
101 |
+ ipfilter? ( |
102 |
+ app-arch/bzip2 |
103 |
+ app-arch/unzip |
104 |
+ $(add_frameworks_dep ktextwidgets) |
105 |
+ $(add_kdeapps_dep kio-extras) |
106 |
+ ) |
107 |
+ !net-p2p/ktorrent:4 |
108 |
+" |
109 |
+ |
110 |
+src_configure() { |
111 |
+ local mycmakeargs=( |
112 |
+ -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler) |
113 |
+ -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder) |
114 |
+ -DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget) |
115 |
+ -DWITH_SYSTEM_GEOIP=$(usex infowidget) |
116 |
+ -DENABLE_IPFILTER_PLUGIN=$(usex ipfilter) |
117 |
+ -DENABLE_SCRIPTING_PLUGIN=$(usex kross) |
118 |
+ -DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer) |
119 |
+ -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator) |
120 |
+ -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer) |
121 |
+ $(cmake-utils_use_find_package rss KF5Syndication) |
122 |
+ -DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder) |
123 |
+ -DENABLE_SEARCH_PLUGIN=$(usex search) |
124 |
+ -DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown) |
125 |
+ -DENABLE_STATS_PLUGIN=$(usex stats) |
126 |
+ -DENABLE_UPNP_PLUGIN=$(usex upnp) |
127 |
+ -DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf) |
128 |
+ ) |
129 |
+# add back when ported |
130 |
+# -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface) |
131 |
+ kde5_src_configure |
132 |
+} |
133 |
|
134 |
diff --git a/net-p2p/ktorrent/metadata.xml b/net-p2p/ktorrent/metadata.xml |
135 |
index b9c2ba1ec08..4bd864220a5 100644 |
136 |
--- a/net-p2p/ktorrent/metadata.xml |
137 |
+++ b/net-p2p/ktorrent/metadata.xml |
138 |
@@ -9,11 +9,17 @@ |
139 |
<flag name="bwscheduler">Schedule upload and download limits over a period of a week</flag> |
140 |
<flag name="downloadorder">Specify the download order of a multi-file torrent</flag> |
141 |
<flag name="infowidget">Displays general information about a torrent in several tabs</flag> |
142 |
+ <flag name="ipfilter">Filter IP addresses through a blocklist</flag> |
143 |
+ <flag name="kross">Enable kross scripting support</flag> |
144 |
<flag name="logviewer">Displays the logging output</flag> |
145 |
<flag name="magnetgenerator">Generates magnet URI's</flag> |
146 |
<flag name="mediaplayer">Phonon-based media player</flag> |
147 |
+ <flag name="rss">Syndication plugin for KTorrent, supporting RSS and Atom feeds</flag> |
148 |
+ <flag name="scanfolder">Scan folders for torrent files and load them</flag> |
149 |
+ <flag name="search">Search for torrents</flag> |
150 |
<flag name="shutdown">Shutdown when done</flag> |
151 |
<flag name="stats">Shows statistics about torrents in several graphs</flag> |
152 |
+ <flag name="upnp">Forward ports using UPnP</flag> |
153 |
<flag name="zeroconf">Discover peers on the local network using the Zeroconf protocol</flag> |
154 |
</use> |
155 |
</pkgmetadata> |