Gentoo Archives: gentoo-commits

From: "Michael Palimaka (kensington)" <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/ktorrent: ktorrent-4.3.1-r1.ebuild ChangeLog
Date: Wed, 29 Jan 2014 13:06:16
Message-Id: 20140129130611.4CA682004E@flycatcher.gentoo.org
1 kensington 14/01/29 13:06:11
2
3 Modified: ChangeLog
4 Added: ktorrent-4.3.1-r1.ebuild
5 Log:
6 Backport patch from upstream fixing issue with IP filter lists, wrt bug #499602.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)
9
10 Revision Changes Path
11 1.200 net-p2p/ktorrent/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ChangeLog?rev=1.200&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ChangeLog?rev=1.200&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ChangeLog?r1=1.199&r2=1.200
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v
20 retrieving revision 1.199
21 retrieving revision 1.200
22 diff -u -r1.199 -r1.200
23 --- ChangeLog 10 May 2013 09:33:28 -0000 1.199
24 +++ ChangeLog 29 Jan 2014 13:06:11 -0000 1.200
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-p2p/ktorrent
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v 1.199 2013/05/10 09:33:28 abcd Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v 1.200 2014/01/29 13:06:11 kensington Exp $
31 +
32 +*ktorrent-4.3.1-r1 (29 Jan 2014)
33 +
34 + 29 Jan 2014; Michael Palimaka <kensington@g.o>
35 + +files/ktorrent-4.3.1-ipfilter.patch, +ktorrent-4.3.1-r1.ebuild:
36 + Backport patch from upstream fixing issue with IP filter lists, wrt bug
37 + #499602.
38
39 10 May 2013; Jonathan Callen <abcd@g.o> ktorrent-4.3.1.ebuild:
40 Remove unused kde-base/solid dependency
41
42
43
44 1.1 net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: ktorrent-4.3.1-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2014 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild,v 1.1 2014/01/29 13:06:10 kensington Exp $
54
55 EAPI=5
56
57 KDE_SCM="git"
58 LIBKT_VERSION_MIN="${PV}"
59 LIBKT_VERSION_MAX="99999999"
60 if [[ ${PV} != 9999* ]]; then
61 inherit versionator
62 # upstream likes to skip that _ in beta releases
63 MY_PV="${PV/_/}"
64 LIBKT_VERSION_MIN=$(($(get_major_version)-3)).$(get_version_component_range 2-3 ${PV})
65 LIBKT_VERSION_MAX=$(($(get_major_version)-3)).$(($(get_version_component_range 2)+1))
66 MY_P="${PN}-${MY_PV}"
67 KDE_HANDBOOK="optional"
68 KDE_DOC_DIRS="doc"
69
70 KDE_LINGUAS="ar ast be bg bs ca ca@valencia cs da de el en_GB eo es et eu
71 fi fr ga gl hi hne hr hu is it ja km ku lt lv mai ms nb nds nl nn oc
72 pl pt pt_BR ro ru se si sk sl sq sr sr@ijekavian sr@ijekavianlatin
73 sr@latin sv tr ug uk zh_CN zh_TW"
74 SRC_URI="http://ktorrent.org/downloads/${MY_PV}/${MY_P}.tar.bz2"
75 S="${WORKDIR}"/"${MY_P}"
76
77 KEYWORDS="~amd64 ~ppc ~x86"
78 else
79 LIBKT_VERSION_MIN="${PV}"
80 LIBKT_VERSION_MAX="99999999"
81 KEYWORDS=""
82 fi
83
84 inherit kde4-base
85
86 DESCRIPTION="A BitTorrent program for KDE."
87 HOMEPAGE="http://ktorrent.org/"
88
89 LICENSE="GPL-2"
90 SLOT="4"
91 IUSE="+bwscheduler debug +downloadorder +infowidget +ipfilter +kross +logviewer
92 +magnetgenerator +mediaplayer plasma rss +scanfolder +search +shutdown +stats
93 +upnp webinterface +zeroconf"
94
95 COMMONDEPEND="
96 <net-libs/libktorrent-${LIBKT_VERSION_MAX}
97 >=net-libs/libktorrent-${LIBKT_VERSION_MIN}
98 infowidget? ( dev-libs/geoip )
99 mediaplayer? ( >=media-libs/taglib-1.5 )
100 plasma? ( $(add_kdebase_dep libtaskmanager) )
101 rss? ( $(add_kdebase_dep kdepimlibs) )
102 shutdown? ( $(add_kdebase_dep libkworkspace) )
103 "
104 DEPEND="${COMMONDEPEND}
105 dev-libs/boost
106 sys-devel/gettext
107 "
108 RDEPEND="${COMMONDEPEND}
109 ipfilter? (
110 app-arch/bzip2
111 app-arch/unzip
112 $(add_kdebase_dep kdebase-kioslaves)
113 )
114 kross? ( $(add_kdebase_dep krosspython) )
115 "
116
117 PATCHES=(
118 "${FILESDIR}/${P}-ipfilter.patch"
119 "${FILESDIR}/${P}-underlinking.patch"
120 )
121
122 src_prepare() {
123 if ! use plasma; then
124 sed -i \
125 -e "s:add_subdirectory(plasma):#nada:g" \
126 CMakeLists.txt || die "Failed to make plasmoid optional"
127 fi
128
129 kde4-base_src_prepare
130 }
131
132 src_configure() {
133 mycmakeargs=(
134 $(cmake-utils_use_enable bwscheduler BWSCHEDULER_PLUGIN)
135 $(cmake-utils_use_enable downloadorder DOWNLOADORDER_PLUGIN)
136 $(cmake-utils_use_enable infowidget INFOWIDGET_PLUGIN)
137 $(cmake-utils_use_with infowidget SYSTEM_GEOIP)
138 $(cmake-utils_use_enable ipfilter IPFILTER_PLUGIN)
139 $(cmake-utils_use_enable kross SCRIPTING_PLUGIN)
140 $(cmake-utils_use_enable logviewer LOGVIEWER_PLUGIN)
141 $(cmake-utils_use_enable magnetgenerator MAGNETGENERATOR_PLUGIN)
142 $(cmake-utils_use_enable mediaplayer MEDIAPLAYER_PLUGIN)
143 $(cmake-utils_use_enable rss SYNDICATION_PLUGIN)
144 $(cmake-utils_use_enable scanfolder SCANFOLDER_PLUGIN)
145 $(cmake-utils_use_enable search SEARCH_PLUGIN)
146 $(cmake-utils_use_enable shutdown SHUTDOWN_PLUGIN)
147 $(cmake-utils_use_enable stats STATS_PLUGIN)
148 $(cmake-utils_use_enable upnp UPNP_PLUGIN)
149 $(cmake-utils_use_enable webinterface WEBINTERFACE_PLUGIN)
150 $(cmake-utils_use_enable zeroconf ZEROCONF_PLUGIN)
151 )
152 kde4-base_src_configure
153 }