[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2022-09-04 Thread David Seifert
commit: af568659d07d0c8f5e977d91a550bf46bc4e0279
Author: David Seifert  gentoo  org>
AuthorDate: Sun Sep  4 13:03:14 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Sep  4 13:03:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af568659

net-libs/libktorrent: remove stale boost lower bounds

Signed-off-by: David Seifert  gentoo.org>

 net-libs/libktorrent/libktorrent-22.04.3.ebuild | 2 +-
 net-libs/libktorrent/libktorrent-22.08.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/libktorrent/libktorrent-22.04.3.ebuild 
b/net-libs/libktorrent/libktorrent-22.04.3.ebuild
index be45f971d886..6c309f68c2af 100644
--- a/net-libs/libktorrent/libktorrent-22.04.3.ebuild
+++ b/net-libs/libktorrent/libktorrent-22.04.3.ebuild
@@ -33,7 +33,7 @@ COMMON_DEPEND="
>=kde-frameworks/solid-${KFMIN}:5
 "
 DEPEND="${COMMON_DEPEND}
-   >=dev-libs/boost-1.71
+   dev-libs/boost
 "
 RDEPEND="${COMMON_DEPEND}
!dev-libs/botan[gmp(-)]

diff --git a/net-libs/libktorrent/libktorrent-22.08.0.ebuild 
b/net-libs/libktorrent/libktorrent-22.08.0.ebuild
index 3a5d2ca1bba3..ab65381979c7 100644
--- a/net-libs/libktorrent/libktorrent-22.08.0.ebuild
+++ b/net-libs/libktorrent/libktorrent-22.08.0.ebuild
@@ -33,7 +33,7 @@ COMMON_DEPEND="
>=kde-frameworks/solid-${KFMIN}:5
 "
 DEPEND="${COMMON_DEPEND}
-   >=dev-libs/boost-1.71
+   dev-libs/boost
 "
 RDEPEND="${COMMON_DEPEND}
!dev-libs/botan[gmp(-)]



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2021-08-04 Thread Agostino Sarubbo
commit: 9a95d00157c8105987649d8d0429a29266f5eff3
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Aug  4 08:59:40 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Aug  4 09:01:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a95d001

net-libs/libktorrent: x86 stable wrt bug #805065

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libktorrent/libktorrent-21.04.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libktorrent/libktorrent-21.04.3.ebuild 
b/net-libs/libktorrent/libktorrent-21.04.3.ebuild
index 39757ea511d..e14cce571e0 100644
--- a/net-libs/libktorrent/libktorrent-21.04.3.ebuild
+++ b/net-libs/libktorrent/libktorrent-21.04.3.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://apps.kde.org/ktorrent/ 
https://userbase.kde.org/KTorrent;
 
 LICENSE="GPL-2+"
 SLOT="5"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 IUSE=""
 
 BDEPEND="sys-devel/gettext"



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2021-08-04 Thread Agostino Sarubbo
commit: 8ee8790ad03620a0439565b0f8873e74f925c235
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Aug  4 08:38:43 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Aug  4 08:40:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ee8790a

net-libs/libktorrent: amd64 stable wrt bug #805065

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libktorrent/libktorrent-21.04.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libktorrent/libktorrent-21.04.3.ebuild 
b/net-libs/libktorrent/libktorrent-21.04.3.ebuild
index 9f24c96e7f0..39757ea511d 100644
--- a/net-libs/libktorrent/libktorrent-21.04.3.ebuild
+++ b/net-libs/libktorrent/libktorrent-21.04.3.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://apps.kde.org/ktorrent/ 
https://userbase.kde.org/KTorrent;
 
 LICENSE="GPL-2+"
 SLOT="5"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
 IUSE=""
 
 BDEPEND="sys-devel/gettext"



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/, net-libs/libktorrent/files/

2021-04-06 Thread Andreas Sturmlechner
commit: ade1151f6c6869959271e55b6f147f17e028039d
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Apr  6 08:11:10 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Apr  6 08:23:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ade1151f

net-libs/libktorrent: Drop 2.2.0-r1

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-libs/libktorrent/Manifest  |  1 -
 .../libktorrent-2.2.0-fix-MultiFileCache.patch | 26 -
 net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild   | 63 --
 3 files changed, 90 deletions(-)

diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index 9f4b5ec3791..3e9c0abae53 100644
--- a/net-libs/libktorrent/Manifest
+++ b/net-libs/libktorrent/Manifest
@@ -1,2 +1 @@
-DIST libktorrent-2.2.0.tar.xz 357364 BLAKE2B 
66a91fc32dc11a680d22755468513896c9cea1cbaef8664c84633860b78efba85e5c9e47684fdaaf7fb6f03f624268f9158ee2b8c6fc3d14b0e70339c1f6903e
 SHA512 
2edcb3a230f4fa3a55a6b774c819f4964fe8f2f5447b723ba81cdb0c187dc0268b6e78566d710fa364abe2cc40cd618d1874ecb1637e872fbad0ea8c340abc1a
 DIST libktorrent-20.12.3.tar.xz 604488 BLAKE2B 
e51bba82990632744aaadf3e40043fa80e64395f6f3721992780ff77d7663a0a3600aaf7d2653a00f32366555f1000a961c3e99de6d2e2cfecc4c1f79d1ebb00
 SHA512 
e2259251e8edbef6154674898614f81b3a29d5c711e9f751435450edbbb987c5e2a1d8ff864da5aa180b5d1adc3ef611f46175f2126faca52d1b1338d986d1cb

diff --git 
a/net-libs/libktorrent/files/libktorrent-2.2.0-fix-MultiFileCache.patch 
b/net-libs/libktorrent/files/libktorrent-2.2.0-fix-MultiFileCache.patch
deleted file mode 100644
index bafdbaffefa..000
--- a/net-libs/libktorrent/files/libktorrent-2.2.0-fix-MultiFileCache.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 5b0abf8378d497c5a8881771518df6a02404d031 Mon Sep 17 00:00:00 2001
-From: Alexander Trufanov 
-Date: Tue, 16 Jun 2020 13:47:42 +0300
-Subject: [PATCH] Fix a bug in MultiFileCache
-
-Differential Revision: https://phabricator.kde.org/D29852

- src/diskio/multifilecache.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/diskio/multifilecache.cpp b/src/diskio/multifilecache.cpp
-index 0a513ad..882630e 100644
 a/src/diskio/multifilecache.cpp
-+++ b/src/diskio/multifilecache.cpp
-@@ -455,7 +455,7 @@ namespace bt
-   off = file_off + (piece_off - chunk_off);
-   len = piece_len;
-   }
--  else if(piece_off >= chunk_off && piece_len < chunk_off + 
chunk_len)
-+  else if(piece_off >= chunk_off && piece_off < chunk_off + 
chunk_len)
-   {
-   // The start of the piece lies partially in the current 
file
-   off = file_off + (piece_off - chunk_off);
--- 
-GitLab
-

diff --git a/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild 
b/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild
deleted file mode 100644
index 95565a6e37a..000
--- a/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ECM_TEST="forceoptional"
-KDE_ORG_CATEGORY="network"
-KFMIN=5.60.0
-QTMIN=5.12.3
-VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
-
-DESCRIPTION="BitTorrent library based on KDE Frameworks"
-HOMEPAGE="https://apps.kde.org/en/ktorrent https://userbase.kde.org/KTorrent;
-SRC_URI="mirror://kde/stable/ktorrent/5.2.0/${P}.tar.xz"
-
-LICENSE="GPL-2+"
-SLOT="5"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86"
-IUSE=""
-
-BDEPEND="sys-devel/gettext"
-COMMON_DEPEND="
-   app-crypt/qca:2[qt5(+)]
-   >=dev-libs/gmp-6.0.0a:0=
-   dev-libs/libgcrypt:0=
-   >=dev-qt/qtnetwork-${QTMIN}:5
-   >=dev-qt/qtxml-${QTMIN}:5
-   >=kde-frameworks/karchive-${KFMIN}:5
-   >=kde-frameworks/kconfig-${KFMIN}:5
-   >=kde-frameworks/kcoreaddons-${KFMIN}:5
-   >=kde-frameworks/kcrash-${KFMIN}:5
-   >=kde-frameworks/ki18n-${KFMIN}:5
-   >=kde-frameworks/kio-${KFMIN}:5
-   >=kde-frameworks/solid-${KFMIN}:5
-"
-DEPEND="${COMMON_DEPEND}
-   dev-libs/boost
-"
-RDEPEND="${COMMON_DEPEND}
-   !dev-libs/botan[gmp(-)]
-"
-
-PATCHES=( "${FILESDIR}/${P}-fix-MultiFileCache.patch" ) # 2.2 branch
-
-src_prepare() {
-   ecm_src_prepare
-
-   # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is 
breaking this
-   sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
-   CMakeLists.txt || die
-   sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
-   KF5TorrentConfig.cmake.in || die
-}
-
-src_test() {
-   # failing network tests
-   local myctestargs=(
-   -E "(fin|packetloss|send|superseedtest|transmit|utppolltest)"
-   )
-
-   ecm_src_test
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2021-04-06 Thread Agostino Sarubbo
commit: 0ca32982c1bc042e4d3f3e7029a583b9909cc874
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Apr  6 06:29:30 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Apr  6 06:31:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ca32982

net-libs/libktorrent: amd64 stable wrt bug #774219

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libktorrent/libktorrent-20.12.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libktorrent/libktorrent-20.12.3.ebuild 
b/net-libs/libktorrent/libktorrent-20.12.3.ebuild
index dd9abe5ed61..012ceefea76 100644
--- a/net-libs/libktorrent/libktorrent-20.12.3.ebuild
+++ b/net-libs/libktorrent/libktorrent-20.12.3.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="https://apps.kde.org/en/ktorrent 
https://userbase.kde.org/KTorrent;
 
 LICENSE="GPL-2+"
 SLOT="5"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 IUSE=""
 
 BDEPEND="sys-devel/gettext"



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2020-10-16 Thread Georgy Yakovlev
commit: deec27dac023c3c1f43dad8a2a0370a246da1f0d
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Oct 16 09:18:17 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Oct 16 17:45:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deec27da

net-libs/libktorrent: add ~ppc64 keyword

100% tests passed, 0 tests failed out of 28

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev  gentoo.org>

 net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild 
b/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild
index dc2cd337b1e..b11d8279790 100644
--- a/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://kde/stable/ktorrent/5.2.0/${P}.tar.xz"
 
 LICENSE="GPL-2+"
 SLOT="5"
-KEYWORDS="amd64 ~arm arm64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86"
 IUSE=""
 
 BDEPEND="sys-devel/gettext"



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/files/, net-libs/libktorrent/

2020-07-20 Thread Andreas Sturmlechner
commit: 1895e43781508b9ba35eb9eef3fa4f90f96ee41a
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Jul 20 20:15:08 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Jul 20 21:33:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1895e437

net-libs/libktorrent: Drop 2.1.1

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-libs/libktorrent/Manifest  |  1 -
 .../files/libktorrent-2.1-unused-link.patch| 24 
 .../files/libktorrent-2.1.1-fileops.patch  | 25 -
 net-libs/libktorrent/libktorrent-2.1.1.ebuild  | 65 --
 4 files changed, 115 deletions(-)

diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index 8ac1557721f..b62315abb6a 100644
--- a/net-libs/libktorrent/Manifest
+++ b/net-libs/libktorrent/Manifest
@@ -1,2 +1 @@
-DIST libktorrent-2.1.1.tar.xz 357516 BLAKE2B 
8bcec166fa1d4f09b72c4f31c771d5316f7411da538b789b111b641c8ba551d9c88bd1d68d8ad96396e125bb6b16f9d4e2a42a6b2166b40572d730d692d3cf5d
 SHA512 
5c7f0218193cae148b03ae86a886b89d08a46200755728468ef271a6201add88eca617898d486d1823699def282d0251e26e3b28d2642f45cab966c286127d37
 DIST libktorrent-2.2.0.tar.xz 357364 BLAKE2B 
66a91fc32dc11a680d22755468513896c9cea1cbaef8664c84633860b78efba85e5c9e47684fdaaf7fb6f03f624268f9158ee2b8c6fc3d14b0e70339c1f6903e
 SHA512 
2edcb3a230f4fa3a55a6b774c819f4964fe8f2f5447b723ba81cdb0c187dc0268b6e78566d710fa364abe2cc40cd618d1874ecb1637e872fbad0ea8c340abc1a

diff --git a/net-libs/libktorrent/files/libktorrent-2.1-unused-link.patch 
b/net-libs/libktorrent/files/libktorrent-2.1-unused-link.patch
deleted file mode 100644
index 636c59d1b06..000
--- a/net-libs/libktorrent/files/libktorrent-2.1-unused-link.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From e7c4847d9bbdc5d7c7435039aa5088d276ca5bce Mon Sep 17 00:00:00 2001
-From: Jonathan Riddell 
-Date: Mon, 10 Jun 2019 13:27:29 +0100
-Subject: remove unused link to kcrash, it can be used by the apps which use
- libktorrent but it needs to be initialised not just arbitrarily linked to
-

- src/CMakeLists.txt | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index d347e07..1578bf4 100644
 a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -235,7 +235,6 @@ PRIVATE
- qca-qt5
- PUBLIC
- KF5::Archive
--KF5::Crash
- KF5::KIOCore
- KF5::KIOWidgets
- KF5::Solid
--- 
-cgit v1.1

diff --git a/net-libs/libktorrent/files/libktorrent-2.1.1-fileops.patch 
b/net-libs/libktorrent/files/libktorrent-2.1.1-fileops.patch
deleted file mode 100644
index 87d25e26b7b..000
--- a/net-libs/libktorrent/files/libktorrent-2.1.1-fileops.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 1e8ce6e98d7ca0088624778964b9aed4696ce030 Mon Sep 17 00:00:00 2001
-From: Christoph Feck 
-Date: Thu, 14 Nov 2019 14:19:42 +0100
-Subject: Fix build with XFS
-
-BUG: 414050

- src/util/fileops.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/util/fileops.cpp b/src/util/fileops.cpp
-index c76b0e3..cfe4d5e 100644
 a/src/util/fileops.cpp
-+++ b/src/util/fileops.cpp
-@@ -366,7 +366,7 @@ namespace bt
- 
-   bool XfsPreallocate(const QString & path, Uint64 size)
-   {
--  int fd = ::open(QFile::encodeName(path), O_RDWR | O_LARGEFILE);
-+  int fd = ::open(QFile::encodeName(path).constData(), O_RDWR | 
O_LARGEFILE);
-   if (fd < 0)
-   throw Error(i18n("Cannot open %1: 
%2",path,strerror(errno)));
- 
--- 
-cgit v1.1

diff --git a/net-libs/libktorrent/libktorrent-2.1.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.1.1.ebuild
deleted file mode 100644
index a71a4a0418b..000
--- a/net-libs/libktorrent/libktorrent-2.1.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ECM_TEST="forceoptional"
-KFMIN=5.60.0
-QTMIN=5.12.3
-VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
-
-DESCRIPTION="BitTorrent library based on KDE Frameworks"
-HOMEPAGE="https://kde.org/applications/internet/org.kde.ktorrent
-https://userbase.kde.org/KTorrent;
-SRC_URI="mirror://kde/stable/ktorrent/5.1.2/${P}.tar.xz"
-
-LICENSE="GPL-2+"
-SLOT="5"
-KEYWORDS="amd64 ~arm arm64 ~x86"
-IUSE=""
-
-BDEPEND="sys-devel/gettext"
-COMMON_DEPEND="
-   app-crypt/qca:2[qt5(+)]
-   >=dev-libs/gmp-6.0.0a:0=
-   dev-libs/libgcrypt:0=
-   >=dev-qt/qtnetwork-${QTMIN}:5
-   >=dev-qt/qtxml-${QTMIN}:5
-   >=kde-frameworks/karchive-${KFMIN}:5
-   >=kde-frameworks/kconfig-${KFMIN}:5
-   >=kde-frameworks/kcoreaddons-${KFMIN}:5
-   >=kde-frameworks/ki18n-${KFMIN}:5
-   >=kde-frameworks/kio-${KFMIN}:5
-   >=kde-frameworks/solid-${KFMIN}:5
-"
-DEPEND="${COMMON_DEPEND}
-   dev-libs/boost
-"
-RDEPEND="${COMMON_DEPEND}
-   !dev-libs/botan[gmp(-)]
-"
-

[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2020-07-20 Thread Agostino Sarubbo
commit: 6c73f4fe673a75c4efc25e60d1d8c1b1578f42e4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jul 20 06:41:16 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jul 20 06:41:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c73f4fe

net-libs/libktorrent: amd64 stable wrt bug #732154

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild 
b/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild
index 676bba6e3b4..dc2cd337b1e 100644
--- a/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://kde/stable/ktorrent/5.2.0/${P}.tar.xz"
 
 LICENSE="GPL-2+"
 SLOT="5"
-KEYWORDS="~amd64 ~arm arm64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ~x86"
 IUSE=""
 
 BDEPEND="sys-devel/gettext"



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2020-07-11 Thread Sam James
commit: 391d51267a9d3c0a0b4d33d4b01a60d93e8f75fa
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 11 11:29:27 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 11 11:29:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=391d5126

net-libs/libktorrent: arm64 stable (bug #732154)

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild 
b/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild
index 08d032bf53f..676bba6e3b4 100644
--- a/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://kde/stable/ktorrent/5.2.0/${P}.tar.xz"
 
 LICENSE="GPL-2+"
 SLOT="5"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~x86"
 IUSE=""
 
 BDEPEND="sys-devel/gettext"



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/files/, net-libs/libktorrent/

2020-07-10 Thread Andreas Sturmlechner
commit: bff063654b29e7bdbee46aed1ad899b60f1ec2e8
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Jul 11 01:11:43 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jul 11 01:24:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff06365

net-libs/libktorrent: Fix a bug in MultiFileCache

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../libktorrent-2.2.0-fix-MultiFileCache.patch | 26 +
 net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild   | 64 ++
 2 files changed, 90 insertions(+)

diff --git 
a/net-libs/libktorrent/files/libktorrent-2.2.0-fix-MultiFileCache.patch 
b/net-libs/libktorrent/files/libktorrent-2.2.0-fix-MultiFileCache.patch
new file mode 100644
index 000..bafdbaffefa
--- /dev/null
+++ b/net-libs/libktorrent/files/libktorrent-2.2.0-fix-MultiFileCache.patch
@@ -0,0 +1,26 @@
+From 5b0abf8378d497c5a8881771518df6a02404d031 Mon Sep 17 00:00:00 2001
+From: Alexander Trufanov 
+Date: Tue, 16 Jun 2020 13:47:42 +0300
+Subject: [PATCH] Fix a bug in MultiFileCache
+
+Differential Revision: https://phabricator.kde.org/D29852
+---
+ src/diskio/multifilecache.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/diskio/multifilecache.cpp b/src/diskio/multifilecache.cpp
+index 0a513ad..882630e 100644
+--- a/src/diskio/multifilecache.cpp
 b/src/diskio/multifilecache.cpp
+@@ -455,7 +455,7 @@ namespace bt
+   off = file_off + (piece_off - chunk_off);
+   len = piece_len;
+   }
+-  else if(piece_off >= chunk_off && piece_len < chunk_off + 
chunk_len)
++  else if(piece_off >= chunk_off && piece_off < chunk_off + 
chunk_len)
+   {
+   // The start of the piece lies partially in the current 
file
+   off = file_off + (piece_off - chunk_off);
+-- 
+GitLab
+

diff --git a/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild 
b/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild
new file mode 100644
index 000..08d032bf53f
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-2.2.0-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_TEST="forceoptional"
+KDE_ORG_CATEGORY="network"
+KFMIN=5.60.0
+QTMIN=5.12.3
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="BitTorrent library based on KDE Frameworks"
+HOMEPAGE="https://kde.org/applications/internet/org.kde.ktorrent
+https://userbase.kde.org/KTorrent;
+SRC_URI="mirror://kde/stable/ktorrent/5.2.0/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+BDEPEND="sys-devel/gettext"
+COMMON_DEPEND="
+   app-crypt/qca:2[qt5(+)]
+   >=dev-libs/gmp-6.0.0a:0=
+   dev-libs/libgcrypt:0=
+   >=dev-qt/qtnetwork-${QTMIN}:5
+   >=dev-qt/qtxml-${QTMIN}:5
+   >=kde-frameworks/karchive-${KFMIN}:5
+   >=kde-frameworks/kconfig-${KFMIN}:5
+   >=kde-frameworks/kcoreaddons-${KFMIN}:5
+   >=kde-frameworks/kcrash-${KFMIN}:5
+   >=kde-frameworks/ki18n-${KFMIN}:5
+   >=kde-frameworks/kio-${KFMIN}:5
+   >=kde-frameworks/solid-${KFMIN}:5
+"
+DEPEND="${COMMON_DEPEND}
+   dev-libs/boost
+"
+RDEPEND="${COMMON_DEPEND}
+   !dev-libs/botan[gmp(-)]
+"
+
+PATCHES=( "${FILESDIR}/${P}-fix-MultiFileCache.patch" ) # 2.2 branch
+
+src_prepare() {
+   ecm_src_prepare
+
+   # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is 
breaking this
+   sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
+   CMakeLists.txt || die
+   sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
+   KF5TorrentConfig.cmake.in || die
+}
+
+src_test() {
+   # failing network tests
+   local myctestargs=(
+   -E "(fin|packetloss|send|superseedtest|transmit|utppolltest)"
+   )
+
+   ecm_src_test
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2020-07-10 Thread Andreas Sturmlechner
commit: cad25fe740a9cf0501bc595bbe9e3e001fc4ccf8
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Jul 11 01:12:13 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jul 11 01:24:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cad25fe7

net-libs/libktorrent: Drop 2.2.0 (r0)

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-libs/libktorrent/libktorrent-2.2.0.ebuild | 62 ---
 1 file changed, 62 deletions(-)

diff --git a/net-libs/libktorrent/libktorrent-2.2.0.ebuild 
b/net-libs/libktorrent/libktorrent-2.2.0.ebuild
deleted file mode 100644
index ea246055bc8..000
--- a/net-libs/libktorrent/libktorrent-2.2.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ECM_TEST="forceoptional"
-KDE_ORG_CATEGORY="network"
-KFMIN=5.60.0
-QTMIN=5.12.3
-VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
-
-DESCRIPTION="BitTorrent library based on KDE Frameworks"
-HOMEPAGE="https://kde.org/applications/internet/org.kde.ktorrent
-https://userbase.kde.org/KTorrent;
-SRC_URI="mirror://kde/stable/ktorrent/5.2.0/${P}.tar.xz"
-
-LICENSE="GPL-2+"
-SLOT="5"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE=""
-
-BDEPEND="sys-devel/gettext"
-COMMON_DEPEND="
-   app-crypt/qca:2[qt5(+)]
-   >=dev-libs/gmp-6.0.0a:0=
-   dev-libs/libgcrypt:0=
-   >=dev-qt/qtnetwork-${QTMIN}:5
-   >=dev-qt/qtxml-${QTMIN}:5
-   >=kde-frameworks/karchive-${KFMIN}:5
-   >=kde-frameworks/kconfig-${KFMIN}:5
-   >=kde-frameworks/kcoreaddons-${KFMIN}:5
-   >=kde-frameworks/kcrash-${KFMIN}:5
-   >=kde-frameworks/ki18n-${KFMIN}:5
-   >=kde-frameworks/kio-${KFMIN}:5
-   >=kde-frameworks/solid-${KFMIN}:5
-"
-DEPEND="${COMMON_DEPEND}
-   dev-libs/boost
-"
-RDEPEND="${COMMON_DEPEND}
-   !dev-libs/botan[gmp(-)]
-"
-
-src_prepare() {
-   ecm_src_prepare
-
-   # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is 
breaking this
-   sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
-   CMakeLists.txt || die
-   sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
-   KF5TorrentConfig.cmake.in || die
-}
-
-src_test() {
-   # failing network tests
-   local myctestargs=(
-   -E "(fin|packetloss|send|superseedtest|transmit|utppolltest)"
-   )
-
-   ecm_src_test
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2020-06-07 Thread Andreas Sturmlechner
commit: 26a72b49e279788417dc42c87142f19c51212ed8
Author: Andrius Štikonas  stikonas  eu>
AuthorDate: Sat Jun  6 20:34:36 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jun  7 09:30:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26a72b49

net-libs/libktorrent: bump version to 2.2.0

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrius Štikonas  stikonas.eu>
Closes: https://github.com/gentoo/gentoo/pull/16095
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-libs/libktorrent/Manifest |  1 +
 net-libs/libktorrent/libktorrent-2.2.0.ebuild | 62 +++
 2 files changed, 63 insertions(+)

diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index e5e618845c4..8ac1557721f 100644
--- a/net-libs/libktorrent/Manifest
+++ b/net-libs/libktorrent/Manifest
@@ -1 +1,2 @@
 DIST libktorrent-2.1.1.tar.xz 357516 BLAKE2B 
8bcec166fa1d4f09b72c4f31c771d5316f7411da538b789b111b641c8ba551d9c88bd1d68d8ad96396e125bb6b16f9d4e2a42a6b2166b40572d730d692d3cf5d
 SHA512 
5c7f0218193cae148b03ae86a886b89d08a46200755728468ef271a6201add88eca617898d486d1823699def282d0251e26e3b28d2642f45cab966c286127d37
+DIST libktorrent-2.2.0.tar.xz 357364 BLAKE2B 
66a91fc32dc11a680d22755468513896c9cea1cbaef8664c84633860b78efba85e5c9e47684fdaaf7fb6f03f624268f9158ee2b8c6fc3d14b0e70339c1f6903e
 SHA512 
2edcb3a230f4fa3a55a6b774c819f4964fe8f2f5447b723ba81cdb0c187dc0268b6e78566d710fa364abe2cc40cd618d1874ecb1637e872fbad0ea8c340abc1a

diff --git a/net-libs/libktorrent/libktorrent-2.2.0.ebuild 
b/net-libs/libktorrent/libktorrent-2.2.0.ebuild
new file mode 100644
index 000..ea246055bc8
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-2.2.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ECM_TEST="forceoptional"
+KDE_ORG_CATEGORY="network"
+KFMIN=5.60.0
+QTMIN=5.12.3
+VIRTUALX_REQUIRED="test"
+inherit ecm kde.org
+
+DESCRIPTION="BitTorrent library based on KDE Frameworks"
+HOMEPAGE="https://kde.org/applications/internet/org.kde.ktorrent
+https://userbase.kde.org/KTorrent;
+SRC_URI="mirror://kde/stable/ktorrent/5.2.0/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+BDEPEND="sys-devel/gettext"
+COMMON_DEPEND="
+   app-crypt/qca:2[qt5(+)]
+   >=dev-libs/gmp-6.0.0a:0=
+   dev-libs/libgcrypt:0=
+   >=dev-qt/qtnetwork-${QTMIN}:5
+   >=dev-qt/qtxml-${QTMIN}:5
+   >=kde-frameworks/karchive-${KFMIN}:5
+   >=kde-frameworks/kconfig-${KFMIN}:5
+   >=kde-frameworks/kcoreaddons-${KFMIN}:5
+   >=kde-frameworks/kcrash-${KFMIN}:5
+   >=kde-frameworks/ki18n-${KFMIN}:5
+   >=kde-frameworks/kio-${KFMIN}:5
+   >=kde-frameworks/solid-${KFMIN}:5
+"
+DEPEND="${COMMON_DEPEND}
+   dev-libs/boost
+"
+RDEPEND="${COMMON_DEPEND}
+   !dev-libs/botan[gmp(-)]
+"
+
+src_prepare() {
+   ecm_src_prepare
+
+   # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is 
breaking this
+   sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
+   CMakeLists.txt || die
+   sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
+   KF5TorrentConfig.cmake.in || die
+}
+
+src_test() {
+   # failing network tests
+   local myctestargs=(
+   -E "(fin|packetloss|send|superseedtest|transmit|utppolltest)"
+   )
+
+   ecm_src_test
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2020-01-04 Thread Andreas Sturmlechner
commit: 28b67642bb6b3a556c7ab0e5bb94c474659243e3
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Jan  4 13:55:13 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jan  4 13:55:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28b67642

net-libs/libktorrent: Drop 2.1-r1

Dropping x86 after stable timeout.

Closes: https://bugs.gentoo.org/696858
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-libs/libktorrent/Manifest  |  1 -
 net-libs/libktorrent/libktorrent-2.1-r2.ebuild | 59 --
 2 files changed, 60 deletions(-)

diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index a2410449275..e5e618845c4 100644
--- a/net-libs/libktorrent/Manifest
+++ b/net-libs/libktorrent/Manifest
@@ -1,2 +1 @@
 DIST libktorrent-2.1.1.tar.xz 357516 BLAKE2B 
8bcec166fa1d4f09b72c4f31c771d5316f7411da538b789b111b641c8ba551d9c88bd1d68d8ad96396e125bb6b16f9d4e2a42a6b2166b40572d730d692d3cf5d
 SHA512 
5c7f0218193cae148b03ae86a886b89d08a46200755728468ef271a6201add88eca617898d486d1823699def282d0251e26e3b28d2642f45cab966c286127d37
-DIST libktorrent-2.1.tar.xz 355476 BLAKE2B 
c86205174ac0526455cc9d2049cd918fa1127e85ca18422823f89c3714950d6e4f606dabbeca4d615a17fc18d8032ef0cf86aa4d80726116ea667d9f257e0ddc
 SHA512 
28d7a4b8ee45ddcbadb3ca9d6e568120803081b0ecd3e9436ed721860717b98538c522653ea47975123f0819548d0cabe1973baffed887fcbbca11d84ea5ebe4

diff --git a/net-libs/libktorrent/libktorrent-2.1-r2.ebuild 
b/net-libs/libktorrent/libktorrent-2.1-r2.ebuild
deleted file mode 100644
index 11353873350..000
--- a/net-libs/libktorrent/libktorrent-2.1-r2.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-KDE_TEST="forceoptional"
-VIRTUALX_REQUIRED="test"
-inherit kde5
-
-DESCRIPTION="BitTorrent library based on KDE Frameworks"
-HOMEPAGE="https://kde.org/applications/internet/ktorrent/;
-SRC_URI="mirror://kde/stable/ktorrent/5.1/${P}.tar.xz"
-
-LICENSE="GPL-2+"
-KEYWORDS="amd64 ~arm arm64 x86"
-IUSE=""
-
-BDEPEND="sys-devel/gettext"
-COMMON_DEPEND="
-   $(add_frameworks_dep karchive)
-   $(add_frameworks_dep kconfig)
-   $(add_frameworks_dep kcoreaddons)
-   $(add_frameworks_dep kcrash)
-   $(add_frameworks_dep ki18n)
-   $(add_frameworks_dep kio)
-   $(add_frameworks_dep solid)
-   $(add_qt_dep qtnetwork)
-   $(add_qt_dep qtxml)
-   app-crypt/qca:2[qt5(+)]
-   >=dev-libs/gmp-6.0.0a:0=
-   dev-libs/libgcrypt:0=
-"
-DEPEND="${COMMON_DEPEND}
-   dev-libs/boost
-"
-RDEPEND="${COMMON_DEPEND}
-   !dev-libs/botan[gmp(-)]
-"
-
-PATCHES=( "${FILESDIR}/${P}-unused-link.patch" )
-
-src_prepare() {
-   kde5_src_prepare
-
-   # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is 
breaking this
-   sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
-   CMakeLists.txt || die
-   sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
-   KF5TorrentConfig.cmake.in || die
-}
-
-src_test() {
-   # failing network tests
-   local myctestargs=(
-   -E "(fin|packetloss|send|transmit)"
-   )
-
-   kde5_src_test
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2019-12-26 Thread Andreas Sturmlechner
commit: 716d562f91d6e7eaf6da6d499ea5e0ae9e63c6a0
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Fri Dec 27 00:03:24 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Fri Dec 27 00:07:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=716d562f

net-libs/libktorrent: Port to ecm.eclass and kde.org.eclass

Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-libs/libktorrent/libktorrent-2.1.1.ebuild | 30 +++
 1 file changed, 17 insertions(+), 13 deletions(-)

diff --git a/net-libs/libktorrent/libktorrent-2.1.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.1.1.ebuild
index 9399cfd161b..a71a4a0418b 100644
--- a/net-libs/libktorrent/libktorrent-2.1.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.1.1.ebuild
@@ -3,31 +3,35 @@
 
 EAPI=7
 
-KDE_TEST="forceoptional"
+ECM_TEST="forceoptional"
+KFMIN=5.60.0
+QTMIN=5.12.3
 VIRTUALX_REQUIRED="test"
-inherit kde5
+inherit ecm kde.org
 
 DESCRIPTION="BitTorrent library based on KDE Frameworks"
-HOMEPAGE="https://kde.org/applications/internet/ktorrent/;
+HOMEPAGE="https://kde.org/applications/internet/org.kde.ktorrent
+https://userbase.kde.org/KTorrent;
 SRC_URI="mirror://kde/stable/ktorrent/5.1.2/${P}.tar.xz"
 
 LICENSE="GPL-2+"
+SLOT="5"
 KEYWORDS="amd64 ~arm arm64 ~x86"
 IUSE=""
 
 BDEPEND="sys-devel/gettext"
 COMMON_DEPEND="
-   $(add_frameworks_dep karchive)
-   $(add_frameworks_dep kconfig)
-   $(add_frameworks_dep kcoreaddons)
-   $(add_frameworks_dep ki18n)
-   $(add_frameworks_dep kio)
-   $(add_frameworks_dep solid)
-   $(add_qt_dep qtnetwork)
-   $(add_qt_dep qtxml)
app-crypt/qca:2[qt5(+)]
>=dev-libs/gmp-6.0.0a:0=
dev-libs/libgcrypt:0=
+   >=dev-qt/qtnetwork-${QTMIN}:5
+   >=dev-qt/qtxml-${QTMIN}:5
+   >=kde-frameworks/karchive-${KFMIN}:5
+   >=kde-frameworks/kconfig-${KFMIN}:5
+   >=kde-frameworks/kcoreaddons-${KFMIN}:5
+   >=kde-frameworks/ki18n-${KFMIN}:5
+   >=kde-frameworks/kio-${KFMIN}:5
+   >=kde-frameworks/solid-${KFMIN}:5
 "
 DEPEND="${COMMON_DEPEND}
dev-libs/boost
@@ -42,7 +46,7 @@ PATCHES=(
 )
 
 src_prepare() {
-   kde5_src_prepare
+   ecm_src_prepare
 
# Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is 
breaking this
sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
@@ -57,5 +61,5 @@ src_test() {
-E "(fin|packetloss|send|superseedtest|transmit|utppolltest)"
)
 
-   kde5_src_test
+   ecm_src_test
 }



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/, net-libs/libktorrent/files/

2019-11-14 Thread Andreas Sturmlechner
commit: a51bb03daa7f2c74449464ce7d7f1d95aef88151
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Nov 14 17:30:12 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Nov 14 17:31:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a51bb03d

net-libs/libktorrent: Fix build

Broken all of a sudden by... who knows what.

Closes: https://bugs.gentoo.org/700090
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../files/libktorrent-2.1.1-fileops.patch  | 25 ++
 net-libs/libktorrent/libktorrent-2.1.1.ebuild  |  5 -
 2 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/net-libs/libktorrent/files/libktorrent-2.1.1-fileops.patch 
b/net-libs/libktorrent/files/libktorrent-2.1.1-fileops.patch
new file mode 100644
index 000..87d25e26b7b
--- /dev/null
+++ b/net-libs/libktorrent/files/libktorrent-2.1.1-fileops.patch
@@ -0,0 +1,25 @@
+From 1e8ce6e98d7ca0088624778964b9aed4696ce030 Mon Sep 17 00:00:00 2001
+From: Christoph Feck 
+Date: Thu, 14 Nov 2019 14:19:42 +0100
+Subject: Fix build with XFS
+
+BUG: 414050
+---
+ src/util/fileops.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/util/fileops.cpp b/src/util/fileops.cpp
+index c76b0e3..cfe4d5e 100644
+--- a/src/util/fileops.cpp
 b/src/util/fileops.cpp
+@@ -366,7 +366,7 @@ namespace bt
+ 
+   bool XfsPreallocate(const QString & path, Uint64 size)
+   {
+-  int fd = ::open(QFile::encodeName(path), O_RDWR | O_LARGEFILE);
++  int fd = ::open(QFile::encodeName(path).constData(), O_RDWR | 
O_LARGEFILE);
+   if (fd < 0)
+   throw Error(i18n("Cannot open %1: 
%2",path,strerror(errno)));
+ 
+-- 
+cgit v1.1

diff --git a/net-libs/libktorrent/libktorrent-2.1.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.1.1.ebuild
index 34a552aa1dc..9399cfd161b 100644
--- a/net-libs/libktorrent/libktorrent-2.1.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.1.1.ebuild
@@ -36,7 +36,10 @@ RDEPEND="${COMMON_DEPEND}
!dev-libs/botan[gmp(-)]
 "
 
-PATCHES=( "${FILESDIR}/${PN}-2.1-unused-link.patch" ) # git master
+PATCHES=(
+   "${FILESDIR}/${P}-fileops.patch" # bug 700090
+   "${FILESDIR}/${PN}-2.1-unused-link.patch" # git master
+)
 
 src_prepare() {
kde5_src_prepare



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2019-11-08 Thread Aaron Bauman
commit: d02d6c57a409688497bcd5ce5851b7ec7f11185f
Author: Aaron Bauman  gentoo  org>
AuthorDate: Fri Nov  8 16:51:49 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Fri Nov  8 16:51:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d02d6c57

net-libs/libktorrent: arm64 stable (bug #696858)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.78, Repoman-2.3.17

 net-libs/libktorrent/libktorrent-2.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libktorrent/libktorrent-2.1.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.1.1.ebuild
index 4c1d065c3ba..34a552aa1dc 100644
--- a/net-libs/libktorrent/libktorrent-2.1.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.1.1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://kde.org/applications/internet/ktorrent/;
 SRC_URI="mirror://kde/stable/ktorrent/5.1.2/${P}.tar.xz"
 
 LICENSE="GPL-2+"
-KEYWORDS="amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm arm64 ~x86"
 IUSE=""
 
 BDEPEND="sys-devel/gettext"



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2019-11-03 Thread Mikle Kolyada
commit: 1d1dded65a770bc5abfedf6a8f268528cf75a77f
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Nov  3 13:28:34 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Nov  3 13:29:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d1dded6

net-libs/libktorrent: amd64 stable wrt bug #696858

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Mikle Kolyada  gentoo.org>

 net-libs/libktorrent/libktorrent-2.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libktorrent/libktorrent-2.1.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.1.1.ebuild
index 2a51e661101..4c1d065c3ba 100644
--- a/net-libs/libktorrent/libktorrent-2.1.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.1.1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://kde.org/applications/internet/ktorrent/;
 SRC_URI="mirror://kde/stable/ktorrent/5.1.2/${P}.tar.xz"
 
 LICENSE="GPL-2+"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~x86"
 IUSE=""
 
 BDEPEND="sys-devel/gettext"



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2019-10-26 Thread Andreas Sturmlechner
commit: 77278f529366e5eebe9ace0e2865dcd657f1b81c
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Oct 26 22:41:40 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Oct 26 22:41:57 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77278f52

net-libs/libktorrent: Disable more brittle tests

Closes: https://bugs.gentoo.org/698166
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-libs/libktorrent/libktorrent-2.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libktorrent/libktorrent-2.1.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.1.1.ebuild
index d9c041e72e8..2a51e661101 100644
--- a/net-libs/libktorrent/libktorrent-2.1.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.1.1.ebuild
@@ -51,7 +51,7 @@ src_prepare() {
 src_test() {
# failing network tests
local myctestargs=(
-   -E "(fin|packetloss|send|transmit)"
+   -E "(fin|packetloss|send|superseedtest|transmit|utppolltest)"
)
 
kde5_src_test



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2019-09-01 Thread Andreas Sturmlechner
commit: 23bc6b85817f2091b63c5a7ddb4ff2c5d9a8ef5d
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Sep  1 21:23:51 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Sep  1 21:25:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23bc6b85

net-libs/libktorrent: We still want that patch

Package-Manager: Portage-2.3.74, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-libs/libktorrent/libktorrent-2.1.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-libs/libktorrent/libktorrent-2.1.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.1.1.ebuild
index b9e2994e0e4..d9c041e72e8 100644
--- a/net-libs/libktorrent/libktorrent-2.1.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.1.1.ebuild
@@ -20,7 +20,6 @@ COMMON_DEPEND="
$(add_frameworks_dep karchive)
$(add_frameworks_dep kconfig)
$(add_frameworks_dep kcoreaddons)
-   $(add_frameworks_dep kcrash)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kio)
$(add_frameworks_dep solid)
@@ -37,6 +36,8 @@ RDEPEND="${COMMON_DEPEND}
!dev-libs/botan[gmp(-)]
 "
 
+PATCHES=( "${FILESDIR}/${PN}-2.1-unused-link.patch" ) # git master
+
 src_prepare() {
kde5_src_prepare
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2019-09-01 Thread Andreas Sturmlechner
commit: 04e686cef9d34628717f181d56f0026485dccf4a
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Sep  1 20:11:36 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Sep  1 20:43:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04e686ce

net-libs/libktorrent: 2.1.1 version bump

Package-Manager: Portage-2.3.74, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-libs/libktorrent/Manifest |  1 +
 net-libs/libktorrent/libktorrent-2.1.1.ebuild | 57 +++
 2 files changed, 58 insertions(+)

diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index 86c553f1d84..a2410449275 100644
--- a/net-libs/libktorrent/Manifest
+++ b/net-libs/libktorrent/Manifest
@@ -1 +1,2 @@
+DIST libktorrent-2.1.1.tar.xz 357516 BLAKE2B 
8bcec166fa1d4f09b72c4f31c771d5316f7411da538b789b111b641c8ba551d9c88bd1d68d8ad96396e125bb6b16f9d4e2a42a6b2166b40572d730d692d3cf5d
 SHA512 
5c7f0218193cae148b03ae86a886b89d08a46200755728468ef271a6201add88eca617898d486d1823699def282d0251e26e3b28d2642f45cab966c286127d37
 DIST libktorrent-2.1.tar.xz 355476 BLAKE2B 
c86205174ac0526455cc9d2049cd918fa1127e85ca18422823f89c3714950d6e4f606dabbeca4d615a17fc18d8032ef0cf86aa4d80726116ea667d9f257e0ddc
 SHA512 
28d7a4b8ee45ddcbadb3ca9d6e568120803081b0ecd3e9436ed721860717b98538c522653ea47975123f0819548d0cabe1973baffed887fcbbca11d84ea5ebe4

diff --git a/net-libs/libktorrent/libktorrent-2.1.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.1.1.ebuild
new file mode 100644
index 000..b9e2994e0e4
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-2.1.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="BitTorrent library based on KDE Frameworks"
+HOMEPAGE="https://kde.org/applications/internet/ktorrent/;
+SRC_URI="mirror://kde/stable/ktorrent/5.1.2/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+BDEPEND="sys-devel/gettext"
+COMMON_DEPEND="
+   $(add_frameworks_dep karchive)
+   $(add_frameworks_dep kconfig)
+   $(add_frameworks_dep kcoreaddons)
+   $(add_frameworks_dep kcrash)
+   $(add_frameworks_dep ki18n)
+   $(add_frameworks_dep kio)
+   $(add_frameworks_dep solid)
+   $(add_qt_dep qtnetwork)
+   $(add_qt_dep qtxml)
+   app-crypt/qca:2[qt5(+)]
+   >=dev-libs/gmp-6.0.0a:0=
+   dev-libs/libgcrypt:0=
+"
+DEPEND="${COMMON_DEPEND}
+   dev-libs/boost
+"
+RDEPEND="${COMMON_DEPEND}
+   !dev-libs/botan[gmp(-)]
+"
+
+src_prepare() {
+   kde5_src_prepare
+
+   # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is 
breaking this
+   sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
+   CMakeLists.txt || die
+   sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
+   KF5TorrentConfig.cmake.in || die
+}
+
+src_test() {
+   # failing network tests
+   local myctestargs=(
+   -E "(fin|packetloss|send|transmit)"
+   )
+
+   kde5_src_test
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2019-08-12 Thread Andreas Sturmlechner
commit: 8808337a122985fe76a240eac25a4ad1e48ea05a
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Aug 12 06:10:13 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Aug 12 06:16:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8808337a

net-libs/libktorrent: Drop 2.1-r1

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-libs/libktorrent/libktorrent-2.1-r1.ebuild | 58 --
 1 file changed, 58 deletions(-)

diff --git a/net-libs/libktorrent/libktorrent-2.1-r1.ebuild 
b/net-libs/libktorrent/libktorrent-2.1-r1.ebuild
deleted file mode 100644
index 66f555f3fa3..000
--- a/net-libs/libktorrent/libktorrent-2.1-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-KDE_TEST="forceoptional"
-VIRTUALX_REQUIRED="test"
-inherit kde5
-
-DESCRIPTION="BitTorrent library based on KDE Frameworks"
-HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
-SRC_URI="mirror://kde/stable/ktorrent/5.1/${P}.tar.xz"
-
-LICENSE="GPL-2+"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-IUSE=""
-
-COMMON_DEPEND="
-   $(add_frameworks_dep karchive)
-   $(add_frameworks_dep kconfig)
-   $(add_frameworks_dep kcoreaddons)
-   $(add_frameworks_dep kcrash)
-   $(add_frameworks_dep ki18n)
-   $(add_frameworks_dep kio)
-   $(add_frameworks_dep solid)
-   $(add_qt_dep qtnetwork)
-   $(add_qt_dep qtxml)
-   app-crypt/qca:2[qt5(+)]
-   >=dev-libs/gmp-6.0.0a:0=
-   dev-libs/libgcrypt:0=
-"
-DEPEND="${COMMON_DEPEND}
-   dev-libs/boost
-   sys-devel/gettext
-"
-RDEPEND="${COMMON_DEPEND}
-   !net-libs/libktorrent:4
-   !dev-libs/botan[gmp(-)]
-"
-
-src_prepare() {
-   kde5_src_prepare
-
-   # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is 
breaking this
-   sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
-   CMakeLists.txt || die
-   sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
-   KF5TorrentConfig.cmake.in || die
-}
-
-src_test() {
-   # failing network tests
-   local myctestargs=(
-   -E "(fin|packetloss|send|transmit)"
-   )
-
-   kde5_src_test
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2019-08-11 Thread Thomas Deutschmann
commit: 333edd1a11a8ab08d70d78bdfdbcea0cbc1cabb0
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Aug 11 20:50:28 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Aug 11 21:28:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=333edd1a

net-libs/libktorrent: x86 stable (bug #690302)

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-libs/libktorrent/libktorrent-2.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libktorrent/libktorrent-2.1-r2.ebuild 
b/net-libs/libktorrent/libktorrent-2.1-r2.ebuild
index 6ddd9ce6d45..11353873350 100644
--- a/net-libs/libktorrent/libktorrent-2.1-r2.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.1-r2.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://kde.org/applications/internet/ktorrent/;
 SRC_URI="mirror://kde/stable/ktorrent/5.1/${P}.tar.xz"
 
 LICENSE="GPL-2+"
-KEYWORDS="amd64 ~arm arm64 ~x86"
+KEYWORDS="amd64 ~arm arm64 x86"
 IUSE=""
 
 BDEPEND="sys-devel/gettext"



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2019-07-22 Thread Mikle Kolyada
commit: 1d9e46bc4bc270bf3add54344f64e22687438560
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Jul 22 08:48:20 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Jul 22 08:48:20 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d9e46bc

net-libs/libktorrent: amd64 stable wrt bug #690302

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 net-libs/libktorrent/libktorrent-2.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libktorrent/libktorrent-2.1-r2.ebuild 
b/net-libs/libktorrent/libktorrent-2.1-r2.ebuild
index 230154addc5..df6c41501b4 100644
--- a/net-libs/libktorrent/libktorrent-2.1-r2.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.1-r2.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://kde.org/applications/internet/ktorrent/;
 SRC_URI="mirror://kde/stable/ktorrent/5.1/${P}.tar.xz"
 
 LICENSE="GPL-2+"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~x86"
 IUSE=""
 
 BDEPEND="sys-devel/gettext"



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/, net-libs/libktorrent/files/

2019-07-15 Thread Andreas Sturmlechner
commit: f7ee786b4173c5077e353a61c9f74462f211dfb6
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Mon Jul 15 19:09:42 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Mon Jul 15 20:51:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7ee786b

net-libs/libktorrent: EAPI-7 bump

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 .../files/libktorrent-2.1-unused-link.patch| 24 +
 net-libs/libktorrent/libktorrent-2.1-r2.ebuild | 59 ++
 2 files changed, 83 insertions(+)

diff --git a/net-libs/libktorrent/files/libktorrent-2.1-unused-link.patch 
b/net-libs/libktorrent/files/libktorrent-2.1-unused-link.patch
new file mode 100644
index 000..636c59d1b06
--- /dev/null
+++ b/net-libs/libktorrent/files/libktorrent-2.1-unused-link.patch
@@ -0,0 +1,24 @@
+From e7c4847d9bbdc5d7c7435039aa5088d276ca5bce Mon Sep 17 00:00:00 2001
+From: Jonathan Riddell 
+Date: Mon, 10 Jun 2019 13:27:29 +0100
+Subject: remove unused link to kcrash, it can be used by the apps which use
+ libktorrent but it needs to be initialised not just arbitrarily linked to
+
+---
+ src/CMakeLists.txt | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index d347e07..1578bf4 100644
+--- a/src/CMakeLists.txt
 b/src/CMakeLists.txt
+@@ -235,7 +235,6 @@ PRIVATE
+ qca-qt5
+ PUBLIC
+ KF5::Archive
+-KF5::Crash
+ KF5::KIOCore
+ KF5::KIOWidgets
+ KF5::Solid
+-- 
+cgit v1.1

diff --git a/net-libs/libktorrent/libktorrent-2.1-r2.ebuild 
b/net-libs/libktorrent/libktorrent-2.1-r2.ebuild
new file mode 100644
index 000..230154addc5
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-2.1-r2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="BitTorrent library based on KDE Frameworks"
+HOMEPAGE="https://kde.org/applications/internet/ktorrent/;
+SRC_URI="mirror://kde/stable/ktorrent/5.1/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE=""
+
+BDEPEND="sys-devel/gettext"
+COMMON_DEPEND="
+   $(add_frameworks_dep karchive)
+   $(add_frameworks_dep kconfig)
+   $(add_frameworks_dep kcoreaddons)
+   $(add_frameworks_dep kcrash)
+   $(add_frameworks_dep ki18n)
+   $(add_frameworks_dep kio)
+   $(add_frameworks_dep solid)
+   $(add_qt_dep qtnetwork)
+   $(add_qt_dep qtxml)
+   app-crypt/qca:2[qt5(+)]
+   >=dev-libs/gmp-6.0.0a:0=
+   dev-libs/libgcrypt:0=
+"
+DEPEND="${COMMON_DEPEND}
+   dev-libs/boost
+"
+RDEPEND="${COMMON_DEPEND}
+   !dev-libs/botan[gmp(-)]
+"
+
+PATCHES=( "${FILESDIR}/${P}-unused-link.patch" )
+
+src_prepare() {
+   kde5_src_prepare
+
+   # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is 
breaking this
+   sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
+   CMakeLists.txt || die
+   sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
+   KF5TorrentConfig.cmake.in || die
+}
+
+src_test() {
+   # failing network tests
+   local myctestargs=(
+   -E "(fin|packetloss|send|transmit)"
+   )
+
+   kde5_src_test
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2018-03-22 Thread Andreas Sturmlechner
commit: 25683aa58b0ebf689940386ecae8b7f4213a3765
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Mar 22 10:57:40 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Mar 22 12:15:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25683aa5

net-libs/libktorrent: Prepare for app-crypt/qca w/o USE=qt5

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../libktorrent/{libktorrent-2.1.ebuild => libktorrent-2.1-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/libktorrent/libktorrent-2.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.1-r1.ebuild
similarity index 95%
rename from net-libs/libktorrent/libktorrent-2.1.ebuild
rename to net-libs/libktorrent/libktorrent-2.1-r1.ebuild
index 32db434dfa3..ffb74fe4c0a 100644
--- a/net-libs/libktorrent/libktorrent-2.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -25,7 +25,7 @@ COMMON_DEPEND="
$(add_frameworks_dep solid)
$(add_qt_dep qtnetwork)
$(add_qt_dep qtxml)
-   app-crypt/qca:2[qt5]
+   app-crypt/qca:2[qt5(+)]
>=dev-libs/gmp-6.0.0a:0=
dev-libs/libgcrypt:0=
 "



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2017-09-30 Thread Andreas Sturmlechner
commit: 6d8cb80192ec48139deeec8c8c3f001991e37e66
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Sep 30 12:31:30 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Sep 30 12:41:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d8cb801

net-libs/libktorrent: Drop old

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 net-libs/libktorrent/Manifest|  1 -
 net-libs/libktorrent/libktorrent-2.0.1-r1.ebuild | 72 
 2 files changed, 73 deletions(-)

diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index 4de670ed95c..12a12537b34 100644
--- a/net-libs/libktorrent/Manifest
+++ b/net-libs/libktorrent/Manifest
@@ -1,2 +1 @@
-DIST libktorrent-2.0.1.tar.xz 676304 SHA256 
c70d9ee11a1ac95145284e2ab9aec689df21b7462f389389b8d54f892a273f42 SHA512 
bb1723829461e9679a734fb39636016efdb49cf13b027f430f2272980d60f9bf261085df8b55d57bd59daab149a5e28ac124de65710fb3481167f9a0567bb1d7
 WHIRLPOOL 
6f989a880d42d1fcf2b704e9d4cf69025a33ecc51063fc4d958951f6b7d7ca0999baa71931f1af68a6b94bded98f0edd72f52c103b446f4828eadfdf9e604088
 DIST libktorrent-2.1.tar.xz 355476 SHA256 
3eefdcceec73410c558e82d7be22eb2ed18679e9ab64f34cc100b54e186fe26f SHA512 
28d7a4b8ee45ddcbadb3ca9d6e568120803081b0ecd3e9436ed721860717b98538c522653ea47975123f0819548d0cabe1973baffed887fcbbca11d84ea5ebe4
 WHIRLPOOL 
ad1bae538f64495f611b71ac539137aa156c31ed51c7c9f0ac5031378799b811146913fd5621fc586aa91187a5299f4c80d5c500bbacb08b4926d904df1fadcc

diff --git a/net-libs/libktorrent/libktorrent-2.0.1-r1.ebuild 
b/net-libs/libktorrent/libktorrent-2.0.1-r1.ebuild
deleted file mode 100644
index 139323c86d1..000
--- a/net-libs/libktorrent/libktorrent-2.0.1-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-if [[ ${PV} != * ]]; then
-   inherit versionator
-   # upstream likes to skip that _ in beta releases
-   MY_PV="${PV/_/}"
-   
KTORRENT_VERSION=$(($(get_major_version)+3)).$(get_version_component_range 2 
${MY_PV})
-   MY_P="${PN}-${MY_PV}"
-
-   
SRC_URI="mirror://kde/stable/ktorrent/${KTORRENT_VERSION}/${MY_P}.tar.xz"
-   S="${WORKDIR}"/"${MY_P}"
-
-   KEYWORDS="amd64 ~arm x86"
-fi
-
-KDE_TEST="forceoptional"
-VIRTUALX_REQUIRED="test"
-inherit kde5
-
-DESCRIPTION="BitTorrent library based on KDE Frameworks"
-HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
-
-LICENSE="GPL-2+"
-IUSE=""
-
-COMMON_DEPEND="
-   $(add_frameworks_dep karchive)
-   $(add_frameworks_dep kconfig)
-   $(add_frameworks_dep kcoreaddons)
-   $(add_frameworks_dep kcrash)
-   $(add_frameworks_dep ki18n)
-   $(add_frameworks_dep kio)
-   $(add_frameworks_dep solid)
-   $(add_qt_dep qtgui)
-   $(add_qt_dep qtnetwork)
-   $(add_qt_dep qtwidgets)
-   $(add_qt_dep qtxml)
-   app-crypt/qca:2[qt5]
-   >=dev-libs/gmp-6.0.0a:0=
-   dev-libs/libgcrypt:0=
-"
-DEPEND="${COMMON_DEPEND}
-   dev-libs/boost
-   sys-devel/gettext
-"
-RDEPEND="${COMMON_DEPEND}
-   !net-libs/libktorrent:4
-   !dev-libs/botan[gmp(-)]
-"
-
-src_prepare() {
-   kde5_src_prepare
-
-   # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is 
breaking this
-   sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
-   CMakeLists.txt || die
-   sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
-   LibKTorrentConfig.cmake.in || die
-
-   # do not build non-installed example binary
-   sed -i -e "/add_subdirectory(examples)/d" CMakeLists.txt || die
-
-   if ! use test ; then
-   sed -i -e "/add_subdirectory(testlib)/d" CMakeLists.txt || die
-   sed -i -e "/add_subdirectory(tests)/d" \
-   
src/{datachecker,dht,diskio,download,magnet,mse,net,peer,util,utp,torrent}/CMakeLists.txt
 \
-   || die "Failed to remove tests"
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2017-09-28 Thread Michael Palimaka
commit: 813faa16af0a1f397cf1bdfde6174858e8ab7c1b
Author: Michael Palimaka  gentoo  org>
AuthorDate: Fri Sep 29 02:54:42 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Fri Sep 29 02:55:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=813faa16

net-libs/libktorrent: stabilise 2.1 for amd64/x86

Bug: https://bugs.gentoo.org/632235
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-libs/libktorrent/libktorrent-2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/libktorrent/libktorrent-2.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.1.ebuild
index eab7d9cd1c7..32db434dfa3 100644
--- a/net-libs/libktorrent/libktorrent-2.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
 SRC_URI="mirror://kde/stable/ktorrent/5.1/${P}.tar.xz"
 
 LICENSE="GPL-2+"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="amd64 ~arm x86"
 IUSE=""
 
 COMMON_DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2017-09-28 Thread Michael Palimaka
commit: 81dccb14f59a2f5fcdd7bfb5631124b930531b7f
Author: Michael Palimaka  gentoo  org>
AuthorDate: Fri Sep 29 02:48:05 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Fri Sep 29 02:55:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81dccb14

net-libs/libktorrent: disable broken tests

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-libs/libktorrent/libktorrent-2.1.ebuild | 9 +
 1 file changed, 9 insertions(+)

diff --git a/net-libs/libktorrent/libktorrent-2.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.1.ebuild
index 67d2aef77b2..eab7d9cd1c7 100644
--- a/net-libs/libktorrent/libktorrent-2.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.1.ebuild
@@ -47,3 +47,12 @@ src_prepare() {
sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
KF5TorrentConfig.cmake.in || die
 }
+
+src_test() {
+   # failing network tests
+   local myctestargs=(
+   -E "(fin|packetloss|send|transmit)"
+   )
+
+   kde5_src_test
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2017-08-31 Thread Andreas Sturmlechner
commit: 674572f0ae7164ffb5fe5ea19de6985d53d195e6
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Thu Aug 31 20:29:13 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Thu Aug 31 20:53:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=674572f0

net-libs/libktorrent: 2.1 version bump

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-libs/libktorrent/Manifest   |  1 +
 net-libs/libktorrent/libktorrent-2.1.ebuild | 49 +
 2 files changed, 50 insertions(+)

diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index 6febb088bfd..4de670ed95c 100644
--- a/net-libs/libktorrent/Manifest
+++ b/net-libs/libktorrent/Manifest
@@ -1 +1,2 @@
 DIST libktorrent-2.0.1.tar.xz 676304 SHA256 
c70d9ee11a1ac95145284e2ab9aec689df21b7462f389389b8d54f892a273f42 SHA512 
bb1723829461e9679a734fb39636016efdb49cf13b027f430f2272980d60f9bf261085df8b55d57bd59daab149a5e28ac124de65710fb3481167f9a0567bb1d7
 WHIRLPOOL 
6f989a880d42d1fcf2b704e9d4cf69025a33ecc51063fc4d958951f6b7d7ca0999baa71931f1af68a6b94bded98f0edd72f52c103b446f4828eadfdf9e604088
+DIST libktorrent-2.1.tar.xz 355476 SHA256 
3eefdcceec73410c558e82d7be22eb2ed18679e9ab64f34cc100b54e186fe26f SHA512 
28d7a4b8ee45ddcbadb3ca9d6e568120803081b0ecd3e9436ed721860717b98538c522653ea47975123f0819548d0cabe1973baffed887fcbbca11d84ea5ebe4
 WHIRLPOOL 
ad1bae538f64495f611b71ac539137aa156c31ed51c7c9f0ac5031378799b811146913fd5621fc586aa91187a5299f4c80d5c500bbacb08b4926d904df1fadcc

diff --git a/net-libs/libktorrent/libktorrent-2.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.1.ebuild
new file mode 100644
index 000..67d2aef77b2
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-2.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="BitTorrent library based on KDE Frameworks"
+HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
+SRC_URI="mirror://kde/stable/ktorrent/5.1/${P}.tar.xz"
+
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+COMMON_DEPEND="
+   $(add_frameworks_dep karchive)
+   $(add_frameworks_dep kconfig)
+   $(add_frameworks_dep kcoreaddons)
+   $(add_frameworks_dep kcrash)
+   $(add_frameworks_dep ki18n)
+   $(add_frameworks_dep kio)
+   $(add_frameworks_dep solid)
+   $(add_qt_dep qtnetwork)
+   $(add_qt_dep qtxml)
+   app-crypt/qca:2[qt5]
+   >=dev-libs/gmp-6.0.0a:0=
+   dev-libs/libgcrypt:0=
+"
+DEPEND="${COMMON_DEPEND}
+   dev-libs/boost
+   sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+   !net-libs/libktorrent:4
+   !dev-libs/botan[gmp(-)]
+"
+
+src_prepare() {
+   kde5_src_prepare
+
+   # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is 
breaking this
+   sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
+   CMakeLists.txt || die
+   sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
+   KF5TorrentConfig.cmake.in || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2017-08-20 Thread Andreas Sturmlechner
commit: a3194cc0f9efc40d48953c784b0b52c1a8bbdb4f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Aug 20 09:19:02 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Aug 20 09:22:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3194cc0

net-libs/libktorrent: Drop slot 4

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-libs/libktorrent/Manifest |  1 -
 net-libs/libktorrent/libktorrent-1.3.1.ebuild | 50 ---
 2 files changed, 51 deletions(-)

diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index 8105dd8a8dc..6febb088bfd 100644
--- a/net-libs/libktorrent/Manifest
+++ b/net-libs/libktorrent/Manifest
@@ -1,2 +1 @@
-DIST libktorrent-1.3.1.tar.bz2 863105 SHA256 
2fe11ccb4bf2028c3da11e52cde890f1b3a90560e548eac89a4f8e1558b09725 SHA512 
63dd4a642da4808cfe414bf4767185daf3233def5259c3f9ab899be58f263c16362eaa5e01383bf9acd78a381bc3915a84965d17f1bd10054cf94851294b622b
 WHIRLPOOL 
1ad34d8e4ad3ad1b8a810d3a2eec1bd13a978ef6be1230521789021160ff0814909052fe2b39efb212276b944d7a5560c0bc0e104eb62f5399062c0d5194348e
 DIST libktorrent-2.0.1.tar.xz 676304 SHA256 
c70d9ee11a1ac95145284e2ab9aec689df21b7462f389389b8d54f892a273f42 SHA512 
bb1723829461e9679a734fb39636016efdb49cf13b027f430f2272980d60f9bf261085df8b55d57bd59daab149a5e28ac124de65710fb3481167f9a0567bb1d7
 WHIRLPOOL 
6f989a880d42d1fcf2b704e9d4cf69025a33ecc51063fc4d958951f6b7d7ca0999baa71931f1af68a6b94bded98f0edd72f52c103b446f4828eadfdf9e604088

diff --git a/net-libs/libktorrent/libktorrent-1.3.1.ebuild 
b/net-libs/libktorrent/libktorrent-1.3.1.ebuild
deleted file mode 100644
index de8e79e6dbb..000
--- a/net-libs/libktorrent/libktorrent-1.3.1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-KDE_SCM="git"
-if [[ ${PV} != * ]]; then
-   inherit versionator
-   # upstream likes to skip that _ in beta releases
-   MY_PV="${PV/_/}"
-   
KTORRENT_VERSION=$(($(get_major_version)+3)).$(get_version_component_range 2-3 
${MY_PV})
-   MY_P="${PN}-${MY_PV}"
-   KDE_HANDBOOK="optional"
-   KDE_DOC_DIRS="doc"
-
-   KDE_LINGUAS="ar ast be bg bs ca ca@valencia cs da de el en_GB eo es et 
eu
-   fi fr ga gl hi hne hr hu is it ja km ku lt lv ms nb nds nl nn 
oc pl
-   pt pt_BR ro ru se si sk sl sr sr@ijekavian sr@ijekavianlatin
-   sr@latin sv tr ug uk zh_CN zh_TW"
-   
SRC_URI="http://ktorrent.org/downloads/${KTORRENT_VERSION}/${MY_P}.tar.bz2;
-   S="${WORKDIR}"/"${MY_P}"
-
-   KEYWORDS="amd64 ~arm x86"
-fi
-
-VIRTUALX_REQUIRED="test"
-inherit kde4-base
-
-DESCRIPTION="A BitTorrent library based on KDE Platform"
-HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
-
-LICENSE="GPL-2"
-SLOT="4"
-IUSE="debug"
-
-RDEPEND="
-   app-crypt/qca:2[qt4(+)]
-   dev-libs/gmp:0=
-   dev-libs/libgcrypt:0=
-"
-DEPEND="${RDEPEND}
-   dev-libs/boost
-   sys-devel/gettext
-"
-
-src_prepare() {
-   kde4-base_src_prepare
-   # do not build non-installed example binary
-   sed -i -e '/add_subdirectory(examples)/d' CMakeLists.txt || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2017-06-27 Thread Andreas Sturmlechner
commit: 25725daf81b9fd9a46f1e14d6de3bbb4057d6040
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Jun 27 17:23:34 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Jun 27 17:23:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25725daf

net-libs/libktorrent: Drop old

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 net-libs/libktorrent/libktorrent-2.0.1.ebuild | 71 ---
 1 file changed, 71 deletions(-)

diff --git a/net-libs/libktorrent/libktorrent-2.0.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.0.1.ebuild
deleted file mode 100644
index 1abac768ce6..000
--- a/net-libs/libktorrent/libktorrent-2.0.1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-if [[ ${PV} != * ]]; then
-   inherit versionator
-   # upstream likes to skip that _ in beta releases
-   MY_PV="${PV/_/}"
-   
KTORRENT_VERSION=$(($(get_major_version)+3)).$(get_version_component_range 2 
${MY_PV})
-   MY_P="${PN}-${MY_PV}"
-
-   
SRC_URI="mirror://kde/stable/ktorrent/${KTORRENT_VERSION}/${MY_P}.tar.xz"
-   S="${WORKDIR}"/"${MY_P}"
-
-   KEYWORDS="amd64 ~arm x86"
-fi
-
-KDE_TEST="forceoptional"
-VIRTUALX_REQUIRED="test"
-inherit kde5
-
-DESCRIPTION="BitTorrent library based on KDE Frameworks"
-HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
-
-LICENSE="GPL-2+"
-IUSE=""
-
-COMMON_DEPEND="
-   $(add_frameworks_dep karchive)
-   $(add_frameworks_dep kconfig)
-   $(add_frameworks_dep kcoreaddons)
-   $(add_frameworks_dep kcrash)
-   $(add_frameworks_dep ki18n)
-   $(add_frameworks_dep kio)
-   $(add_frameworks_dep solid)
-   $(add_qt_dep qtgui)
-   $(add_qt_dep qtnetwork)
-   $(add_qt_dep qtwidgets)
-   $(add_qt_dep qtxml)
-   app-crypt/qca:2[qt5]
-   >=dev-libs/gmp-6.0.0a:0=
-   dev-libs/libgcrypt:0=
-"
-DEPEND="${COMMON_DEPEND}
-   dev-libs/boost
-   sys-devel/gettext
-"
-RDEPEND="${COMMON_DEPEND}
-   !net-libs/libktorrent:4
-"
-
-src_prepare() {
-   kde5_src_prepare
-
-   # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is 
breaking this
-   sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
-   CMakeLists.txt || die
-   sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
-   LibKTorrentConfig.cmake.in || die
-
-   # do not build non-installed example binary
-   sed -i -e "/add_subdirectory(examples)/d" CMakeLists.txt || die
-
-   if ! use test ; then
-   sed -i -e "/add_subdirectory(testlib)/d" CMakeLists.txt || die
-   sed -i -e "/add_subdirectory(tests)/d" \
-   
src/{datachecker,dht,diskio,download,magnet,mse,net,peer,util,utp,torrent}/CMakeLists.txt
 \
-   || die "Failed to remove tests"
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2017-06-27 Thread Andreas Sturmlechner
commit: a8bb9598578229d466cd6e82a1d9f3aeafe7d488
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Jun 27 17:20:42 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Jun 27 17:23:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8bb9598

net-libs/libktorrent: Block dev-libs/botan[gmp] for runtime crashes

See also: https://github.com/randombit/botan/issues/1090
Thanks-to: Andrius Štikonas  stikonas.eu>

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 net-libs/libktorrent/libktorrent-2.0.1-r1.ebuild | 72 
 1 file changed, 72 insertions(+)

diff --git a/net-libs/libktorrent/libktorrent-2.0.1-r1.ebuild 
b/net-libs/libktorrent/libktorrent-2.0.1-r1.ebuild
new file mode 100644
index 000..139323c86d1
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-2.0.1-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+if [[ ${PV} != * ]]; then
+   inherit versionator
+   # upstream likes to skip that _ in beta releases
+   MY_PV="${PV/_/}"
+   
KTORRENT_VERSION=$(($(get_major_version)+3)).$(get_version_component_range 2 
${MY_PV})
+   MY_P="${PN}-${MY_PV}"
+
+   
SRC_URI="mirror://kde/stable/ktorrent/${KTORRENT_VERSION}/${MY_P}.tar.xz"
+   S="${WORKDIR}"/"${MY_P}"
+
+   KEYWORDS="amd64 ~arm x86"
+fi
+
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="BitTorrent library based on KDE Frameworks"
+HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
+
+LICENSE="GPL-2+"
+IUSE=""
+
+COMMON_DEPEND="
+   $(add_frameworks_dep karchive)
+   $(add_frameworks_dep kconfig)
+   $(add_frameworks_dep kcoreaddons)
+   $(add_frameworks_dep kcrash)
+   $(add_frameworks_dep ki18n)
+   $(add_frameworks_dep kio)
+   $(add_frameworks_dep solid)
+   $(add_qt_dep qtgui)
+   $(add_qt_dep qtnetwork)
+   $(add_qt_dep qtwidgets)
+   $(add_qt_dep qtxml)
+   app-crypt/qca:2[qt5]
+   >=dev-libs/gmp-6.0.0a:0=
+   dev-libs/libgcrypt:0=
+"
+DEPEND="${COMMON_DEPEND}
+   dev-libs/boost
+   sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+   !net-libs/libktorrent:4
+   !dev-libs/botan[gmp(-)]
+"
+
+src_prepare() {
+   kde5_src_prepare
+
+   # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is 
breaking this
+   sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
+   CMakeLists.txt || die
+   sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
+   LibKTorrentConfig.cmake.in || die
+
+   # do not build non-installed example binary
+   sed -i -e "/add_subdirectory(examples)/d" CMakeLists.txt || die
+
+   if ! use test ; then
+   sed -i -e "/add_subdirectory(testlib)/d" CMakeLists.txt || die
+   sed -i -e "/add_subdirectory(tests)/d" \
+   
src/{datachecker,dht,diskio,download,magnet,mse,net,peer,util,utp,torrent}/CMakeLists.txt
 \
+   || die "Failed to remove tests"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2017-06-04 Thread Andreas Sturmlechner
commit: 4f029f1983719a67024bf6be5d5f6f94a93fc742
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jun  4 18:44:30 2017 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jun  4 18:46:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f029f19

net-libs/libktorrent: Fix HOMEPAGE

Gentoo-bug: 620834

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 net-libs/libktorrent/libktorrent-1.3.1.ebuild | 2 +-
 net-libs/libktorrent/libktorrent-2.0.1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/libktorrent/libktorrent-1.3.1.ebuild 
b/net-libs/libktorrent/libktorrent-1.3.1.ebuild
index bd19ea9e749..de8e79e6dbb 100644
--- a/net-libs/libktorrent/libktorrent-1.3.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-1.3.1.ebuild
@@ -27,7 +27,7 @@ VIRTUALX_REQUIRED="test"
 inherit kde4-base
 
 DESCRIPTION="A BitTorrent library based on KDE Platform"
-HOMEPAGE="http://ktorrent.pwsp.net/;
+HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
 
 LICENSE="GPL-2"
 SLOT="4"

diff --git a/net-libs/libktorrent/libktorrent-2.0.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.0.1.ebuild
index 74cc60a421c..1abac768ce6 100644
--- a/net-libs/libktorrent/libktorrent-2.0.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.0.1.ebuild
@@ -21,7 +21,7 @@ VIRTUALX_REQUIRED="test"
 inherit kde5
 
 DESCRIPTION="BitTorrent library based on KDE Frameworks"
-HOMEPAGE="http://ktorrent.pwsp.net/;
+HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/;
 
 LICENSE="GPL-2+"
 IUSE=""



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2017-01-04 Thread Johannes Huber
commit: 926b104206145f5f84d1d07edba9912732623f53
Author: Johannes Huber  gentoo  org>
AuthorDate: Wed Jan  4 17:20:20 2017 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Wed Jan  4 17:22:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=926b1042

net-libs/libktorrent: Drop KEYWORDS for live

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-libs/libktorrent/libktorrent-1.3.1.ebuild | 5 ++---
 net-libs/libktorrent/libktorrent-2.0.1.ebuild | 4 +---
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/net-libs/libktorrent/libktorrent-1.3.1.ebuild 
b/net-libs/libktorrent/libktorrent-1.3.1.ebuild
index b9735dc..46447de 100644
--- a/net-libs/libktorrent/libktorrent-1.3.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-1.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -22,9 +22,8 @@ if [[ ${PV} != * ]]; then
S="${WORKDIR}"/"${MY_P}"
 
KEYWORDS="amd64 ~arm x86"
-else
-   KEYWORDS=""
 fi
+
 VIRTUALX_REQUIRED="test"
 inherit kde4-base
 

diff --git a/net-libs/libktorrent/libktorrent-2.0.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.0.1.ebuild
index f8a736e..a31b899 100644
--- a/net-libs/libktorrent/libktorrent-2.0.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -15,8 +15,6 @@ if [[ ${PV} != * ]]; then
S="${WORKDIR}"/"${MY_P}"
 
KEYWORDS="amd64 ~arm ~x86"
-else
-   KEYWORDS="amd64"
 fi
 
 KDE_TEST="forceoptional"



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2016-12-21 Thread Tobias Klausmann
commit: 3498ba2598b3223afb52d26e41d793591e97cfcd
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Dec 21 09:39:23 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Dec 21 09:39:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3498ba25

net-libs/libktorrent-2.0.1-r0: stable on amd64

Gentoo-Bug: 596816

 net-libs/libktorrent/libktorrent-2.0.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/libktorrent/libktorrent-2.0.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.0.1.ebuild
index 5a8b0ad..f8a736e 100644
--- a/net-libs/libktorrent/libktorrent-2.0.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.0.1.ebuild
@@ -14,9 +14,9 @@ if [[ ${PV} != * ]]; then

SRC_URI="mirror://kde/stable/ktorrent/${KTORRENT_VERSION}/${MY_P}.tar.xz"
S="${WORKDIR}"/"${MY_P}"
 
-   KEYWORDS="~amd64 ~arm ~x86"
+   KEYWORDS="amd64 ~arm ~x86"
 else
-   KEYWORDS=""
+   KEYWORDS="amd64"
 fi
 
 KDE_TEST="forceoptional"



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2016-07-07 Thread Michael Palimaka
commit: 328caa68fd432509ac65465941056829d8de96d3
Author: Michael Palimaka  gentoo  org>
AuthorDate: Wed Jul  6 17:48:34 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Jul  7 17:52:08 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=328caa68

net-libs/libktorrent: drop ~ppc/~ppc64 keyword

Package-Manager: portage-2.3.0

 net-libs/libktorrent/libktorrent-1.3.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/libktorrent/libktorrent-1.3.1.ebuild 
b/net-libs/libktorrent/libktorrent-1.3.1.ebuild
index 4f5a333..b9735dc 100644
--- a/net-libs/libktorrent/libktorrent-1.3.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-1.3.1.ebuild
@@ -21,9 +21,9 @@ if [[ ${PV} != * ]]; then

SRC_URI="http://ktorrent.org/downloads/${KTORRENT_VERSION}/${MY_P}.tar.bz2;
S="${WORKDIR}"/"${MY_P}"
 
-   KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
+   KEYWORDS="amd64 ~arm x86"
 else
-   KEYWORDS="~ppc ~ppc64"
+   KEYWORDS=""
 fi
 VIRTUALX_REQUIRED="test"
 inherit kde4-base



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2016-06-26 Thread Michael Palimaka
commit: 6a6cd0edebf2d837b0f3f503417f93fbb8686524
Author: Michael Palimaka  gentoo  org>
AuthorDate: Sun Jun 26 18:06:41 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Jun 26 18:07:11 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a6cd0ed

net-libs/libktorrent: remove old

Package-Manager: portage-2.3.0

 net-libs/libktorrent/Manifest   |  1 -
 net-libs/libktorrent/libktorrent-2.0.ebuild | 74 -
 2 files changed, 75 deletions(-)

diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index 579bd35..8105dd8 100644
--- a/net-libs/libktorrent/Manifest
+++ b/net-libs/libktorrent/Manifest
@@ -1,3 +1,2 @@
 DIST libktorrent-1.3.1.tar.bz2 863105 SHA256 
2fe11ccb4bf2028c3da11e52cde890f1b3a90560e548eac89a4f8e1558b09725 SHA512 
63dd4a642da4808cfe414bf4767185daf3233def5259c3f9ab899be58f263c16362eaa5e01383bf9acd78a381bc3915a84965d17f1bd10054cf94851294b622b
 WHIRLPOOL 
1ad34d8e4ad3ad1b8a810d3a2eec1bd13a978ef6be1230521789021160ff0814909052fe2b39efb212276b944d7a5560c0bc0e104eb62f5399062c0d5194348e
 DIST libktorrent-2.0.1.tar.xz 676304 SHA256 
c70d9ee11a1ac95145284e2ab9aec689df21b7462f389389b8d54f892a273f42 SHA512 
bb1723829461e9679a734fb39636016efdb49cf13b027f430f2272980d60f9bf261085df8b55d57bd59daab149a5e28ac124de65710fb3481167f9a0567bb1d7
 WHIRLPOOL 
6f989a880d42d1fcf2b704e9d4cf69025a33ecc51063fc4d958951f6b7d7ca0999baa71931f1af68a6b94bded98f0edd72f52c103b446f4828eadfdf9e604088
-DIST libktorrent-2.0.tar.xz 676408 SHA256 
478b1cad920d00c85605b686ed2ff893c8a875840370e9c261d1c7c102e92b9c SHA512 
b1075a382fbe03e76d0bdc35fac4bece9ac538271a6c738d9dc1d37f609b11f74b7921e07640cbce56ee5aa9ca3799263fcadba49c31eeac908f64c13deae4fc
 WHIRLPOOL 
86ce17cf897047a5a6fe63353586c4f5b50344d31e80729683d8e223ff0992449aa7d408b4eabf8ad7ac997d45c890cb7d25e3859b2dc22f554559e6684aa8a1

diff --git a/net-libs/libktorrent/libktorrent-2.0.ebuild 
b/net-libs/libktorrent/libktorrent-2.0.ebuild
deleted file mode 100644
index 2c8d3e9..000
--- a/net-libs/libktorrent/libktorrent-2.0.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-if [[ ${PV} != * ]]; then
-   inherit versionator
-   # upstream likes to skip that _ in beta releases
-   MY_PV="${PV/_/}"
-   
KTORRENT_VERSION=$(($(get_major_version)+3)).$(get_version_component_range 2-3 
${MY_PV})
-   MY_P="${PN}-${MY_PV}"
-
-   
SRC_URI="mirror://kde/stable/ktorrent/${KTORRENT_VERSION}/${MY_P}.tar.xz"
-   S="${WORKDIR}"/"${MY_P}"
-
-   KEYWORDS="~amd64 ~arm ~x86"
-else
-   KEYWORDS=""
-fi
-
-KDE_TEST="forceoptional"
-VIRTUALX_REQUIRED="test"
-inherit kde5
-
-DESCRIPTION="BitTorrent library based on KDE Frameworks"
-HOMEPAGE="http://ktorrent.pwsp.net/;
-
-LICENSE="GPL-2"
-IUSE=""
-
-COMMON_DEPEND="
-   $(add_frameworks_dep karchive)
-   $(add_frameworks_dep kconfig)
-   $(add_frameworks_dep kcoreaddons)
-   $(add_frameworks_dep kcrash)
-   $(add_frameworks_dep ki18n)
-   $(add_frameworks_dep kio)
-   $(add_frameworks_dep solid)
-   $(add_qt_dep qtgui)
-   $(add_qt_dep qtnetwork)
-   $(add_qt_dep qtwidgets)
-   $(add_qt_dep qtxml)
-   app-crypt/qca:2[qt5]
-   >=dev-libs/gmp-6.0.0a:0=
-   dev-libs/libgcrypt:0=
-"
-DEPEND="${COMMON_DEPEND}
-   dev-libs/boost
-   sys-devel/gettext
-"
-RDEPEND="${COMMON_DEPEND}
-   !net-libs/libktorrent:4
-"
-
-src_prepare() {
-   kde5_src_prepare
-
-   # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is 
breaking this
-   sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
-   CMakeLists.txt || die
-   sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
-   LibKTorrentConfig.cmake.in || die
-
-   # do not build non-installed example binary
-   sed -i -e "/add_subdirectory(examples)/d" CMakeLists.txt || die
-
-   if ! use test ; then
-   sed -i -e "/add_subdirectory(testlib)/d" CMakeLists.txt || die
-   sed -i -e "/add_subdirectory(tests)/d" \
-   
src/{datachecker,dht,diskio,download,magnet,mse,net,peer,util,utp,torrent}/CMakeLists.txt
 \
-   || die "Failed to remove tests"
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2016-06-15 Thread Michael Palimaka
commit: a1a1f632393a9e503643b5b8223509102de97669
Author: Michael Palimaka  gentoo  org>
AuthorDate: Wed Jun 15 17:49:22 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Wed Jun 15 17:58:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1a1f632

net-libs/libktorrent: remove doxygen references

KDE_DOXYGEN and related support is going away.

Package-Manager: portage-2.3.0_rc1

 net-libs/libktorrent/libktorrent-2.0.1.ebuild | 2 --
 net-libs/libktorrent/libktorrent-2.0.ebuild   | 2 --
 2 files changed, 4 deletions(-)

diff --git a/net-libs/libktorrent/libktorrent-2.0.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.0.1.ebuild
index 769039e..5a8b0ad 100644
--- a/net-libs/libktorrent/libktorrent-2.0.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.0.1.ebuild
@@ -19,8 +19,6 @@ else
KEYWORDS=""
 fi
 
-KDE_DOXYGEN="true"
-KDE_DOX_DIR="doc"
 KDE_TEST="forceoptional"
 VIRTUALX_REQUIRED="test"
 inherit kde5

diff --git a/net-libs/libktorrent/libktorrent-2.0.ebuild 
b/net-libs/libktorrent/libktorrent-2.0.ebuild
index 6e568d0..2c8d3e9 100644
--- a/net-libs/libktorrent/libktorrent-2.0.ebuild
+++ b/net-libs/libktorrent/libktorrent-2.0.ebuild
@@ -19,8 +19,6 @@ else
KEYWORDS=""
 fi
 
-KDE_DOXYGEN="true"
-KDE_DOX_DIR="doc"
 KDE_TEST="forceoptional"
 VIRTUALX_REQUIRED="test"
 inherit kde5



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2016-04-20 Thread Michael Palimaka
commit: db85102f2c3595101bec328667f160dd2c30dfd6
Author: Michael Palimaka  gentoo  org>
AuthorDate: Wed Apr 20 09:50:44 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Wed Apr 20 10:34:37 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db85102f

net-libs/libktorrent: version bump

Package-Manager: portage-2.2.28

 net-libs/libktorrent/Manifest |  1 +
 net-libs/libktorrent/libktorrent-2.0.1.ebuild | 76 +++
 2 files changed, 77 insertions(+)

diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index 8cea76b..579bd35 100644
--- a/net-libs/libktorrent/Manifest
+++ b/net-libs/libktorrent/Manifest
@@ -1,2 +1,3 @@
 DIST libktorrent-1.3.1.tar.bz2 863105 SHA256 
2fe11ccb4bf2028c3da11e52cde890f1b3a90560e548eac89a4f8e1558b09725 SHA512 
63dd4a642da4808cfe414bf4767185daf3233def5259c3f9ab899be58f263c16362eaa5e01383bf9acd78a381bc3915a84965d17f1bd10054cf94851294b622b
 WHIRLPOOL 
1ad34d8e4ad3ad1b8a810d3a2eec1bd13a978ef6be1230521789021160ff0814909052fe2b39efb212276b944d7a5560c0bc0e104eb62f5399062c0d5194348e
+DIST libktorrent-2.0.1.tar.xz 676304 SHA256 
c70d9ee11a1ac95145284e2ab9aec689df21b7462f389389b8d54f892a273f42 SHA512 
bb1723829461e9679a734fb39636016efdb49cf13b027f430f2272980d60f9bf261085df8b55d57bd59daab149a5e28ac124de65710fb3481167f9a0567bb1d7
 WHIRLPOOL 
6f989a880d42d1fcf2b704e9d4cf69025a33ecc51063fc4d958951f6b7d7ca0999baa71931f1af68a6b94bded98f0edd72f52c103b446f4828eadfdf9e604088
 DIST libktorrent-2.0.tar.xz 676408 SHA256 
478b1cad920d00c85605b686ed2ff893c8a875840370e9c261d1c7c102e92b9c SHA512 
b1075a382fbe03e76d0bdc35fac4bece9ac538271a6c738d9dc1d37f609b11f74b7921e07640cbce56ee5aa9ca3799263fcadba49c31eeac908f64c13deae4fc
 WHIRLPOOL 
86ce17cf897047a5a6fe63353586c4f5b50344d31e80729683d8e223ff0992449aa7d408b4eabf8ad7ac997d45c890cb7d25e3859b2dc22f554559e6684aa8a1

diff --git a/net-libs/libktorrent/libktorrent-2.0.1.ebuild 
b/net-libs/libktorrent/libktorrent-2.0.1.ebuild
new file mode 100644
index 000..769039e
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-2.0.1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+if [[ ${PV} != * ]]; then
+   inherit versionator
+   # upstream likes to skip that _ in beta releases
+   MY_PV="${PV/_/}"
+   
KTORRENT_VERSION=$(($(get_major_version)+3)).$(get_version_component_range 2 
${MY_PV})
+   MY_P="${PN}-${MY_PV}"
+
+   
SRC_URI="mirror://kde/stable/ktorrent/${KTORRENT_VERSION}/${MY_P}.tar.xz"
+   S="${WORKDIR}"/"${MY_P}"
+
+   KEYWORDS="~amd64 ~arm ~x86"
+else
+   KEYWORDS=""
+fi
+
+KDE_DOXYGEN="true"
+KDE_DOX_DIR="doc"
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="BitTorrent library based on KDE Frameworks"
+HOMEPAGE="http://ktorrent.pwsp.net/;
+
+LICENSE="GPL-2+"
+IUSE=""
+
+COMMON_DEPEND="
+   $(add_frameworks_dep karchive)
+   $(add_frameworks_dep kconfig)
+   $(add_frameworks_dep kcoreaddons)
+   $(add_frameworks_dep kcrash)
+   $(add_frameworks_dep ki18n)
+   $(add_frameworks_dep kio)
+   $(add_frameworks_dep solid)
+   $(add_qt_dep qtgui)
+   $(add_qt_dep qtnetwork)
+   $(add_qt_dep qtwidgets)
+   $(add_qt_dep qtxml)
+   app-crypt/qca:2[qt5]
+   >=dev-libs/gmp-6.0.0a:0=
+   dev-libs/libgcrypt:0=
+"
+DEPEND="${COMMON_DEPEND}
+   dev-libs/boost
+   sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+   !net-libs/libktorrent:4
+"
+
+src_prepare() {
+   kde5_src_prepare
+
+   # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is 
breaking this
+   sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
+   CMakeLists.txt || die
+   sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
+   LibKTorrentConfig.cmake.in || die
+
+   # do not build non-installed example binary
+   sed -i -e "/add_subdirectory(examples)/d" CMakeLists.txt || die
+
+   if ! use test ; then
+   sed -i -e "/add_subdirectory(testlib)/d" CMakeLists.txt || die
+   sed -i -e "/add_subdirectory(tests)/d" \
+   
src/{datachecker,dht,diskio,download,magnet,mse,net,peer,util,utp,torrent}/CMakeLists.txt
 \
+   || die "Failed to remove tests"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2016-04-16 Thread Johannes Huber
commit: 4a140e89a06b03229318ce0db5a2d4892bf6bd1b
Author: Johannes Huber  gentoo  org>
AuthorDate: Sat Apr 16 13:25:27 2016 +
Commit: Johannes Huber  gentoo  org>
CommitDate: Sat Apr 16 13:42:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a140e89

net-libs/libktorrent: Version bump 2.0

Package-Manager: portage-2.2.28

 net-libs/libktorrent/Manifest   |  1 +
 net-libs/libktorrent/libktorrent-2.0.ebuild | 76 +
 2 files changed, 77 insertions(+)

diff --git a/net-libs/libktorrent/Manifest b/net-libs/libktorrent/Manifest
index 85a5e48..8cea76b 100644
--- a/net-libs/libktorrent/Manifest
+++ b/net-libs/libktorrent/Manifest
@@ -1 +1,2 @@
 DIST libktorrent-1.3.1.tar.bz2 863105 SHA256 
2fe11ccb4bf2028c3da11e52cde890f1b3a90560e548eac89a4f8e1558b09725 SHA512 
63dd4a642da4808cfe414bf4767185daf3233def5259c3f9ab899be58f263c16362eaa5e01383bf9acd78a381bc3915a84965d17f1bd10054cf94851294b622b
 WHIRLPOOL 
1ad34d8e4ad3ad1b8a810d3a2eec1bd13a978ef6be1230521789021160ff0814909052fe2b39efb212276b944d7a5560c0bc0e104eb62f5399062c0d5194348e
+DIST libktorrent-2.0.tar.xz 676408 SHA256 
478b1cad920d00c85605b686ed2ff893c8a875840370e9c261d1c7c102e92b9c SHA512 
b1075a382fbe03e76d0bdc35fac4bece9ac538271a6c738d9dc1d37f609b11f74b7921e07640cbce56ee5aa9ca3799263fcadba49c31eeac908f64c13deae4fc
 WHIRLPOOL 
86ce17cf897047a5a6fe63353586c4f5b50344d31e80729683d8e223ff0992449aa7d408b4eabf8ad7ac997d45c890cb7d25e3859b2dc22f554559e6684aa8a1

diff --git a/net-libs/libktorrent/libktorrent-2.0.ebuild 
b/net-libs/libktorrent/libktorrent-2.0.ebuild
new file mode 100644
index 000..6e568d0
--- /dev/null
+++ b/net-libs/libktorrent/libktorrent-2.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+if [[ ${PV} != * ]]; then
+   inherit versionator
+   # upstream likes to skip that _ in beta releases
+   MY_PV="${PV/_/}"
+   
KTORRENT_VERSION=$(($(get_major_version)+3)).$(get_version_component_range 2-3 
${MY_PV})
+   MY_P="${PN}-${MY_PV}"
+
+   
SRC_URI="mirror://kde/stable/ktorrent/${KTORRENT_VERSION}/${MY_P}.tar.xz"
+   S="${WORKDIR}"/"${MY_P}"
+
+   KEYWORDS="~amd64 ~arm ~x86"
+else
+   KEYWORDS=""
+fi
+
+KDE_DOXYGEN="true"
+KDE_DOX_DIR="doc"
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="BitTorrent library based on KDE Frameworks"
+HOMEPAGE="http://ktorrent.pwsp.net/;
+
+LICENSE="GPL-2"
+IUSE=""
+
+COMMON_DEPEND="
+   $(add_frameworks_dep karchive)
+   $(add_frameworks_dep kconfig)
+   $(add_frameworks_dep kcoreaddons)
+   $(add_frameworks_dep kcrash)
+   $(add_frameworks_dep ki18n)
+   $(add_frameworks_dep kio)
+   $(add_frameworks_dep solid)
+   $(add_qt_dep qtgui)
+   $(add_qt_dep qtnetwork)
+   $(add_qt_dep qtwidgets)
+   $(add_qt_dep qtxml)
+   app-crypt/qca:2[qt5]
+   >=dev-libs/gmp-6.0.0a:0=
+   dev-libs/libgcrypt:0=
+"
+DEPEND="${COMMON_DEPEND}
+   dev-libs/boost
+   sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+   !net-libs/libktorrent:4
+"
+
+src_prepare() {
+   kde5_src_prepare
+
+   # Gentoo workaround because gmp.h in MULTILIB_WRAPPED_HEADERS is 
breaking this
+   sed -i -e "/^find_package/ s/\"\${LibGMP_MIN_VERSION}\" //" \
+   CMakeLists.txt || die
+   sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
+   LibKTorrentConfig.cmake.in || die
+
+   # do not build non-installed example binary
+   sed -i -e "/add_subdirectory(examples)/d" CMakeLists.txt || die
+
+   if ! use test ; then
+   sed -i -e "/add_subdirectory(testlib)/d" CMakeLists.txt || die
+   sed -i -e "/add_subdirectory(tests)/d" \
+   
src/{datachecker,dht,diskio,download,magnet,mse,net,peer,util,utp,torrent}/CMakeLists.txt
 \
+   || die "Failed to remove tests"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2016-03-08 Thread Michael Palimaka
commit: 1367ded67e99e5d169b053aeb8ee0628f1949b72
Author: Michael Palimaka  gentoo  org>
AuthorDate: Tue Mar  8 14:42:15 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Tue Mar  8 14:42:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1367ded6

net-libs/libktorrent: add slot operators

Package-Manager: portage-2.2.27

 net-libs/libktorrent/libktorrent-1.3.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/libktorrent/libktorrent-1.3.1.ebuild 
b/net-libs/libktorrent/libktorrent-1.3.1.ebuild
index 9144770..3747900 100644
--- a/net-libs/libktorrent/libktorrent-1.3.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-1.3.1.ebuild
@@ -37,8 +37,8 @@ IUSE="debug"
 
 RDEPEND="
app-crypt/qca:2[qt4(+)]
-   dev-libs/gmp
-   dev-libs/libgcrypt:0
+   dev-libs/gmp:0=
+   dev-libs/libgcrypt:0=
 "
 DEPEND="${RDEPEND}
dev-libs/boost



[gentoo-commits] repo/gentoo:master commit in: net-libs/libktorrent/

2016-03-08 Thread Michael Palimaka
commit: 7451ed3b0c007b30031b82edc9a745bfd48d629a
Author: Michael Palimaka  gentoo  org>
AuthorDate: Tue Mar  8 14:28:02 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Tue Mar  8 14:29:33 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7451ed3b

net-libs/libktorrent: update HOMEPAGE

Package-Manager: portage-2.2.27

 net-libs/libktorrent/libktorrent-1.3.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/libktorrent/libktorrent-1.3.1.ebuild 
b/net-libs/libktorrent/libktorrent-1.3.1.ebuild
index 628b90d..9144770 100644
--- a/net-libs/libktorrent/libktorrent-1.3.1.ebuild
+++ b/net-libs/libktorrent/libktorrent-1.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -29,7 +29,7 @@ VIRTUALX_REQUIRED="test"
 inherit kde4-base
 
 DESCRIPTION="A BitTorrent library based on KDE Platform"
-HOMEPAGE="http://ktorrent.org/;
+HOMEPAGE="http://ktorrent.pwsp.net/;
 
 LICENSE="GPL-2"
 SLOT="4"