1 |
commit: 25725daf81b9fd9a46f1e14d6de3bbb4057d6040 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 27 17:23:34 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 27 17:23:52 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25725daf |
7 |
|
8 |
net-libs/libktorrent: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.1 |
11 |
|
12 |
net-libs/libktorrent/libktorrent-2.0.1.ebuild | 71 --------------------------- |
13 |
1 file changed, 71 deletions(-) |
14 |
|
15 |
diff --git a/net-libs/libktorrent/libktorrent-2.0.1.ebuild b/net-libs/libktorrent/libktorrent-2.0.1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 1abac768ce6..00000000000 |
18 |
--- a/net-libs/libktorrent/libktorrent-2.0.1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,71 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
- |
26 |
-if [[ ${PV} != 9999* ]]; then |
27 |
- inherit versionator |
28 |
- # upstream likes to skip that _ in beta releases |
29 |
- MY_PV="${PV/_/}" |
30 |
- KTORRENT_VERSION=$(($(get_major_version)+3)).$(get_version_component_range 2 ${MY_PV}) |
31 |
- MY_P="${PN}-${MY_PV}" |
32 |
- |
33 |
- SRC_URI="mirror://kde/stable/ktorrent/${KTORRENT_VERSION}/${MY_P}.tar.xz" |
34 |
- S="${WORKDIR}"/"${MY_P}" |
35 |
- |
36 |
- KEYWORDS="amd64 ~arm x86" |
37 |
-fi |
38 |
- |
39 |
-KDE_TEST="forceoptional" |
40 |
-VIRTUALX_REQUIRED="test" |
41 |
-inherit kde5 |
42 |
- |
43 |
-DESCRIPTION="BitTorrent library based on KDE Frameworks" |
44 |
-HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/" |
45 |
- |
46 |
-LICENSE="GPL-2+" |
47 |
-IUSE="" |
48 |
- |
49 |
-COMMON_DEPEND=" |
50 |
- $(add_frameworks_dep karchive) |
51 |
- $(add_frameworks_dep kconfig) |
52 |
- $(add_frameworks_dep kcoreaddons) |
53 |
- $(add_frameworks_dep kcrash) |
54 |
- $(add_frameworks_dep ki18n) |
55 |
- $(add_frameworks_dep kio) |
56 |
- $(add_frameworks_dep solid) |
57 |
- $(add_qt_dep qtgui) |
58 |
- $(add_qt_dep qtnetwork) |
59 |
- $(add_qt_dep qtwidgets) |
60 |
- $(add_qt_dep qtxml) |
61 |
- app-crypt/qca:2[qt5] |
62 |
- >=dev-libs/gmp-6.0.0a:0= |
63 |
- dev-libs/libgcrypt:0= |
64 |
-" |
65 |
-DEPEND="${COMMON_DEPEND} |
66 |
- dev-libs/boost |
67 |
- sys-devel/gettext |
68 |
-" |
69 |
-RDEPEND="${COMMON_DEPEND} |
70 |
- !net-libs/libktorrent:4 |
71 |
-" |
72 |
- |
73 |
-src_prepare() { |
74 |
- kde5_src_prepare |
75 |
- |
76 |
- # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is breaking this |
77 |
- sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \ |
78 |
- CMakeLists.txt || die |
79 |
- sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \ |
80 |
- LibKTorrentConfig.cmake.in || die |
81 |
- |
82 |
- # do not build non-installed example binary |
83 |
- sed -i -e "/add_subdirectory(examples)/d" CMakeLists.txt || die |
84 |
- |
85 |
- if ! use test ; then |
86 |
- sed -i -e "/add_subdirectory(testlib)/d" CMakeLists.txt || die |
87 |
- sed -i -e "/add_subdirectory(tests)/d" \ |
88 |
- src/{datachecker,dht,diskio,download,magnet,mse,net,peer,util,utp,torrent}/CMakeLists.txt \ |
89 |
- || die "Failed to remove tests" |
90 |
- fi |
91 |
-} |