Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/ktorrent: ktorrent-4.1.1.ebuild ChangeLog ktorrent-4.1.0.ebuild
Date: Thu, 05 May 2011 14:28:20
Message-Id: 20110505142810.139D120054@flycatcher.gentoo.org
1 scarabeus 11/05/05 14:28:10
2
3 Modified: ChangeLog
4 Added: ktorrent-4.1.1.ebuild
5 Removed: ktorrent-4.1.0.ebuild
6 Log:
7 Version bump to the latest. Drop older.
8
9 (Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.164 net-p2p/ktorrent/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ChangeLog?rev=1.164&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ChangeLog?rev=1.164&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ChangeLog?r1=1.163&r2=1.164
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v
21 retrieving revision 1.163
22 retrieving revision 1.164
23 diff -u -r1.163 -r1.164
24 --- ChangeLog 23 Mar 2011 08:32:58 -0000 1.163
25 +++ ChangeLog 5 May 2011 14:28:09 -0000 1.164
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-p2p/ktorrent
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v 1.163 2011/03/23 08:32:58 scarabeus Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v 1.164 2011/05/05 14:28:09 scarabeus Exp $
31 +
32 +*ktorrent-4.1.1 (05 May 2011)
33 +
34 + 05 May 2011; Tomáš Chvátal <scarabeus@g.o> -ktorrent-4.1.0.ebuild,
35 + +ktorrent-4.1.1.ebuild:
36 + Version bump to the latest. Drop older.
37
38 *ktorrent-4.1.0 (23 Mar 2011)
39
40
41
42
43 1.1 net-p2p/ktorrent/ktorrent-4.1.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ktorrent-4.1.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ktorrent-4.1.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ktorrent-4.1.1.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ktorrent-4.1.1.ebuild,v 1.1 2011/05/05 14:28:09 scarabeus Exp $
53
54 EAPI=3
55
56 KDE_SCM="git"
57 KDE_MINIMAL="4.5"
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 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 lt lv mai ms nb nds nl nn oc
72 pl pt pt_BR ro ru se si sk sl sr sr@ijekavian sr@ijekavianlatin
73 sr@latin sv tr 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 ~ppc64 ~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 mediaplayer? ( >=media-libs/taglib-1.5 )
99 plasma? ( $(add_kdebase_dep libtaskmanager) )
100 rss? ( $(add_kdebase_dep kdepimlibs) )
101 shutdown? (
102 $(add_kdebase_dep libkworkspace)
103 $(add_kdebase_dep solid)
104 )
105 "
106 DEPEND="${COMMONDEPEND}
107 dev-libs/boost
108 sys-devel/gettext
109 "
110 RDEPEND="${COMMONDEPEND}
111 infowidget? ( dev-libs/geoip )
112 ipfilter? (
113 app-arch/bzip2
114 app-arch/unzip
115 $(add_kdebase_dep kdebase-kioslaves)
116 )
117 kross? ( $(add_kdebase_dep krosspython) )
118 "
119
120 src_prepare() {
121 if ! use plasma; then
122 sed -i \
123 -e "s:add_subdirectory(plasma):#nada:g" \
124 CMakeLists.txt || die "Failed to make plasmoid optional"
125 fi
126
127 kde4-base_src_prepare
128 }
129
130 src_configure() {
131 mycmakeargs=(
132 $(cmake-utils_use_enable bwscheduler BWSCHEDULER_PLUGIN)
133 $(cmake-utils_use_enable downloadorder DOWNLOADORDER_PLUGIN)
134 $(cmake-utils_use_enable infowidget INFOWIDGET_PLUGIN)
135 $(cmake-utils_use_with infowidget SYSTEM_GEOIP)
136 $(cmake-utils_use_enable ipfilter IPFILTER_PLUGIN)
137 $(cmake-utils_use_enable kross SCRIPTING_PLUGIN)
138 $(cmake-utils_use_enable logviewer LOGVIEWER_PLUGIN)
139 $(cmake-utils_use_enable magnetgenerator MAGNETGENERATOR_PLUGIN)
140 $(cmake-utils_use_enable mediaplayer MEDIAPLAYER_PLUGIN)
141 $(cmake-utils_use_enable rss SYNDICATION_PLUGIN)
142 $(cmake-utils_use_enable scanfolder SCANFOLDER_PLUGIN)
143 $(cmake-utils_use_enable search SEARCH_PLUGIN)
144 $(cmake-utils_use_enable shutdown SHUTDOWN_PLUGIN)
145 $(cmake-utils_use_enable stats STATS_PLUGIN)
146 $(cmake-utils_use_enable upnp UPNP_PLUGIN)
147 $(cmake-utils_use_enable webinterface WEBINTERFACE_PLUGIN)
148 $(cmake-utils_use_enable zeroconf ZEROCONF_PLUGIN)
149 )
150 kde4-base_src_configure
151 }