Gentoo Archives: gentoo-commits

From: "Olivier Crete (tester)" <tester@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/pidgin: ChangeLog pidgin-2.5.7.ebuild
Date: Sun, 21 Jun 2009 04:13:00
Message-Id: E1MIEQM-0004UL-BH@stork.gentoo.org
1 tester 09/06/21 04:12:58
2
3 Modified: ChangeLog
4 Added: pidgin-2.5.7.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.102 net-im/pidgin/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.102&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.102&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?r1=1.101&r2=1.102
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v
19 retrieving revision 1.101
20 retrieving revision 1.102
21 diff -u -r1.101 -r1.102
22 --- ChangeLog 25 May 2009 16:02:58 -0000 1.101
23 +++ ChangeLog 21 Jun 2009 04:12:58 -0000 1.102
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-im/pidgin
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.101 2009/05/25 16:02:58 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.102 2009/06/21 04:12:58 tester Exp $
29 +
30 +*pidgin-2.5.7 (21 Jun 2009)
31 +
32 + 21 Jun 2009; Olivier CrĂȘte <tester@g.o> +pidgin-2.5.7.ebuild:
33 + Version bump
34
35 25 May 2009; Brent Baude <ranger@g.o> pidgin-2.5.6.ebuild:
36 Marking pidgin-2.5.6 ppc64 and ppc for bug 270811
37
38
39
40 1.1 net-im/pidgin/pidgin-2.5.7.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.5.7.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.5.7.ebuild?rev=1.1&content-type=text/plain
44
45 Index: pidgin-2.5.7.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.5.7.ebuild,v 1.1 2009/06/21 04:12:58 tester Exp $
50
51 EAPI=2
52
53 inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2
54
55 DESCRIPTION="GTK Instant Messenger client"
56 HOMEPAGE="http://pidgin.im/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
62 IUSE="bonjour dbus debug doc eds gadu gnutls +gstreamer meanwhile"
63 IUSE="${IUSE} networkmanager nls perl silc tcl tk spell qq gadu"
64 IUSE="${IUSE} +gtk sasl ncurses groupwise prediction zephyr" # mono"
65
66 RDEPEND="
67 bonjour? ( net-dns/avahi )
68 dbus? ( >=dev-libs/dbus-glib-0.71
69 >=dev-python/dbus-python-0.71
70 >=sys-apps/dbus-0.90
71 >=dev-lang/python-2.4 )
72 gtk? (
73 spell? ( >=app-text/gtkspell-2.0.2 )
74 >=x11-libs/gtk+-2.0
75 >=x11-libs/startup-notification-0.5
76 x11-libs/libXScrnSaver
77 eds? ( gnome-extra/evolution-data-server ) )
78 >=dev-libs/glib-2.0
79 gstreamer? ( =media-libs/gstreamer-0.10*
80 =media-libs/gst-plugins-good-0.10* )
81 perl? ( >=dev-lang/perl-5.8.2-r1 )
82 gadu? ( net-libs/libgadu[-ssl] )
83 gnutls? ( net-libs/gnutls )
84 !gnutls? ( >=dev-libs/nss-3.11 )
85 meanwhile? ( net-libs/meanwhile )
86 silc? ( >=net-im/silc-toolkit-0.9.12-r3 )
87 zephyr? ( >=app-crypt/mit-krb5-1.3.6-r1[krb4] )
88 tcl? ( dev-lang/tcl )
89 tk? ( dev-lang/tk )
90 sasl? ( >=dev-libs/cyrus-sasl-2 )
91 dev-libs/libxml2
92 networkmanager? ( net-misc/networkmanager )
93 prediction? ( =dev-db/sqlite-3* )
94 ncurses? ( sys-libs/ncurses[unicode] )"
95 # Mono support crashes pidgin
96 #mono? ( dev-lang/mono )"
97
98 DEPEND="$RDEPEND
99 dev-lang/perl
100 dev-perl/XML-Parser
101 dev-util/pkgconfig
102 gtk? ( x11-proto/scrnsaverproto )
103 doc? ( app-doc/doxygen )
104 nls? ( sys-devel/gettext )"
105
106 # Enable Default protocols
107 DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace"
108
109 # List of plugins
110 # app-accessibility/pidgin-festival
111 # net-im/librvp
112 # x11-plugins/guifications
113 # x11-plugins/pidgin-encryption
114 # x11-plugins/pidgin-extprefs
115 # x11-plugins/pidgin-hotkeys
116 # x11-plugins/pidgin-latex
117 # x11-plugins/pidgin-libnotify
118 # x11-plugins/pidgin-otr
119 # x11-plugins/pidgin-rhythmbox
120 # x11-plugins/purple-plugin_pack
121 # x11-themes/pidgin-smileys
122
123 pkg_setup() {
124 if ! use gtk && ! use ncurses ; then
125 einfo
126 elog "You did not pick the ncurses or gtk use flags, only libpurple"
127 elog "will be built."
128 einfo
129 fi
130 }
131
132 src_prepare() {
133 epatch "${FILESDIR}"/${PN}-2.5.4-icq.patch
134 }
135
136 src_configure() {
137 # Stabilize things, for your own good
138 strip-flags
139 replace-flags -O? -O2
140
141 # -msse2 doesn't play nice on gcc 3.2
142 [[ "`gcc-version`" == "3.2" ]] && filter-flags -msse2
143
144 local myconf
145
146 if use gadu; then
147 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
148 myconf="${myconf} --with-gadu-includes=."
149 myconf="${myconf} --with-gadu-libs=."
150 fi
151
152 if use silc; then
153 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},silc"
154 fi
155
156 if use qq; then
157 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},qq"
158 fi
159
160 if use meanwhile; then
161 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},sametime"
162 fi
163
164 if use bonjour; then
165 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},bonjour"
166 fi
167
168 if use groupwise; then
169 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},novell"
170 fi
171
172 if use zephyr; then
173 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},zephyr"
174 fi
175
176 if use gnutls ; then
177 einfo "Disabling NSS, using GnuTLS"
178 myconf="${myconf} --enable-nss=no --enable-gnutls=yes"
179 myconf="${myconf} --with-gnutls-includes=/usr/include/gnutls"
180 myconf="${myconf} --with-gnutls-libs=/usr/$(get_libdir)"
181 else
182 einfo "Disabling GnuTLS, using NSS"
183 myconf="${myconf} --enable-gnutls=no --enable-nss=yes"
184 fi
185
186 econf \
187 $(use_enable ncurses consoleui) \
188 $(use_enable nls) \
189 $(use_enable perl) \
190 $(use_enable gtk gtkui) \
191 $(use_enable gtk startup-notification) \
192 $(use_enable gtk screensaver) \
193 $(use_enable gtk sm) \
194 $(use_enable tcl) \
195 $(use_enable spell gtkspell) \
196 $(use_enable tk) \
197 $(use_enable debug) \
198 $(use_enable dbus) \
199 $(use_enable meanwhile) \
200 $(use_enable eds gevolution) \
201 $(use_enable gstreamer) \
202 $(use_enable sasl cyrus-sasl ) \
203 $(use_enable doc doxygen) \
204 $(use_enable prediction cap) \
205 $(use_enable networkmanager nm) \
206 $(use_with zephyr krb4) \
207 $(use_enable bonjour avahi) \
208 "--with-dynamic-prpls=${DYNAMIC_PRPLS}" \
209 --disable-mono \
210 --x-includes=/usr/include/X11 \
211 ${myconf} || die "Configuration failed"
212 #$(use_enable mono) \
213 }
214
215 src_install() {
216 gnome2_src_install
217 use perl && fixlocalpod
218 dodoc AUTHORS HACKING INSTALL NEWS README ChangeLog
219 }