| 1 | # Copyright 1999-2007 Gentoo Foundation |
1 | # Copyright 1999-2007 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/Attic/pidgin-2.0.2.ebuild,v 1.3 2007/07/01 06:24:53 mr_bones_ Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/Attic/pidgin-2.0.2.ebuild,v 1.4 2007/07/20 21:48:53 tester Exp $ |
| 4 | |
4 | |
| 5 | WANT_AUTOMAKE=1.9 |
5 | WANT_AUTOMAKE=1.9 |
| 6 | |
6 | |
| 7 | inherit flag-o-matic eutils toolchain-funcs multilib autotools perl-app gnome2 |
7 | inherit flag-o-matic eutils toolchain-funcs multilib autotools perl-app gnome2 |
| 8 | |
8 | |
| … | |
… | |
| 13 | SRC_URI="mirror://sourceforge/${PN}/${MY_PV}.tar.bz2" |
13 | SRC_URI="mirror://sourceforge/${PN}/${MY_PV}.tar.bz2" |
| 14 | |
14 | |
| 15 | LICENSE="GPL-2" |
15 | LICENSE="GPL-2" |
| 16 | SLOT="0" |
16 | SLOT="0" |
| 17 | KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
17 | KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
| 18 | IUSE="avahi bonjour crypt dbus debug doc eds gadu gnutls gstreamer meanwhile networkmanager nls perl silc startup-notification tcl tk xscreensaver spell ssl qq msn gadu" |
18 | IUSE="avahi bonjour crypt dbus debug doc eds gadu gnutls gstreamer meanwhile networkmanager nls perl silc startup-notification tcl tk xscreensaver spell qq gadu" |
| 19 | IUSE="${IUSE} gtk sasl ncurses groupwise prediction zephyr" # mono" |
19 | IUSE="${IUSE} gtk sasl ncurses groupwise prediction zephyr" # mono" |
| 20 | |
20 | |
| 21 | RDEPEND=" |
21 | RDEPEND=" |
| 22 | bonjour? ( !avahi? ( net-misc/howl ) |
22 | bonjour? ( !avahi? ( net-misc/howl ) |
| 23 | avahi? ( net-dns/avahi ) ) |
23 | avahi? ( net-dns/avahi ) ) |
| … | |
… | |
| 34 | >=dev-libs/glib-2.0 |
34 | >=dev-libs/glib-2.0 |
| 35 | gstreamer? ( =media-libs/gstreamer-0.10* |
35 | gstreamer? ( =media-libs/gstreamer-0.10* |
| 36 | =media-libs/gst-plugins-good-0.10* ) |
36 | =media-libs/gst-plugins-good-0.10* ) |
| 37 | perl? ( >=dev-lang/perl-5.8.2-r1 ) |
37 | perl? ( >=dev-lang/perl-5.8.2-r1 ) |
| 38 | gadu? ( net-libs/libgadu ) |
38 | gadu? ( net-libs/libgadu ) |
| 39 | ssl? ( |
|
|
| 40 | gnutls? ( net-libs/gnutls ) |
39 | gnutls? ( net-libs/gnutls ) |
| 41 | !gnutls? ( >=dev-libs/nss-3.11 ) |
40 | !gnutls? ( >=dev-libs/nss-3.11 ) |
| 42 | ) |
|
|
| 43 | msn? ( |
|
|
| 44 | gnutls? ( net-libs/gnutls ) |
|
|
| 45 | !gnutls? ( >=dev-libs/nss-3.11 ) |
|
|
| 46 | ) |
|
|
| 47 | meanwhile? ( net-libs/meanwhile ) |
41 | meanwhile? ( net-libs/meanwhile ) |
| 48 | silc? ( >=net-im/silc-toolkit-0.9.12-r3 ) |
42 | silc? ( >=net-im/silc-toolkit-0.9.12-r3 ) |
| 49 | zephyr? ( >=app-crypt/mit-krb5-1.3.6-r1 ) |
43 | zephyr? ( >=app-crypt/mit-krb5-1.3.6-r1 ) |
| 50 | tcl? ( dev-lang/tcl ) |
44 | tcl? ( dev-lang/tcl ) |
| 51 | tk? ( dev-lang/tk ) |
45 | tk? ( dev-lang/tk ) |
| … | |
… | |
| 63 | nls? ( sys-devel/gettext )" |
57 | nls? ( sys-devel/gettext )" |
| 64 | |
58 | |
| 65 | S="${WORKDIR}/${MY_PV}" |
59 | S="${WORKDIR}/${MY_PV}" |
| 66 | |
60 | |
| 67 | # Enable Default protocols |
61 | # Enable Default protocols |
| 68 | DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,zephyr,simple" |
62 | DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,zephyr,simple,msn" |
| 69 | |
63 | |
| 70 | # List of plugins yet to be ported (will be removed at some point) |
64 | # List of plugins yet to be ported (will be removed at some point) |
| 71 | # net-im/gaim-bnet |
65 | # net-im/gaim-bnet |
| 72 | # net-im/gaim-snpp (will soon be net-im/pidgin-snpp) |
66 | # net-im/gaim-snpp (will soon be net-im/pidgin-snpp) |
| 73 | # x11-plugins/autoprofile |
67 | # x11-plugins/autoprofile |
| … | |
… | |
| 206 | |
200 | |
| 207 | if use bonjour; then |
201 | if use bonjour; then |
| 208 | DYNAMIC_PRPLS="${DYNAMIC_PRPLS},bonjour" |
202 | DYNAMIC_PRPLS="${DYNAMIC_PRPLS},bonjour" |
| 209 | fi |
203 | fi |
| 210 | |
204 | |
| 211 | if use msn; then |
|
|
| 212 | DYNAMIC_PRPLS="${DYNAMIC_PRPLS},msn" |
|
|
| 213 | fi |
|
|
| 214 | |
|
|
| 215 | if use groupwise; then |
205 | if use groupwise; then |
| 216 | DYNAMIC_PRPLS="${DYNAMIC_PRPLS},novell" |
206 | DYNAMIC_PRPLS="${DYNAMIC_PRPLS},novell" |
| 217 | fi |
207 | fi |
| 218 | |
208 | |
| 219 | if use zephyr; then |
209 | if use zephyr; then |
| 220 | DYNAMIC_PRPLS="${DYNAMIC_PRPLS},zephyr" |
210 | DYNAMIC_PRPLS="${DYNAMIC_PRPLS},zephyr" |
| 221 | fi |
211 | fi |
| 222 | |
212 | |
| 223 | if use ssl || use msn ; then |
|
|
| 224 | if use gnutls ; then |
213 | if use gnutls ; then |
| 225 | einfo "Disabling NSS, using GnuTLS" |
214 | einfo "Disabling NSS, using GnuTLS" |
| 226 | myconf="${myconf} --enable-nss=no --enable-gnutls=yes" |
215 | myconf="${myconf} --enable-nss=no --enable-gnutls=yes" |
| 227 | myconf="${myconf} --with-gnutls-includes=/usr/include/gnutls" |
216 | myconf="${myconf} --with-gnutls-includes=/usr/include/gnutls" |
| 228 | myconf="${myconf} --with-gnutls-libs=/usr/$(get_libdir)" |
217 | myconf="${myconf} --with-gnutls-libs=/usr/$(get_libdir)" |
| 229 | else |
|
|
| 230 | einfo "Disabling GnuTLS, using NSS" |
|
|
| 231 | myconf="${myconf} --enable-gnutls=no --enable-nss=yes" |
|
|
| 232 | fi |
|
|
| 233 | else |
218 | else |
| 234 | einfo "No SSL support selected" |
219 | einfo "Disabling GnuTLS, using NSS" |
| 235 | myconf="${myconf} --enable-gnutls=no --enable-nss=no" |
220 | myconf="${myconf} --enable-gnutls=no --enable-nss=yes" |
| 236 | fi |
221 | fi |
| 237 | |
222 | |
| 238 | if use xscreensaver ; then |
223 | if use xscreensaver ; then |
| 239 | myconf="${myconf} --x-includes=/usr/include/X11" |
224 | myconf="${myconf} --x-includes=/usr/include/X11" |
| 240 | fi |
225 | fi |