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-3.2_beta1-r1.ebuild ChangeLog ktorrent-3.1.5-r2.ebuild ktorrent-3.2_beta1.ebuild ktorrent-3.1.5.ebuild ktorrent-3.1.5-r1.ebuild
Date: Mon, 12 Jan 2009 18:14:28
Message-Id: E1LMRIw-0008Qo-29@stork.gentoo.org
1 scarabeus 09/01/12 18:14:26
2
3 Modified: ChangeLog
4 Added: ktorrent-3.2_beta1-r1.ebuild
5 ktorrent-3.1.5-r2.ebuild
6 Removed: ktorrent-3.2_beta1.ebuild ktorrent-3.1.5.ebuild
7 ktorrent-3.1.5-r1.ebuild
8 Log:
9 Update ktorrent so it works with 4.2
10 (Portage version: 2.2_rc20/cvs/Linux 2.6.27-gentoo x86_64)
11
12 Revision Changes Path
13 1.99 net-p2p/ktorrent/ChangeLog
14
15 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ChangeLog?rev=1.99&view=markup
16 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ChangeLog?rev=1.99&content-type=text/plain
17 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ChangeLog?r1=1.98&r2=1.99
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v
22 retrieving revision 1.98
23 retrieving revision 1.99
24 diff -u -r1.98 -r1.99
25 --- ChangeLog 6 Jan 2009 02:48:08 -0000 1.98
26 +++ ChangeLog 12 Jan 2009 18:14:25 -0000 1.99
27 @@ -1,6 +1,14 @@
28 # ChangeLog for net-p2p/ktorrent
29 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v 1.98 2009/01/06 02:48:08 ranger Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v 1.99 2009/01/12 18:14:25 scarabeus Exp $
32 +
33 +*ktorrent-3.2_beta1-r1 (12 Jan 2009)
34 +*ktorrent-3.1.5-r2 (12 Jan 2009)
35 +
36 + 12 Jan 2009; Tomas Chvatal <scarabeus@g.o> -ktorrent-3.1.5.ebuild,
37 + -ktorrent-3.1.5-r1.ebuild, +ktorrent-3.1.5-r2.ebuild,
38 + -ktorrent-3.2_beta1.ebuild, +ktorrent-3.2_beta1-r1.ebuild:
39 + Update ktorrent so it works with 4.2
40
41 06 Jan 2009; Brent Baude <ranger@g.o> ktorrent-2.2.8.ebuild:
42 Marking ktorrent-2.2.8 ppc64 for bug 244741
43
44
45
46 1.1 net-p2p/ktorrent/ktorrent-3.2_beta1-r1.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ktorrent-3.2_beta1-r1.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ktorrent-3.2_beta1-r1.ebuild?rev=1.1&content-type=text/plain
50
51 Index: ktorrent-3.2_beta1-r1.ebuild
52 ===================================================================
53 # Copyright 1999-2009 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ktorrent-3.2_beta1-r1.ebuild,v 1.1 2009/01/12 18:14:25 scarabeus Exp $
56
57 EAPI="2"
58
59 KDE_MINIMAL="4.1"
60 KDE_LINGUAS="ca cs da de el es et fr gl it ja lv nb nds nl nn pl pt pt_BR ru sv uk zh_CN zh_TW"
61 inherit kde4-base
62
63 MY_PV="${PV/_/}"
64 MY_P="${P/_/}"
65
66 DESCRIPTION="A BitTorrent program for KDE."
67 HOMEPAGE="http://ktorrent.org/"
68 SRC_URI="http://ktorrent.org/downloads/${MY_PV}/${MY_P}.tar.bz2"
69
70 LICENSE="GPL-2"
71 KEYWORDS="~amd64 ~x86"
72 SLOT="3"
73 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer +mediaplayer +plasma +rss +scanfolder +search +stats +upnp webinterface"
74
75 DEPEND="app-crypt/qca:2
76 dev-libs/gmp
77 sys-devel/gettext
78 !kdeprefix? ( !net-p2p/ktorrent:0 )
79 plasma? ( kde-base/plasma-workspace )
80 !net-p2p/ktorrent:4.1"
81 # 4.1 blocker is due to slot change. We wont slot based on kde version
82 # but based on application version. This was stupid mistake.
83 RDEPEND="${DEPEND}
84 infowidget? ( >=dev-libs/geoip-1.4.4 )"
85
86 S="${WORKDIR}"/${MY_P}
87
88 src_prepare() {
89 # plasma is automagic so make it normal dep.
90 use plasma && VALUE="true" || VALUE="false"
91 sed -i \
92 -e "s:macro_log_feature(PLASMA_FOUND:SET ( PLASMA_FOUND ${VALUE}) #:g" \
93 CMakeLists.txt || die "sed failed"
94 }
95 src_configure() {
96 local mycmakeargs
97
98 mycmakeargs="${mycmakeargs}
99 -DCMAKE_INSTALL_PREFIX=${PREFIX}
100 -DENABLE_DHT_SUPPORT=ON
101 $(cmake-utils_use_enable bwscheduler BWSCHEDULER_PLUGIN)
102 $(cmake-utils_use_enable downloadorder DOWNLOADORDER_PLUGIN)
103 $(cmake-utils_use_enable infowidget INFOWIDGET_PLUGIN)
104 $(cmake-utils_use_with infowidget SYSTEM_GEOIP)
105 $(cmake-utils_use_enable ipfilter IPFILTER_PLUGIN)
106 $(cmake-utils_use_enable kross SCRIPTING_PLUGIN)
107 $(cmake-utils_use_enable logviewer LOGVIEWER_PLUGIN)
108 $(cmake-utils_use_enable mediaplayer MEDIAPLAYER_PLUGIN)
109 $(cmake-utils_use_enable rss SYNDICATION_PLUGIN)
110 $(cmake-utils_use_enable scanfolder SCANFOLDER_PLUGIN)
111 $(cmake-utils_use_enable search SEARCH_PLUGIN)
112 $(cmake-utils_use_enable stats STATS_PLUGIN)
113 $(cmake-utils_use_enable upnp UPNP_PLUGIN)
114 $(cmake-utils_use_enable webinterface WEBINTERFACE_PLUGIN)"
115 kde4-base_src_configure
116 }
117
118
119
120 1.1 net-p2p/ktorrent/ktorrent-3.1.5-r2.ebuild
121
122 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ktorrent-3.1.5-r2.ebuild?rev=1.1&view=markup
123 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ktorrent-3.1.5-r2.ebuild?rev=1.1&content-type=text/plain
124
125 Index: ktorrent-3.1.5-r2.ebuild
126 ===================================================================
127 # Copyright 1999-2009 Gentoo Foundation
128 # Distributed under the terms of the GNU General Public License v2
129 # $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ktorrent-3.1.5-r2.ebuild,v 1.1 2009/01/12 18:14:25 scarabeus Exp $
130
131 EAPI="2"
132
133 KDE_MINIMAL="4.1"
134 KDE_LINGUAS="ca cs da de el es et fr gl it ja lv nb nds nl nn pl pt pt_BR ru sv uk zh_CN zh_TW"
135 inherit kde4-base
136
137 DESCRIPTION="A BitTorrent program for KDE."
138 HOMEPAGE="http://ktorrent.org/"
139 SRC_URI="http://ktorrent.org/downloads/${PV}/${P}.tar.bz2"
140
141 LICENSE="GPL-2"
142 KEYWORDS="~amd64 ~x86"
143 SLOT="3"
144 IUSE="+bwscheduler +infowidget +ipfilter +logviewer +mediaplayer +scanfolder +search +stats +upnp webinterface"
145
146 DEPEND="app-crypt/qca:2
147 dev-libs/gmp
148 sys-devel/gettext
149 !kdeprefix? ( !net-p2p/ktorrent:0 )
150 !net-p2p/ktorrent:4.1"
151 # 4.1 blocker is due to slot change. We wont slot based on kde version but based
152 # on application version. This was stupid mistake.
153 RDEPEND="${DEPEND}
154 infowidget? ( >=dev-libs/geoip-1.4.4 )"
155
156 src_configure() {
157 local mycmakeargs
158
159 mycmakeargs="${mycmakeargs}
160 -DCMAKE_INSTALL_PREFIX=${PREFIX}
161 -DENABLE_DHT_SUPPORT=ON
162 $(cmake-utils_use_enable bwscheduler BWSCHEDULER_PLUGIN)
163 $(cmake-utils_use_enable infowidget INFOWIDGET_PLUGIN)
164 $(cmake-utils_use_with infowidget SYSTEM_GEOIP)
165 $(cmake-utils_use_enable ipfilter IPFILTER_PLUGIN)
166 $(cmake-utils_use_enable logviewer LOGVIEWER_PLUGIN)
167 $(cmake-utils_use_enable scanfolder SCANFOLDER_PLUGIN)
168 $(cmake-utils_use_enable search SEARCH_PLUGIN)
169 $(cmake-utils_use_enable stats STATS_PLUGIN)
170 $(cmake-utils_use_enable upnp UPNP_PLUGIN)
171 $(cmake-utils_use_enable webinterface WEBINTERFACE_PLUGIN)
172 $(cmake-utils_use_enable mediaplayer MEDIAPLAYER_PLUGIN)"
173 kde4-base_src_configure
174 }