blob: 2ff2c74be30ec91fc346e1aa9d2f2734923e03a7 (
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
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-base/gvfs/gvfs-1.2.2.ebuild,v 1.1 2009/05/10 18:18:33 nirbheek Exp $
EAPI="2"
inherit autotools bash-completion gnome2 eutils
DESCRIPTION="GNOME Virtual Filesystem Layer"
HOMEPAGE="http://www.gnome.org"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~x86"
IUSE="archive avahi bluetooth cdda doc fuse gnome gnome-keyring gphoto2 hal samba"
RDEPEND=">=dev-libs/glib-2.19
>=sys-apps/dbus-1.0
>=net-libs/libsoup-2.25.1[gnome]
dev-libs/libxml2
net-misc/openssh
archive? ( app-arch/libarchive )
avahi? ( >=net-dns/avahi-0.6 )
bluetooth? (
dev-libs/dbus-glib
net-wireless/bluez
dev-libs/expat )
cdda? (
>=sys-apps/hal-0.5.10
>=dev-libs/libcdio-0.78.2[-minimal] )
fuse? ( sys-fs/fuse )
gnome? ( >=gnome-base/gconf-2.0 )
gnome-keyring? ( >=gnome-base/gnome-keyring-1.0 )
gphoto2? ( >=media-libs/libgphoto2-2.4 )
hal? ( >=sys-apps/hal-0.5.10 )
samba? ( >=net-fs/samba-3 )"
DEPEND="${RDEPEND}
>=dev-util/intltool-0.40
>=dev-util/pkgconfig-0.19
doc? ( >=dev-util/gtk-doc-1 )"
DOCS="AUTHORS ChangeLog NEWS README TODO"
pkg_setup() {
G2CONF="${G2CONF}
--enable-http
--disable-bash-completion
$(use_enable archive)
$(use_enable avahi)
$(use_enable bluetooth obexftp)
$(use_enable cdda)
$(use_enable fuse)
$(use_enable gnome gconf)
$(use_enable gphoto2)
$(use_enable hal)
$(use_enable gnome-keyring keyring)
$(use_enable samba)"
}
src_prepare() {
gnome2_src_prepare
if use archive; then
epatch "${FILESDIR}/${P}-expose-archive-backend.patch"
eautoreconf
fi
}
src_install() {
gnome2_src_install
use bash-completion && \
dobashcompletion programs/gvfs-bash-completion.sh ${PN}
}
pkg_postinst() {
gnome2_pkg_postinst
use bash-completion && bash-completion_pkg_postinst
}
|