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/, net-p2p/ktorrent/files/
Date: Sat, 30 Sep 2017 12:44:08
Message-Id: 1506775317.13ee3ee9ada0ab11fe906231bdcfd1fc8a4241dd.asturm@gentoo
1 commit: 13ee3ee9ada0ab11fe906231bdcfd1fc8a4241dd
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 30 12:30:46 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 30 12:41:57 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13ee3ee9
7
8 net-p2p/ktorrent: Drop old
9
10 Package-Manager: Portage-2.3.10, Repoman-2.3.3
11
12 net-p2p/ktorrent/Manifest | 1 -
13 net-p2p/ktorrent/files/ktorrent-5.0.1-build.patch | 38 -------
14 net-p2p/ktorrent/ktorrent-5.0.1.ebuild | 131 ----------------------
15 3 files changed, 170 deletions(-)
16
17 diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
18 index 238b67f7c13..b3b0c9f7fca 100644
19 --- a/net-p2p/ktorrent/Manifest
20 +++ b/net-p2p/ktorrent/Manifest
21 @@ -1,2 +1 @@
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/files/ktorrent-5.0.1-build.patch b/net-p2p/ktorrent/files/ktorrent-5.0.1-build.patch
26 deleted file mode 100644
27 index 58949a2884f..00000000000
28 --- a/net-p2p/ktorrent/files/ktorrent-5.0.1-build.patch
29 +++ /dev/null
30 @@ -1,38 +0,0 @@
31 -From ac8eb6b360fbaa2588ec523bb81c380289586db6 Mon Sep 17 00:00:00 2001
32 -From: David Faure <faure@×××.org>
33 -Date: Sat, 14 May 2016 11:19:34 +0200
34 -Subject: [PATCH] Fix compilation, KSharedConfig was not found.
35 -
36 ----
37 - ktorrent/dialogs/pastedialog.h | 1 +
38 - plugins/mediaplayer/mediaview.h | 2 +-
39 - 2 files changed, 2 insertions(+), 1 deletion(-)
40 -
41 -diff --git a/ktorrent/dialogs/pastedialog.h b/ktorrent/dialogs/pastedialog.h
42 -index 2446848..430ea82 100644
43 ---- a/ktorrent/dialogs/pastedialog.h
44 -+++ b/ktorrent/dialogs/pastedialog.h
45 -@@ -22,6 +22,7 @@
46 - #define PASTEDIALOG_H
47 -
48 - #include <KDialog>
49 -+#include <KSharedConfig>
50 - #include "ui_pastedlgbase.h"
51 -
52 -
53 -diff --git a/plugins/mediaplayer/mediaview.h b/plugins/mediaplayer/mediaview.h
54 -index 2b9a7e6..d1959c1 100644
55 ---- a/plugins/mediaplayer/mediaview.h
56 -+++ b/plugins/mediaplayer/mediaview.h
57 -@@ -25,7 +25,7 @@
58 - #include <QListView>
59 - #include <QCheckBox>
60 - #include <QSortFilterProxyModel>
61 --#include <KSharedConfigPtr>
62 -+#include <KSharedConfig>
63 - #include "mediafile.h"
64 -
65 -
66 ---
67 -2.7.3
68 -
69
70 diff --git a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
71 deleted file mode 100644
72 index c33c54efa85..00000000000
73 --- a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
74 +++ /dev/null
75 @@ -1,131 +0,0 @@
76 -# Copyright 1999-2017 Gentoo Foundation
77 -# Distributed under the terms of the GNU General Public License v2
78 -
79 -EAPI=6
80 -
81 -LIBKT_VERSION_MIN="${PV}"
82 -LIBKT_VERSION_MAX="99999999"
83 -if [[ ${PV} != 9999* ]]; then
84 - inherit versionator
85 - # upstream likes to skip that _ in beta releases
86 - MY_PV="${PV/_/}"
87 - LIBKT_VERSION_MIN=$(($(get_major_version)-3)).$(get_version_component_range 2-3 ${PV})
88 - LIBKT_VERSION_MAX=$(($(get_major_version)-3)).$(($(get_version_component_range 2)+1))
89 - MY_P="${PN}-${MY_PV}"
90 -
91 - SRC_URI="mirror://kde/stable/${PN}/$(get_version_component_range 1-2)/${MY_P}.tar.xz"
92 - S="${WORKDIR}"/"${MY_P}"
93 -
94 - KEYWORDS="amd64 x86"
95 -else
96 - LIBKT_VERSION_MIN="${PV}"
97 - LIBKT_VERSION_MAX="99999999"
98 -fi
99 -
100 -KDE_HANDBOOK="forceoptional"
101 -inherit kde5
102 -
103 -DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
104 -HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/"
105 -
106 -LICENSE="GPL-2"
107 -IUSE="+bwscheduler +downloadorder +infowidget +logviewer
108 -+magnetgenerator +mediaplayer +shutdown +stats +upnp +zeroconf"
109 -
110 -COMMON_DEPEND="
111 - $(add_frameworks_dep karchive)
112 - $(add_frameworks_dep kcmutils)
113 - $(add_frameworks_dep kcompletion)
114 - $(add_frameworks_dep kconfig)
115 - $(add_frameworks_dep kconfigwidgets)
116 - $(add_frameworks_dep kcoreaddons)
117 - $(add_frameworks_dep kcrash)
118 - $(add_frameworks_dep kdbusaddons)
119 - $(add_frameworks_dep kdelibs4support)
120 - $(add_frameworks_dep ki18n)
121 - $(add_frameworks_dep kiconthemes)
122 - $(add_frameworks_dep kio)
123 - $(add_frameworks_dep knotifications)
124 - $(add_frameworks_dep knotifyconfig)
125 - $(add_frameworks_dep kparts)
126 - $(add_frameworks_dep kservice)
127 - $(add_frameworks_dep kwidgetsaddons)
128 - $(add_frameworks_dep kwindowsystem)
129 - $(add_frameworks_dep kxmlgui)
130 - $(add_frameworks_dep solid)
131 - $(add_frameworks_dep sonnet)
132 - $(add_qt_dep qtdbus)
133 - $(add_qt_dep qtgui)
134 - $(add_qt_dep qtnetwork)
135 - $(add_qt_dep qtwidgets)
136 - <net-libs/libktorrent-${LIBKT_VERSION_MAX}:5
137 - >=net-libs/libktorrent-${LIBKT_VERSION_MIN}:5
138 - infowidget? ( dev-libs/geoip )
139 - mediaplayer? (
140 - media-libs/phonon[qt5(+)]
141 - >=media-libs/taglib-1.5
142 - )
143 - shutdown? ( $(add_plasma_dep plasma-workspace) )
144 - stats? ( $(add_frameworks_dep kplotting) )
145 - zeroconf? ( $(add_frameworks_dep kdnssd) )
146 -"
147 -DEPEND="${COMMON_DEPEND}
148 - dev-libs/boost
149 - sys-devel/gettext
150 -"
151 -RDEPEND="${COMMON_DEPEND}
152 - !net-p2p/ktorrent:4
153 -"
154 -# add back when ported - DEPEND
155 -# kross? ( $(add_frameworks_dep kross) )
156 -# rss? ( $(add_kdeapps_dep kdepimlibs) )
157 -# add back when ported - RDEPEND
158 -# ipfilter? (
159 -# app-arch/bzip2
160 -# app-arch/unzip
161 -# $(add_kdeapps_dep kdebase-kioslaves)
162 -# )
163 -# kross? ( $(add_kdebase_dep krosspython) )
164 -
165 -# src_prepare() {
166 -# add back when ported
167 -# if ! use plasma; then
168 -# sed -i \
169 -# -e "s:add_subdirectory(plasma):#nada:g" \
170 -# CMakeLists.txt || die "Failed to make plasmoid optional"
171 -# fi
172 -#
173 -# kde5_src_prepare
174 -# }
175 -
176 -PATCHES=( "${FILESDIR}/${P}-build.patch" )
177 -
178 -src_prepare() {
179 - kde5_src_prepare
180 -
181 - punt_bogus_dep KF5 Kross
182 -}
183 -
184 -src_configure() {
185 - local mycmakeargs=(
186 - -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)
187 - -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder)
188 - -DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget)
189 - -DWITH_SYSTEM_GEOIP=$(usex infowidget)
190 - -DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer)
191 - -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator)
192 - -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer)
193 - -DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown)
194 - -DENABLE_STATS_PLUGIN=$(usex stats)
195 - -DENABLE_UPNP_PLUGIN=$(usex upnp)
196 - -DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf)
197 - )
198 -# add back when ported
199 -# -DENABLE_IPFILTER_PLUGIN=$(usex ipfilter)
200 -# -DENABLE_SCRIPTING_PLUGIN=$(usex kross)
201 -# -DENABLE_SYNDICATION_PLUGIN=$(usex rss)
202 -# -DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder)
203 -# -DENABLE_SEARCH_PLUGIN=$(usex search)
204 -# -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface)
205 - kde5_src_configure
206 -}