commit:     41bbeb13fe71939519a85eaae227ff44ef9b7fb6
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  6 22:08:07 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Mar  6 22:09:50 2018 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=41bbeb13

net-p2p/ktorrent: Drop net-libs/libktorrent min-max stunt

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-p2p/ktorrent/ktorrent-9999.ebuild | 22 +++-------------------
 1 file 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)

Reply via email to