blob: 6938b48350d734b292b8b046f00f5f27229f05b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nautilus-sendto/nautilus-sendto-0.8-r1.ebuild,v 1.5 2007/08/02 05:46:10 mr_bones_ Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
inherit gnome2 eutils autotools
DESCRIPTION="A nautilus extension for sending files to locations"
HOMEPAGE="http://www.gnome.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86"
IUSE="bluetooth eds gaim gajim sylpheed thunderbird"
RDEPEND=">=x11-libs/gtk+-2.4
>=dev-libs/glib-2.4
>=gnome-base/libglade-2.5.1
>=gnome-base/libbonobo-2.13.0
>=gnome-base/libbonoboui-2.13.0
>=gnome-base/libgnome-2.13.0
>=gnome-base/libgnomeui-2.13.0
>=gnome-base/nautilus-2.13.3
>=gnome-base/gconf-2.13.0
>=dev-libs/dbus-glib-0.71
bluetooth? ( >=net-wireless/gnome-bluetooth-0.6 )
eds? ( >=gnome-extra/evolution-data-server-1.5.3 )
gaim? ( net-im/gaim )
gajim? ( net-im/gajim )
sylpheed? ( || (
mail-client/sylpheed
mail-client/claws-mail
mail-client/sylpheed-claws
)
)
thunderbird? ( mail-client/mozilla-thunderbird )"
DEPEND="${RDEPEND}
sys-devel/gettext
>=dev-util/pkgconfig-0.19
>=dev-util/intltool-0.35"
DOCS="AUTHORS ChangeLog NEWS README"
pkg_setup() {
G2CONF="${G2CONF} \
$(use_enable bluetooth) \
$(use_enable eds evolution) \
$(use_enable gaim) \
$(use_enable gajim) \
$(use_enable sylpheed) \
$(use_enable thunderbird)"
}
src_unpack() {
unpack ${A}
cd ${S}
# Convert autodetection into hard options
epatch ${FILESDIR}/${PN}-0.7-configure-options.patch
# Add support for gaim 2.0
if has_version '=net-im/gaim-2*' ; then
epatch ${FILESDIR}/${PN}-0.8-gaim-2.0-plugin.patch
fi
# Fix claws-mail support
epatch ${FILESDIR}/${PN}-0.8-claws-mail-plugin.patch
# Fix thunderbird support
epatch ${FILESDIR}/${PN}-0.8-thunderbird-binaries.patch
# Oh the joys of autotools
eautoreconf
}
pkg_postinst() {
gnome2_pkg_postinst
if use gaim ; then
elog "To enable SendTo support in GAIM, you must enable the plugin in GAIM"
elog "Check Tools -> Preferences -> Plugins in the GAIM menu."
fi
}
|