Gentoo Archives: gentoo-commits

From: "Ioannis Aslanidis (deathwing00)" <deathwing00@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/ktorrent: ChangeLog ktorrent-2.2.7.ebuild ktorrent-3.0.2.ebuild
Date: Sat, 31 May 2008 12:55:58
Message-Id: E1K2Qci-0001pJ-07@stork.gentoo.org
1 deathwing00 08/05/31 12:55:51
2
3 Modified: ChangeLog
4 Added: ktorrent-2.2.7.ebuild ktorrent-3.0.2.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.5.2)
8
9 Revision Changes Path
10 1.82 net-p2p/ktorrent/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ChangeLog?rev=1.82&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ChangeLog?rev=1.82&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ChangeLog?r1=1.81&r2=1.82
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v
19 retrieving revision 1.81
20 retrieving revision 1.82
21 diff -u -r1.81 -r1.82
22 --- ChangeLog 25 Apr 2008 15:30:08 -0000 1.81
23 +++ ChangeLog 31 May 2008 12:55:51 -0000 1.82
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-p2p/ktorrent
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v 1.81 2008/04/25 15:30:08 yngwin Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v 1.82 2008/05/31 12:55:51 deathwing00 Exp $
29 +
30 +*ktorrent-3.0.2 (31 May 2008)
31 +*ktorrent-2.2.7 (31 May 2008)
32 +
33 + 31 May 2008; Ioannis Aslanidis <deathwing00@g.o>
34 + +ktorrent-2.2.7.ebuild, +ktorrent-3.0.2.ebuild:
35 + Version bump.
36
37 *ktorrent-2.2.6 (25 Apr 2008)
38
39
40
41
42 1.1 net-p2p/ktorrent/ktorrent-2.2.7.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ktorrent-2.2.7.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ktorrent-2.2.7.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ktorrent-2.2.7.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ktorrent-2.2.7.ebuild,v 1.1 2008/05/31 12:55:51 deathwing00 Exp $
52
53 inherit kde
54
55 MY_P="${P/_/}"
56 MY_PV="${PV/_/}"
57 DESCRIPTION="A BitTorrent program for KDE."
58 HOMEPAGE="http://ktorrent.org/"
59 SRC_URI="http://ktorrent.org/downloads/${MY_PV}/${MY_P}.tar.bz2"
60 LICENSE="GPL-2"
61
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
64 IUSE="avahi kdeenablefinal"
65
66 DEPEND="dev-libs/gmp
67 >=dev-libs/geoip-1.4.0-r1
68 avahi? ( >=net-dns/avahi-0.6.16-r1 )"
69 RDEPEND="${DEPEND}
70 || ( =kde-base/kdebase-kioslaves-3.5* =kde-base/kdebase-3.5* )"
71
72 S="${WORKDIR}/${MY_P}"
73
74 need-kde 3.5
75
76 LANGS="ar bg br ca cs cy da de el en_GB es et fa fr gl hu it ja ka lt
77 ms nb nds nl pa pl pt pt_BR ru rw sk sr sr@Latn sv tr uk zh_CN zh_TW"
78
79 for X in ${LANGS} ; do
80 IUSE="${IUSE} linguas_${X}"
81 done
82
83 pkg_setup() {
84 if use avahi && ! built_with_use net-dns/avahi qt3 ; then
85 echo
86 eerror "In order to use ktorrents zeroconf plugin you need to have"
87 eerror "net-dns/avahi emerged with \"qt3\" in your USE flag. Please add"
88 eerror "that flag, re-emerge avahi, and then emerge ktorrent again."
89 echo
90 die "net-dns/avahi not built with \"qt3\" support."
91 fi
92
93 kde_pkg_setup
94 }
95
96 src_unpack() {
97 kde_src_unpack
98
99 local MAKE_LANGS
100 cd "${WORKDIR}/${MY_P}/translations"
101 for X in ${LANGS} ; do
102 use linguas_${X} && MAKE_LANGS="${MAKE_LANGS} ${X}"
103 done
104 sed -i -e "s:SUBDIRS=.*:SUBDIRS=${MAKE_LANGS}:" Makefile.am
105
106 cd "${S}"
107 # Fix automagic dependencies on avahi
108 epatch "${FILESDIR}/${PN}-2.2.5-avahi-check.patch"
109
110 rm -f "${S}/configure"
111 }
112
113 src_compile(){
114 local myconf="${myconf}
115 $(use_with avahi)
116 --enable-builtin-country-flags
117 --enable-knetwork
118 --enable-system-geoip
119 --enable-torrent-mimetype
120 --disable-geoip"
121
122 kde_src_compile
123 }
124
125
126
127 1.1 net-p2p/ktorrent/ktorrent-3.0.2.ebuild
128
129 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ktorrent-3.0.2.ebuild?rev=1.1&view=markup
130 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ktorrent-3.0.2.ebuild?rev=1.1&content-type=text/plain
131
132 Index: ktorrent-3.0.2.ebuild
133 ===================================================================
134 # Copyright 1999-2008 Gentoo Foundation
135 # Distributed under the terms of the GNU General Public License v2
136 # $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ktorrent-3.0.2.ebuild,v 1.1 2008/05/31 12:55:51 deathwing00 Exp $
137
138 EAPI="1"
139 NEED_KDE=":kde-4"
140 inherit versionator kde4-base
141
142 # Install to KDEDIR rather than /usr, to slot properly.
143 PREFIX="${KDEDIR}"
144
145 DESCRIPTION="A BitTorrent program for KDE."
146 HOMEPAGE="http://ktorrent.org/"
147 SRC_URI="http://${PN}.org/downloads/${PV}/${P}.tar.bz2"
148
149 LICENSE="GPL-2"
150 KEYWORDS="~amd64 ~x86"
151 SLOT="kde-4"
152 IUSE="+bwscheduler +infowidget +ipfilter +logviewer +scanfolder +search +stats +upnp +webinterface +zeroconf"
153
154 DEPEND="dev-libs/gmp
155 app-crypt/qca:2"
156 RDEPEND="${DEPEND}
157 infowidget? ( >=dev-libs/geoip-1.4.4 )
158 ipfilter? (
159 || ( >=kde-base/kdebase-kioslaves-4.0.0:${SLOT}
160 >=kde-base/kdebase-4.0.0:${SLOT} ) )
161 zeroconf? (
162 || ( >=kde-base/kdnssd-4.0.0:${SLOT}
163 >=kde-base/kdenetwork-4.0.0:${SLOT} ) )"
164
165 LANGS="ar be bg ca da de el en_GB eo es et eu fi fr ga gl hu it ja km lt nb nds nl nn
166 oc pl pt pt_BR ru se sk sr sv tr uk zh_CN zh_TW"
167
168 for X in ${LANGS}; do
169 IUSE="${IUSE} linguas_${X}"
170 done
171
172 src_compile() {
173 comment_all_add_subdirectory po/ || die "sed to remove all linguas failed."
174
175 local X
176 for X in ${LANGS}; do
177 if use linguas_${X}; then
178 sed -i -e "/add_subdirectory(\s*${X}\s*)\s*$/ s/^#DONOTCOMPILE //" \
179 po/CMakeLists.txt || die "sed to uncomment ${lang} failed."
180 fi
181 done
182
183 mycmakeargs="${mycmakeargs}
184 -DCMAKE_INSTALL_PREFIX=${PREFIX}
185 -DENABLE_DHT_SUPPORT=ON
186 $(cmake-utils_use_enable bwscheduler BWSCHEDULER_PLUGIN)
187 $(cmake-utils_use_enable infowidget INFOWIDGET_PLUGIN)
188 $(cmake-utils_use_with infowidget SYSTEM_GEOIP)
189 $(cmake-utils_use_enable ipfilter IPFILTER_PLUGIN)
190 $(cmake-utils_use_enable logviewer LOGVIEWER_PLUGIN)
191 $(cmake-utils_use_enable scanfolder SCANFOLDER_PLUGIN)
192 $(cmake-utils_use_enable search SEARCH_PLUGIN)
193 $(cmake-utils_use_enable stats STATS_PLUGIN)
194 $(cmake-utils_use_enable upnp UPNP_PLUGIN)
195 $(cmake-utils_use_enable webinterface WEBINTERFACE_PLUGIN)
196 $(cmake-utils_use_enable zeroconf ZEROCONF_PLUGIN)"
197 kde4-base_src_compile
198 }
199
200
201
202 --
203 gentoo-commits@l.g.o mailing list