Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/ktorrent/
Date: Sun, 01 Sep 2019 20:43:25
Message-Id: 1567370590.3d9957653a27c4b076d446eb800123ded9cccbc2.asturm@gentoo
1 commit: 3d9957653a27c4b076d446eb800123ded9cccbc2
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 1 20:14:38 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 1 20:43:10 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d995765
7
8 net-p2p/ktorrent: 5.1.2 version bump
9
10 Package-Manager: Portage-2.3.74, Repoman-2.3.17
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 net-p2p/ktorrent/Manifest | 1 +
14 net-p2p/ktorrent/ktorrent-5.1.2.ebuild | 101 +++++++++++++++++++++++++++++++++
15 2 files changed, 102 insertions(+)
16
17 diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
18 index 8b3e8dde4db..d1df2f1290e 100644
19 --- a/net-p2p/ktorrent/Manifest
20 +++ b/net-p2p/ktorrent/Manifest
21 @@ -1 +1,2 @@
22 DIST ktorrent-5.1.1.tar.xz 2049392 BLAKE2B 09ad841e1b6d7f332b19e2a660130b1f2b998cd6839614800cde7c99c8ec7f119f2adbdc3d9e06c8525e2dde534d73dab521c7df1d01b2fd0eb6b11fbb868d8f SHA512 bbe744853018380e30efc6ef95916a9b6f0ebec812d70d7970e5e7183d860d147b0693dd0107b146a5987aa27f30cd335fad73c8967839d53eee1c5b63a53c06
23 +DIST ktorrent-5.1.2.tar.xz 2048604 BLAKE2B 761df1e0aab5c4457311ae821a47ebf7b5b82b2839b4bf238491231caa213370cc649a1c0cafd332b42bbb84230f4a313e5172db722ff3c7af81c0daba450a98 SHA512 b62d05650216721299dc9db23da1a2d6ae5d3b77583ad4bd99ac032d7b135cce567feff3b66d27ac001d77e30517112e4e8c8bf8e83c1106a79509ec45498621
24
25 diff --git a/net-p2p/ktorrent/ktorrent-5.1.2.ebuild b/net-p2p/ktorrent/ktorrent-5.1.2.ebuild
26 new file mode 100644
27 index 00000000000..733351c8b19
28 --- /dev/null
29 +++ b/net-p2p/ktorrent/ktorrent-5.1.2.ebuild
30 @@ -0,0 +1,101 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +KDE_HANDBOOK="optional"
37 +KDE_TEST="optional"
38 +VIRTUALX_REQUIRED="test"
39 +inherit kde5
40 +
41 +DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
42 +HOMEPAGE="https://kde.org/applications/internet/ktorrent/"
43 +[[ ${KDE_BUILD_TYPE} = release ]] && SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz"
44 +
45 +LICENSE="GPL-2"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer +magnetgenerator
48 ++mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
49 +
50 +BDEPEND="sys-devel/gettext"
51 +COMMON_DEPEND="
52 + $(add_frameworks_dep kcmutils)
53 + $(add_frameworks_dep kconfig)
54 + $(add_frameworks_dep kconfigwidgets)
55 + $(add_frameworks_dep kcoreaddons)
56 + $(add_frameworks_dep kcrash)
57 + $(add_frameworks_dep kdbusaddons)
58 + $(add_frameworks_dep ki18n)
59 + $(add_frameworks_dep kiconthemes)
60 + $(add_frameworks_dep kio)
61 + $(add_frameworks_dep knotifications)
62 + $(add_frameworks_dep knotifyconfig)
63 + $(add_frameworks_dep kparts)
64 + $(add_frameworks_dep kwidgetsaddons)
65 + $(add_frameworks_dep kwindowsystem)
66 + $(add_frameworks_dep kxmlgui)
67 + $(add_frameworks_dep solid)
68 + $(add_qt_dep qtdbus)
69 + $(add_qt_dep qtgui)
70 + $(add_qt_dep qtnetwork)
71 + $(add_qt_dep qtwidgets)
72 + $(add_qt_dep qtxml)
73 + >=net-libs/libktorrent-2.1.1:5
74 + infowidget? ( dev-libs/geoip )
75 + kross? (
76 + $(add_frameworks_dep karchive)
77 + $(add_frameworks_dep kitemviews)
78 + $(add_frameworks_dep kross)
79 + )
80 + mediaplayer? (
81 + media-libs/phonon[qt5(+)]
82 + >=media-libs/taglib-1.5
83 + )
84 + rss? (
85 + $(add_frameworks_dep kdewebkit)
86 + $(add_frameworks_dep syndication)
87 + )
88 + search? (
89 + $(add_frameworks_dep kdewebkit)
90 + >=dev-qt/qtwebkit-5.212.0_pre20180120:5
91 + )
92 + shutdown? ( $(add_plasma_dep plasma-workspace) )
93 + stats? ( $(add_frameworks_dep kplotting) )
94 + upnp? ( $(add_frameworks_dep kcompletion) )
95 + zeroconf? ( $(add_frameworks_dep kdnssd) )
96 +"
97 +DEPEND="${COMMON_DEPEND}
98 + dev-libs/boost
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 +"
108 +
109 +src_configure() {
110 + local mycmakeargs=(
111 + -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)
112 + -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder)
113 + -DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget)
114 + -DWITH_SYSTEM_GEOIP=$(usex infowidget)
115 + -DENABLE_IPFILTER_PLUGIN=$(usex ipfilter)
116 + -DENABLE_SCRIPTING_PLUGIN=$(usex kross)
117 + -DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer)
118 + -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator)
119 + -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer)
120 + $(cmake-utils_use_find_package rss KF5Syndication)
121 + -DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder)
122 + -DENABLE_SEARCH_PLUGIN=$(usex search)
123 + -DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown)
124 + -DENABLE_STATS_PLUGIN=$(usex stats)
125 + -DENABLE_UPNP_PLUGIN=$(usex upnp)
126 + -DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf)
127 + )
128 +# add back when ported
129 +# -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface)
130 + kde5_src_configure
131 +}