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.0.3.ebuild ChangeLog ktorrent-4.0.2.ebuild ktorrent-4.0.1.ebuild
Date: Tue, 31 Aug 2010 22:01:41
Message-Id: 20100831220136.7B33520051@flycatcher.gentoo.org
1 scarabeus 10/08/31 22:01:36
2
3 Modified: ChangeLog
4 Added: ktorrent-4.0.3.ebuild
5 Removed: ktorrent-4.0.2.ebuild ktorrent-4.0.1.ebuild
6 Log:
7 Version bump. Drop old.
8
9 (Portage version: 2.2_rc71/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.154 net-p2p/ktorrent/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ChangeLog?rev=1.154&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ChangeLog?rev=1.154&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ChangeLog?r1=1.153&r2=1.154
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v
21 retrieving revision 1.153
22 retrieving revision 1.154
23 diff -u -r1.153 -r1.154
24 --- ChangeLog 9 Aug 2010 15:48:01 -0000 1.153
25 +++ ChangeLog 31 Aug 2010 22:01:36 -0000 1.154
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-p2p/ktorrent
28 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v 1.153 2010/08/09 15:48:01 reavertm Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v 1.154 2010/08/31 22:01:36 scarabeus Exp $
31 +
32 +*ktorrent-4.0.3 (31 Aug 2010)
33 +
34 + 31 Aug 2010; Tomáš Chvátal <scarabeus@g.o>
35 + -ktorrent-4.0.1.ebuild, -ktorrent-4.0.2.ebuild, +ktorrent-4.0.3.ebuild:
36 + Version bump. Drop old.
37
38 09 Aug 2010; Maciej Mrozowski <reavertm@g.o> ktorrent-4.0.1.ebuild,
39 ktorrent-4.0.2.ebuild:
40
41
42
43 1.1 net-p2p/ktorrent/ktorrent-4.0.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ktorrent-4.0.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/ktorrent/ktorrent-4.0.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ktorrent-4.0.3.ebuild
49 ===================================================================
50 # Copyright 1999-2010 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.0.3.ebuild,v 1.1 2010/08/31 22:01:36 scarabeus Exp $
53
54 EAPI="2"
55
56 if [[ ${PV} == *9999* ]] ; then
57 KMNAME="extragear/network"
58 else
59 # upstream likes to skip that _ in beta releases
60 MY_PV="${PV/_/}"
61 MY_P="${PN}-${MY_PV}"
62
63 KDE_LINGUAS="ar ast be bg ca ca@valencia cs da de el en_GB eo es et eu
64 fi fr ga gl hi hne hr hu is it ja km lt lv mai ms nb nds nl nn oc
65 pl pt pt_BR ro ru se si sk sl sr sr@ijekavian sr@ijekavianlatin
66 sr@latin sv tr uk zh_CN zh_TW"
67 SRC_URI="http://ktorrent.org/downloads/${MY_PV}/${MY_P}.tar.bz2"
68 S="${WORKDIR}"/"${MY_P}"
69 fi
70
71 inherit kde4-base
72
73 DESCRIPTION="A BitTorrent program for KDE."
74 HOMEPAGE="http://ktorrent.org/"
75
76 LICENSE="GPL-2"
77 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
78 SLOT="4"
79 IUSE="+bwscheduler debug +downloadorder +infowidget +ipfilter +kross +logviewer
80 +magnetgenerator +mediaplayer plasma rss +scanfolder +search +shutdown +stats
81 +upnp webinterface +zeroconf"
82
83 COMMONDEPEND="
84 >=net-libs/libktorrent-1.0.3
85 mediaplayer? ( >=media-libs/taglib-1.5 )
86 plasma? ( >=kde-base/libtaskmanager-${KDE_MINIMAL} )
87 rss? (
88 >=kde-base/kdepimlibs-${KDE_MINIMAL}
89 )
90 shutdown? (
91 >=kde-base/libkworkspace-${KDE_MINIMAL}
92 >=kde-base/solid-${KDE_MINIMAL}
93 )
94 "
95 DEPEND="${COMMONDEPEND}
96 dev-libs/boost
97 sys-devel/gettext
98 "
99 RDEPEND="${COMMONDEPEND}
100 infowidget? ( >=dev-libs/geoip-1.4.4 )
101 ipfilter? (
102 app-arch/bzip2
103 app-arch/unzip
104 >=kde-base/kdebase-kioslaves-${KDE_MINIMAL}
105 )
106 kross? ( >=kde-base/krosspython-${KDE_MINIMAL} )
107 "
108
109 src_prepare() {
110 if ! use plasma; then
111 sed -i \
112 -e "s:add_subdirectory(plasma):#nada:g" \
113 CMakeLists.txt || die "Failed to make plasmoid optional"
114 fi
115
116 kde4-base_src_prepare
117 }
118
119 src_configure() {
120 mycmakeargs=(
121 -DENABLE_DHT_SUPPORT=ON
122 -DWITH_SYSTEM_GEOIP=ON
123 $(cmake-utils_use_enable bwscheduler BWSCHEDULER_PLUGIN)
124 $(cmake-utils_use_enable downloadorder DOWNLOADORDER_PLUGIN)
125 $(cmake-utils_use_enable infowidget INFOWIDGET_PLUGIN)
126 $(cmake-utils_use_with infowidget SYSTEM_GEOIP)
127 $(cmake-utils_use_enable ipfilter IPFILTER_PLUGIN)
128 $(cmake-utils_use_enable kross SCRIPTING_PLUGIN)
129 $(cmake-utils_use_enable logviewer LOGVIEWER_PLUGIN)
130 $(cmake-utils_use_enable magnetgenerator MAGNETGENERATOR_PLUGIN)
131 $(cmake-utils_use_enable mediaplayer MEDIAPLAYER_PLUGIN)
132 $(cmake-utils_use_enable rss SYNDICATION_PLUGIN)
133 $(cmake-utils_use_enable scanfolder SCANFOLDER_PLUGIN)
134 $(cmake-utils_use_enable search SEARCH_PLUGIN)
135 $(cmake-utils_use_enable shutdown SHUTDOWN_PLUGIN)
136 $(cmake-utils_use_enable stats STATS_PLUGIN)
137 $(cmake-utils_use_enable upnp UPNP_PLUGIN)
138 $(cmake-utils_use_enable webinterface WEBINTERFACE_PLUGIN)
139 $(cmake-utils_use_enable zeroconf ZEROCONF_PLUGIN)
140 )
141 kde4-base_src_configure
142 }