Gentoo Archives: gentoo-commits

From: "Ben de Groot (yngwin)" <yngwin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/ktorrent: ChangeLog ktorrent-2.2.6.ebuild
Date: Fri, 25 Apr 2008 15:30:12
Message-Id: E1JpPsH-0001ms-GR@stork.gentoo.org
1 yngwin 08/04/25 15:30:09
2
3 Modified: ChangeLog
4 Added: ktorrent-2.2.6.ebuild
5 Log:
6 ktorrent version bump
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.81 net-p2p/ktorrent/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ChangeLog?rev=1.81&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ChangeLog?rev=1.81&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ChangeLog?r1=1.80&r2=1.81
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v
19 retrieving revision 1.80
20 retrieving revision 1.81
21 diff -u -r1.80 -r1.81
22 --- ChangeLog 26 Mar 2008 20:49:04 -0000 1.80
23 +++ ChangeLog 25 Apr 2008 15:30:08 -0000 1.81
24 @@ -1,6 +1,11 @@
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.80 2008/03/26 20:49:04 deathwing00 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ChangeLog,v 1.81 2008/04/25 15:30:08 yngwin Exp $
29 +
30 +*ktorrent-2.2.6 (25 Apr 2008)
31 +
32 + 25 Apr 2008; Ben de Groot <yngwin@g.o> +ktorrent-2.2.6.ebuild:
33 + Version bump, fixes bug 219115
34
35 *ktorrent-3.0.1 (26 Mar 2008)
36
37
38
39
40 1.1 net-p2p/ktorrent/ktorrent-2.2.6.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ktorrent-2.2.6.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/ktorrent/ktorrent-2.2.6.ebuild?rev=1.1&content-type=text/plain
44
45 Index: ktorrent-2.2.6.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ktorrent-2.2.6.ebuild,v 1.1 2008/04/25 15:30:08 yngwin Exp $
50
51 inherit kde
52
53 MY_P="${P/_/}"
54 MY_PV="${PV/_/}"
55 DESCRIPTION="A BitTorrent program for KDE."
56 HOMEPAGE="http://ktorrent.org/"
57 SRC_URI="http://ktorrent.org/downloads/${MY_PV}/${MY_P}.tar.bz2"
58 LICENSE="GPL-2"
59
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
62 IUSE="avahi kdeenablefinal"
63
64 DEPEND="dev-libs/gmp
65 >=dev-libs/geoip-1.4.0-r1
66 avahi? ( >=net-dns/avahi-0.6.16-r1 )"
67 RDEPEND="${DEPEND}
68 || ( =kde-base/kdebase-kioslaves-3.5* =kde-base/kdebase-3.5* )"
69
70 S="${WORKDIR}/${MY_P}"
71
72 need-kde 3.5
73
74 LANGS="ar bg br ca cs cy da de el en_GB es et fa fr gl hu it ja ka lt
75 ms nb nds nl pa pl pt pt_BR ru rw sk sr sr@Latn sv tr uk zh_CN zh_TW"
76
77 for X in ${LANGS} ; do
78 IUSE="${IUSE} linguas_${X}"
79 done
80
81 pkg_setup() {
82 if use avahi && ! built_with_use net-dns/avahi qt3 ; then
83 echo
84 eerror "In order to use ktorrents zeroconf plugin you need to have"
85 eerror "net-dns/avahi emerged with \"qt3\" in your USE flag. Please add"
86 eerror "that flag, re-emerge avahi, and then emerge ktorrent again."
87 echo
88 die "net-dns/avahi not built with \"qt3\" support."
89 fi
90
91 kde_pkg_setup
92 }
93
94 src_unpack() {
95 kde_src_unpack
96
97 local MAKE_LANGS
98 cd "${WORKDIR}/${MY_P}/translations"
99 for X in ${LANGS} ; do
100 use linguas_${X} && MAKE_LANGS="${MAKE_LANGS} ${X}"
101 done
102 sed -i -e "s:SUBDIRS=.*:SUBDIRS=${MAKE_LANGS}:" Makefile.am
103
104 cd "${S}"
105 # Fix automagic dependencies on avahi
106 epatch "${FILESDIR}/${PN}-2.2.5-avahi-check.patch"
107
108 rm -f "${S}/configure"
109 }
110
111 src_compile(){
112 local myconf="${myconf}
113 $(use_with avahi)
114 --enable-builtin-country-flags
115 --enable-knetwork
116 --enable-system-geoip
117 --enable-torrent-mimetype
118 --disable-geoip"
119
120 kde_src_compile
121 }
122
123
124
125 --
126 gentoo-commits@l.g.o mailing list