/[gentoo-x86]/gnome-base/gvfs/gvfs-1.14.1.ebuild
Gentoo

Contents of /gnome-base/gvfs/gvfs-1.14.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Oct 28 21:55:05 2012 UTC (20 months, 4 weeks ago) by eva
Branch: MAIN
Version bump. Session dbus stop fix, fuse/udisks2/gphoto2 fixes.

(Portage version: 2.2.0_alpha141/cvs/Linux x86_64, signed Manifest commit with key C6085806)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-base/gvfs/gvfs-1.14.0.ebuild,v 1.1 2012/09/25 11:46:48 tetromino Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8
9 inherit autotools bash-completion-r1 eutils gnome2
10 if [[ ${PV} = 9999 ]]; then
11 inherit gnome2-live
12 fi
13
14 DESCRIPTION="GNOME Virtual Filesystem Layer"
15 HOMEPAGE="http://www.gnome.org"
16
17 LICENSE="LGPL-2+"
18 SLOT="0"
19
20 if [[ ${PV} = 9999 ]]; then
21 KEYWORDS=""
22 DOCS=""
23 else
24 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
25 DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README TODO" # ChangeLog.pre-1.2 README.commits
26 fi
27
28 SRC_URI="${SRC_URI}
29 http://dev.gentoo.org/~tetromino/distfiles/aclocal/libgcrypt.m4.bz2"
30
31 IUSE="afp archive avahi bluetooth bluray cdda doc fuse gdu gnome-keyring gphoto2 gtk +http ios samba systemd +udev udisks"
32 REQUIRED_USE="systemd? ( udisks )"
33
34 # Can use libgphoto-2.5.0 as well. Automagic detection.
35 RDEPEND=">=dev-libs/glib-2.33.12:2
36 sys-apps/dbus
37 dev-libs/libxml2:2
38 net-misc/openssh
39 afp? ( >=dev-libs/libgcrypt-1.2.2 )
40 archive? ( app-arch/libarchive )
41 avahi? ( >=net-dns/avahi-0.6 )
42 bluetooth? (
43 >=app-mobilephone/obex-data-server-0.4.5
44 dev-libs/dbus-glib
45 net-wireless/bluez
46 dev-libs/expat )
47 bluray? ( media-libs/libbluray )
48 fuse? ( >=sys-fs/fuse-2.8.0 )
49 gdu? ( || (
50 >=gnome-base/libgdu-3.0.2
51 =sys-apps/gnome-disk-utility-3.0.2-r300
52 =sys-apps/gnome-disk-utility-3.0.2-r200 ) )
53 gnome-keyring? ( app-crypt/libsecret )
54 gphoto2? ( >=media-libs/libgphoto2-2.4.7 )
55 gtk? ( >=x11-libs/gtk+-3.0:3 )
56 http? ( >=net-libs/libsoup-gnome-2.26.0 )
57 ios? (
58 >=app-pda/libimobiledevice-1.1.0
59 >=app-pda/libplist-1 )
60 samba? ( >=net-fs/samba-3.4.6[smbclient] )
61 systemd? ( sys-apps/systemd )
62 udev? (
63 cdda? ( >=dev-libs/libcdio-0.78.2[-minimal] )
64 || ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-164-r2[extras] ) )
65 udisks? ( >=sys-fs/udisks-1.97:2[systemd?] )"
66 DEPEND="${RDEPEND}
67 dev-libs/libxslt
68 >=dev-util/intltool-0.40
69 virtual/pkgconfig
70 dev-util/gtk-doc-am
71 doc? ( >=dev-util/gtk-doc-1 )"
72
73 REQUIRED_USE="cdda? ( udev )"
74
75 pkg_setup() {
76 # --enable-documentation installs man pages
77 G2CONF="${G2CONF}
78 --disable-bash-completion
79 --disable-hal
80 --disable-schemas-compile
81 --with-dbus-service-dir="${EPREFIX}"/usr/share/dbus-1/services
82 --enable-documentation
83 $(use_enable afp)
84 $(use_enable archive)
85 $(use_enable avahi)
86 $(use_enable bluetooth obexftp)
87 $(use_enable bluray)
88 $(use_enable cdda)
89 $(use_enable fuse)
90 $(use_enable gdu)
91 $(use_enable gphoto2)
92 $(use_enable gtk)
93 $(use_enable ios afc)
94 $(use_enable udev)
95 $(use_enable udev gudev)
96 $(use_enable http)
97 $(use_enable gnome-keyring keyring)
98 $(use_enable samba)
99 $(use_enable systemd libsystemd-login)
100 $(use_enable udisks udisks2)"
101 }
102
103 src_prepare() {
104 if use archive; then
105 epatch "${FILESDIR}"/${PN}-1.2.2-expose-archive-backend.patch
106 echo mount-archive.desktop.in >> po/POTFILES.in
107 echo mount-archive.desktop.in.in >> po/POTFILES.in
108 fi
109
110 if ! use udev; then
111 sed -i -e 's/gvfsd-burn/ /' daemon/Makefile.am || die
112 sed -i -e 's/burn.mount.in/ /' daemon/Makefile.am || die
113 sed -i -e 's/burn.mount/ /' daemon/Makefile.am || die
114 fi
115
116 if use archive || ! use udev; then
117 # libgcrypt.m4 needed for eautoreconf, bug #399043
118 mv "${WORKDIR}/libgcrypt.m4" "${S}"/ || die
119
120 [[ ${PV} = 9999 ]] || AT_M4DIR=. eautoreconf
121 fi
122
123 gnome2_src_prepare
124 }
125
126 src_install() {
127 gnome2_src_install
128 dobashcomp programs/completion/gvfs
129 }

  ViewVC Help
Powered by ViewVC 1.1.20