aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-03-06 23:08:07 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-03-06 23:09:50 +0100
commit41bbeb13fe71939519a85eaae227ff44ef9b7fb6 (patch)
treea2cd75a10680a17977789f168c82f1d0f86be220 /net-p2p/ktorrent/ktorrent-9999.ebuild
parentapp-office/calligra: Drop unused versionator.eclass (diff)
downloadkde-41bbeb13fe71939519a85eaae227ff44ef9b7fb6.tar.gz
kde-41bbeb13fe71939519a85eaae227ff44ef9b7fb6.tar.bz2
kde-41bbeb13fe71939519a85eaae227ff44ef9b7fb6.zip
net-p2p/ktorrent: Drop net-libs/libktorrent min-max stunt
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'net-p2p/ktorrent/ktorrent-9999.ebuild')
-rw-r--r--net-p2p/ktorrent/ktorrent-9999.ebuild22
1 files changed, 3 insertions, 19 deletions
diff --git a/net-p2p/ktorrent/ktorrent-9999.ebuild b/net-p2p/ktorrent/ktorrent-9999.ebuild
index 0fdc41acf6..dac11182a6 100644
--- a/net-p2p/ktorrent/ktorrent-9999.ebuild
+++ b/net-p2p/ktorrent/ktorrent-9999.ebuild
@@ -3,23 +3,6 @@
EAPI=6
-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"
-fi
-
KDE_HANDBOOK="forceoptional"
KDE_TEST="optional"
VIRTUALX_REQUIRED="test"
@@ -27,8 +10,10 @@ inherit kde5
DESCRIPTION="Powerful BitTorrent client based on KDE Frameworks"
HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/"
+[[ ${KDE_BUILD_TYPE} = release ]] && SRC_URI="mirror://kde/stable/${PN}/${PV/%.0}/${P}.tar.xz"
LICENSE="GPL-2"
+KEYWORDS=""
IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer +magnetgenerator
+mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
@@ -54,8 +39,7 @@ COMMON_DEPEND="
$(add_qt_dep qtnetwork)
$(add_qt_dep qtwidgets)
$(add_qt_dep qtxml)
- <net-libs/libktorrent-${LIBKT_VERSION_MAX}:5
- >=net-libs/libktorrent-${LIBKT_VERSION_MIN}:5
+ >=net-libs/libktorrent-2.1:5
infowidget? ( dev-libs/geoip )
kross? (
$(add_frameworks_dep karchive)