blob: 940de2e45d08dcb320d79af9750f801efa2fc7a3 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nautilus-sendto/nautilus-sendto-3.6.0.ebuild,v 1.3 2013/01/01 14:33:21 ago Exp $
EAPI="5"
GCONF_DEBUG="yes"
GNOME2_LA_PUNT="yes"
inherit eutils gnome2 multilib
DESCRIPTION="A nautilus extension for sending files to locations"
HOMEPAGE="http://www.gnome.org"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86"
IUSE="cdr gajim +mail pidgin upnp-av"
COMMON_DEPEND=">=x11-libs/gtk+-2.90.3:3[X(+)]
>=dev-libs/glib-2.25.9:2
cdr? ( >=app-cdr/brasero-2.26[nautilus] )
gajim? (
net-im/gajim
>=dev-libs/dbus-glib-0.60 )
mail? ( >=gnome-extra/evolution-data-server-3.5.3:= )
pidgin? (
>=net-im/pidgin-2
>=dev-libs/dbus-glib-0.60 )
upnp-av? ( >=net-libs/gupnp-0.13 )
"
RDEPEND="${COMMON_DEPEND}
>=gnome-base/nautilus-2.91.1[sendto]"
DEPEND="${COMMON_DEPEND}
>=dev-util/gtk-doc-am-1.9
>=dev-util/intltool-0.35
>=gnome-base/nautilus-2.91.1
sys-devel/gettext
virtual/pkgconfig
"
# Needed for eautoreconf
# >=gnome-base/gnome-common-0.12
_use_plugin() {
if use ${1}; then
G2CONF="${G2CONF}${2:-"${1}"},"
fi
}
src_configure() {
DOCS="AUTHORS ChangeLog NEWS README"
G2CONF="${G2CONF}
--with-plugins=removable-devices,"
_use_plugin cdr nautilus-burn
_use_plugin mail evolution
_use_plugin pidgin
_use_plugin gajim
_use_plugin upnp-av upnp
gnome2_src_configure
}
src_install() {
gnome2_src_install
# Prevent file collision with nautilus-3 (which installs its own copy of
# libnautilus-sendto.so)
rm -r "${ED}/usr/$(get_libdir)/nautilus/extensions-"* || die
}
|