summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-04-20 20:34:24 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-04-20 20:34:37 +1000
commit3e995c57cd5e6a0ff107673d847aea0dfa68c54d (patch)
treea2e830b7d78b139c683052fbbba056fd2e6a01f7 /net-p2p/ktorrent
parentnet-libs/libktorrent: version bump (diff)
downloadgentoo-3e995c57cd5e6a0ff107673d847aea0dfa68c54d.tar.gz
gentoo-3e995c57cd5e6a0ff107673d847aea0dfa68c54d.tar.bz2
gentoo-3e995c57cd5e6a0ff107673d847aea0dfa68c54d.zip
net-p2p/ktorrent: version bump
Package-Manager: portage-2.2.28
Diffstat (limited to 'net-p2p/ktorrent')
-rw-r--r--net-p2p/ktorrent/Manifest1
-rw-r--r--net-p2p/ktorrent/ktorrent-5.0.1.ebuild131
2 files changed, 132 insertions, 0 deletions
diff --git a/net-p2p/ktorrent/Manifest b/net-p2p/ktorrent/Manifest
index 15937908b547..bbe6f4a64bee 100644
--- a/net-p2p/ktorrent/Manifest
+++ b/net-p2p/ktorrent/Manifest
@@ -1,2 +1,3 @@
DIST ktorrent-4.3.1.tar.bz2 2943708 SHA256 66094f6833347afb0c49e332f0ec15ec48db652cbe66476840846ffd5ca0e4a1 SHA512 bf1fa144295cb00fccce3a511afe845bc7bf42d77d70205f5893686e7b1fa78c5799c46c7e4e04435ab6fdd4bc9b3b4a25bffb2c5538a25af36302c60742900e WHIRLPOOL 61303c19f0160bba9bdd288415d86519594f26c5c062f394cee7924093506a9cc6236fd8eedec16c6f799f71a15cb4af15c4b7c079831dccb4e498b833c2234e
+DIST ktorrent-5.0.1.tar.xz 2152908 SHA256 d00feeca5dcc6a76a039d67dbe91a2d5a5e1da0f5e0bbd8da2c156d9c44879e5 SHA512 6ceced3d578e58f480ada5b71a66be244c75de726389d39b40c02c5a9445c6bb0b70573fac810abd1659c3172bff79c0c3e5cbfe1a84e0d50836b52291597bc1 WHIRLPOOL 11d59e1762b12e0c740337b05e9e678f71df1a5d43cffee6dcb1a3159afe1da00c118b62b84fdb80dbd6d98f3998250882406e8e61ad181b67b7043d350c8682
DIST ktorrent-5.0.tar.xz 2153772 SHA256 78aefd4660a57e7d512f68db08a0f01e29dc4500242e58cbe7fac4592e24afec SHA512 29dcb5a8994d4757fa07fdc263f62d4ef425295d60e11a032a1bf6425c6378e55f0ce221b6ab9bb2f70579c8c423c405d2fa8e3ba5e7130bdfd637b3de5865e1 WHIRLPOOL 5f6e95ab84f83bbceba5a0d092dd1cdce5706099a07977df45101d5f16fc5ee319bb8cfd8146c8336242e9b0c7158ad235caf491999ec56ab6c260d17a915be5
diff --git a/net-p2p/ktorrent/ktorrent-5.0.1.ebuild b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
new file mode 100644
index 000000000000..bb9ddb66fa31
--- /dev/null
+++ b/net-p2p/ktorrent/ktorrent-5.0.1.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+LIBKT_VERSION_MIN="${PV}"
+LIBKT_VERSION_MAX="99999999"
+if [[ ${PV} != 9999* ]]; then
+ inherit versionator
+ # upstream likes to skip that _ in beta releases
+ MY_PV="${PV/_/}"
+ LIBKT_VERSION_MIN=$(($(get_major_version)-3)).$(get_version_component_range 2-3 ${PV})
+ LIBKT_VERSION_MAX=$(($(get_major_version)-3)).$(($(get_version_component_range 2)+1))
+ MY_P="${PN}-${MY_PV}"
+
+ SRC_URI="mirror://kde/stable/${PN}/$(get_version_component_range 1-2)/${MY_P}.tar.xz"
+ S="${WORKDIR}"/"${MY_P}"
+
+ KEYWORDS="~amd64 ~x86"
+else
+ LIBKT_VERSION_MIN="${PV}"
+ LIBKT_VERSION_MAX="99999999"
+ KEYWORDS=""
+fi
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
+HOMEPAGE="http://ktorrent.pwsp.net/"
+
+LICENSE="GPL-2"
+IUSE="+bwscheduler +downloadorder +infowidget +logviewer
++magnetgenerator +mediaplayer +shutdown +stats +upnp +zeroconf"
+
+COMMON_DEPEND="
+ $(add_frameworks_dep karchive)
+ $(add_frameworks_dep kcmutils)
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kcrash)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep kdelibs4support)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep knotifications)
+ $(add_frameworks_dep knotifyconfig)
+ $(add_frameworks_dep kparts)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kwindowsystem)
+ $(add_frameworks_dep kxmlgui)
+ $(add_frameworks_dep solid)
+ $(add_frameworks_dep sonnet)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtnetwork)
+ $(add_qt_dep qtwidgets)
+ <net-libs/libktorrent-${LIBKT_VERSION_MAX}:5
+ >=net-libs/libktorrent-${LIBKT_VERSION_MIN}:5
+ infowidget? ( dev-libs/geoip )
+ mediaplayer? (
+ media-libs/phonon[qt5]
+ >=media-libs/taglib-1.5
+ )
+ shutdown? ( $(add_plasma_dep plasma-workspace) )
+ stats? ( $(add_frameworks_dep kplotting) )
+ zeroconf? ( $(add_frameworks_dep kdnssd) )
+"
+DEPEND="${COMMON_DEPEND}
+ dev-libs/boost
+ sys-devel/gettext
+"
+RDEPEND="${COMMON_DEPEND}
+ !net-p2p/ktorrent:4
+"
+# add back when ported - DEPEND
+# kross? ( $(add_frameworks_dep kross) )
+# rss? ( $(add_kdeapps_dep kdepimlibs) )
+# add back when ported - RDEPEND
+# ipfilter? (
+# app-arch/bzip2
+# app-arch/unzip
+# $(add_kdeapps_dep kdebase-kioslaves)
+# )
+# kross? ( $(add_kdebase_dep krosspython) )
+
+# src_prepare() {
+# add back when ported
+# if ! use plasma; then
+# sed -i \
+# -e "s:add_subdirectory(plasma):#nada:g" \
+# CMakeLists.txt || die "Failed to make plasmoid optional"
+# fi
+#
+# kde5_src_prepare
+# }
+
+src_prepare() {
+ kde5_src_prepare
+
+ punt_bogus_dep Kross
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_BWSCHEDULER_PLUGIN=$(usex bwscheduler)
+ -DENABLE_DOWNLOADORDER_PLUGIN=$(usex downloadorder)
+ -DENABLE_INFOWIDGET_PLUGIN=$(usex infowidget)
+ -DWITH_SYSTEM_GEOIP=$(usex infowidget)
+ -DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer)
+ -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator)
+ -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer)
+ -DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown)
+ -DENABLE_STATS_PLUGIN=$(usex stats)
+ -DENABLE_UPNP_PLUGIN=$(usex upnp)
+ -DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf)
+ )
+# add back when ported
+# -DENABLE_IPFILTER_PLUGIN=$(usex ipfilter)
+# -DENABLE_SCRIPTING_PLUGIN=$(usex kross)
+# -DENABLE_SYNDICATION_PLUGIN=$(usex rss)
+# -DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder)
+# -DENABLE_SEARCH_PLUGIN=$(usex search)
+# -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface)
+ kde5_src_configure
+}