From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 95F681396D1 for ; Mon, 21 Aug 2017 12:24:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F21691FC086; Mon, 21 Aug 2017 12:24:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D4E4E1FC086 for ; Mon, 21 Aug 2017 12:24:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C6CE6341B40 for ; Mon, 21 Aug 2017 12:24:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E2CA7D77 for ; Mon, 21 Aug 2017 12:24:33 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1503317912.38991a640c678dfd7d31f2a1dadb35f2fc6b155d.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: net-libs/libktorrent/ X-VCS-Repository: proj/kde X-VCS-Files: net-libs/libktorrent/libktorrent-2.0.90.ebuild X-VCS-Directories: net-libs/libktorrent/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 38991a640c678dfd7d31f2a1dadb35f2fc6b155d X-VCS-Branch: master Date: Mon, 21 Aug 2017 12:24:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 455abbe2-4f18-4469-bc4b-9d07156b7e86 X-Archives-Hash: 7c46a4635c422381ec4d2b019b12a88e commit: 38991a640c678dfd7d31f2a1dadb35f2fc6b155d Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Aug 21 12:18:32 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Aug 21 12:18:32 2017 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=38991a64 net-libs/libktorrent: 2.0.90 version bump Package-Manager: Portage-2.3.8, Repoman-2.3.3 net-libs/libktorrent/libktorrent-2.0.90.ebuild | 53 ++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/net-libs/libktorrent/libktorrent-2.0.90.ebuild b/net-libs/libktorrent/libktorrent-2.0.90.ebuild new file mode 100644 index 0000000000..732522a6c7 --- /dev/null +++ b/net-libs/libktorrent/libktorrent-2.0.90.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +if [[ ${PV} != 9999* ]]; then + KTORRENT_VERSION=5.0.90 + SRC_URI="mirror://kde/unstable/ktorrent/${KTORRENT_VERSION}/${P}.tar.xz" + 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 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 +}