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