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

Contents of /gnome-base/gvfs/gvfs-1.12.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Sep 26 10:54:41 2012 UTC (22 months ago) by ssuominen
Branch: MAIN
Dummy revision bump to change default from UDisks2 to UDisks1 temporarily wrt #427544

(Portage version: 2.2.0_alpha128/cvs/Linux x86_64, RepoMan options: --force)

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.12.3.ebuild,v 1.4 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
11 [[ ${PV} = 9999 ]] && inherit gnome2-live
12
13 DESCRIPTION="GNOME Virtual Filesystem Layer"
14 HOMEPAGE="http://www.gnome.org"
15
16 LICENSE="LGPL-2+"
17 SLOT="0"
18
19 if [[ ${PV} = 9999 ]]; then
20 KEYWORDS=""
21 DOCS=""
22 else
23 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"
24 DOCS="AUTHORS ChangeLog NEWS MAINTAINERS README TODO" # ChangeLog.pre-1.2 README.commits
25 fi
26
27 SRC_URI="${SRC_URI}
28 http://dev.gentoo.org/~tetromino/distfiles/aclocal/libgcrypt.m4.bz2"
29
30 IUSE="afp archive avahi bluetooth bluray cdda doc fuse gdu gnome-keyring gphoto2 +http ios samba +udev udisks"
31
32 RDEPEND=">=dev-libs/glib-2.31.0:2
33 sys-apps/dbus
34 dev-libs/libxml2
35 net-misc/openssh
36 afp? ( >=dev-libs/libgcrypt-1.2.2 )
37 archive? ( app-arch/libarchive )
38 avahi? ( >=net-dns/avahi-0.6 )
39 bluetooth? (
40 >=app-mobilephone/obex-data-server-0.4.5
41 dev-libs/dbus-glib
42 net-wireless/bluez
43 dev-libs/expat )
44 bluray? ( media-libs/libbluray )
45 fuse? ( >=sys-fs/fuse-2.8.0 )
46 gdu? ( || (
47 >=gnome-base/libgdu-3.0.2
48 =sys-apps/gnome-disk-utility-3.0.2-r300
49 =sys-apps/gnome-disk-utility-3.0.2-r200 ) )
50 gnome-keyring? ( >=gnome-base/gnome-keyring-1.0 )
51 gphoto2? ( >=media-libs/libgphoto2-2.4.7 )
52 ios? (
53 >=app-pda/libimobiledevice-1.1.0
54 >=app-pda/libplist-1 )
55 udev? (
56 cdda? ( >=dev-libs/libcdio-0.78.2[-minimal] )
57 || ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-164-r2[extras] ) )
58 udisks? ( >=sys-fs/udisks-1.90:2 )
59 http? ( >=net-libs/libsoup-gnome-2.26.0 )
60 samba? ( >=net-fs/samba-3.4.6[smbclient] )"
61 DEPEND="${RDEPEND}
62 >=dev-util/intltool-0.40
63 virtual/pkgconfig
64 dev-util/gtk-doc-am
65 doc? ( >=dev-util/gtk-doc-1 )"
66
67 REQUIRED_USE="cdda? ( udev )"
68
69 pkg_setup() {
70 G2CONF="${G2CONF}
71 --disable-bash-completion
72 --disable-hal
73 --disable-schemas-compile
74 --with-dbus-service-dir="${EPREFIX}"/usr/share/dbus-1/services
75 $(use_enable afp)
76 $(use_enable archive)
77 $(use_enable avahi)
78 $(use_enable bluetooth obexftp)
79 $(use_enable bluray)
80 $(use_enable cdda)
81 $(use_enable fuse)
82 $(use_enable gdu)
83 $(use_enable gphoto2)
84 $(use_enable ios afc)
85 $(use_enable udev)
86 $(use_enable udev gudev)
87 $(use_enable http)
88 $(use_enable gnome-keyring keyring)
89 $(use_enable samba)
90 $(use_enable udisks udisks2)"
91 }
92
93 src_prepare() {
94 # Conditional patching purely to avoid eautoreconf
95 if use gphoto2; then
96 epatch "${FILESDIR}"/${PN}-1.12.3-gphoto2-stricter-checks.patch
97 epatch "${FILESDIR}"/${PN}-1.12.3-gphoto2-2.5-{1,2}.patch
98 fi
99
100 if use archive; then
101 epatch "${FILESDIR}"/${PN}-1.2.2-expose-archive-backend.patch
102 echo mount-archive.desktop.in >> po/POTFILES.in
103 echo mount-archive.desktop.in.in >> po/POTFILES.in
104 fi
105
106 if ! use udev; then
107 sed -i -e 's/gvfsd-burn/ /' daemon/Makefile.am || die
108 sed -i -e 's/burn.mount.in/ /' daemon/Makefile.am || die
109 sed -i -e 's/burn.mount/ /' daemon/Makefile.am || die
110 fi
111
112 if use gphoto2 || use archive || ! use udev; then
113 # libgcrypt.m4 needed for eautoreconf, bug #399043
114 mv "${WORKDIR}/libgcrypt.m4" "${S}"/ || die
115
116 AT_M4DIR=. eautoreconf
117 fi
118
119 gnome2_src_prepare
120 }
121
122 src_install() {
123 gnome2_src_install
124 newbashcomp programs/gvfs-bash-completion.sh ${PN}
125 }

  ViewVC Help
Powered by ViewVC 1.1.20