1 |
commit: 04e686cef9d34628717f181d56f0026485dccf4a |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 1 20:11:36 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=04e686ce |
7 |
|
8 |
net-libs/libktorrent: 2.1.1 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-libs/libktorrent/Manifest | 1 + |
14 |
net-libs/libktorrent/libktorrent-2.1.1.ebuild | 57 +++++++++++++++++++++++++++ |
15 |
2 files changed, 58 insertions(+) |
16 |
|
17 |
diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest |
18 |
index 86c553f1d84..a2410449275 100644 |
19 |
--- a/net-libs/libktorrent/Manifest |
20 |
+++ b/net-libs/libktorrent/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
+DIST libktorrent-2.1.1.tar.xz 357516 BLAKE2B 8bcec166fa1d4f09b72c4f31c771d5316f7411da538b789b111b641c8ba551d9c88bd1d68d8ad96396e125bb6b16f9d4e2a42a6b2166b40572d730d692d3cf5d SHA512 5c7f0218193cae148b03ae86a886b89d08a46200755728468ef271a6201add88eca617898d486d1823699def282d0251e26e3b28d2642f45cab966c286127d37 |
23 |
DIST libktorrent-2.1.tar.xz 355476 BLAKE2B c86205174ac0526455cc9d2049cd918fa1127e85ca18422823f89c3714950d6e4f606dabbeca4d615a17fc18d8032ef0cf86aa4d80726116ea667d9f257e0ddc SHA512 28d7a4b8ee45ddcbadb3ca9d6e568120803081b0ecd3e9436ed721860717b98538c522653ea47975123f0819548d0cabe1973baffed887fcbbca11d84ea5ebe4 |
24 |
|
25 |
diff --git a/net-libs/libktorrent/libktorrent-2.1.1.ebuild b/net-libs/libktorrent/libktorrent-2.1.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..b9e2994e0e4 |
28 |
--- /dev/null |
29 |
+++ b/net-libs/libktorrent/libktorrent-2.1.1.ebuild |
30 |
@@ -0,0 +1,57 @@ |
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_TEST="forceoptional" |
37 |
+VIRTUALX_REQUIRED="test" |
38 |
+inherit kde5 |
39 |
+ |
40 |
+DESCRIPTION="BitTorrent library based on KDE Frameworks" |
41 |
+HOMEPAGE="https://kde.org/applications/internet/ktorrent/" |
42 |
+SRC_URI="mirror://kde/stable/ktorrent/5.1.2/${P}.tar.xz" |
43 |
+ |
44 |
+LICENSE="GPL-2+" |
45 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
46 |
+IUSE="" |
47 |
+ |
48 |
+BDEPEND="sys-devel/gettext" |
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 qtnetwork) |
58 |
+ $(add_qt_dep qtxml) |
59 |
+ app-crypt/qca:2[qt5(+)] |
60 |
+ >=dev-libs/gmp-6.0.0a:0= |
61 |
+ dev-libs/libgcrypt:0= |
62 |
+" |
63 |
+DEPEND="${COMMON_DEPEND} |
64 |
+ dev-libs/boost |
65 |
+" |
66 |
+RDEPEND="${COMMON_DEPEND} |
67 |
+ !dev-libs/botan[gmp(-)] |
68 |
+" |
69 |
+ |
70 |
+src_prepare() { |
71 |
+ kde5_src_prepare |
72 |
+ |
73 |
+ # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is breaking this |
74 |
+ sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \ |
75 |
+ CMakeLists.txt || die |
76 |
+ sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \ |
77 |
+ KF5TorrentConfig.cmake.in || die |
78 |
+} |
79 |
+ |
80 |
+src_test() { |
81 |
+ # failing network tests |
82 |
+ local myctestargs=( |
83 |
+ -E "(fin|packetloss|send|transmit)" |
84 |
+ ) |
85 |
+ |
86 |
+ kde5_src_test |
87 |
+} |