diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-01-04 09:22:11 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-01-04 09:22:11 +0000 |
commit | fdea7e27283de4b2811b69f97e7158b08e06fe11 (patch) | |
tree | 145316d13a94c9cdef9fd771137f76a2bb9c9fa2 /gnome-base/gvfs | |
parent | sparc stable (bug 343371) (diff) | |
download | gentoo-2-fdea7e27283de4b2811b69f97e7158b08e06fe11.tar.gz gentoo-2-fdea7e27283de4b2811b69f97e7158b08e06fe11.tar.bz2 gentoo-2-fdea7e27283de4b2811b69f97e7158b08e06fe11.zip |
Enable hal support only if udev support is disabled.
(Portage version: 2.2.0_alpha10/cvs/Linux x86_64)
Diffstat (limited to 'gnome-base/gvfs')
-rw-r--r-- | gnome-base/gvfs/ChangeLog | 9 | ||||
-rw-r--r-- | gnome-base/gvfs/gvfs-1.6.6-r1.ebuild | 112 |
2 files changed, 119 insertions, 2 deletions
diff --git a/gnome-base/gvfs/ChangeLog b/gnome-base/gvfs/ChangeLog index be46c46e4913..8fde96bd71da 100644 --- a/gnome-base/gvfs/ChangeLog +++ b/gnome-base/gvfs/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for gnome-base/gvfs -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gvfs/ChangeLog,v 1.125 2010/12/27 21:13:44 ranger Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gvfs/ChangeLog,v 1.126 2011/01/04 09:22:11 ssuominen Exp $ + +*gvfs-1.6.6-r1 (04 Jan 2011) + + 04 Jan 2011; Samuli Suominen <ssuominen@gentoo.org> +gvfs-1.6.6-r1.ebuild: + Enable hal support only if udev support is disabled. 27 Dec 2010; Brent Baude <ranger@gentoo.org> gvfs-1.6.4-r2.ebuild: Marking gvfs-1.6.4-r2 ppc64 for bug 346687 diff --git a/gnome-base/gvfs/gvfs-1.6.6-r1.ebuild b/gnome-base/gvfs/gvfs-1.6.6-r1.ebuild new file mode 100644 index 000000000000..76788eae650b --- /dev/null +++ b/gnome-base/gvfs/gvfs-1.6.6-r1.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gvfs/gvfs-1.6.6-r1.ebuild,v 1.1 2011/01/04 09:22:11 ssuominen Exp $ + +EAPI="3" +GCONF_DEBUG="no" + +inherit autotools bash-completion gnome2 eutils + +DESCRIPTION="GNOME Virtual Filesystem Layer" +HOMEPAGE="http://www.gnome.org" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="archive avahi bluetooth cdda doc fuse gdu gnome gnome-keyring gphoto2 hal ++http iphone samba +udev" + +RDEPEND=">=dev-libs/glib-2.23.4 + >=sys-apps/dbus-1.0 + dev-libs/libxml2 + net-misc/openssh + >=sys-fs/udev-138 + archive? ( app-arch/libarchive ) + avahi? ( >=net-dns/avahi-0.6 ) + bluetooth? ( + >=app-mobilephone/obex-data-server-0.4.5 + dev-libs/dbus-glib + net-wireless/bluez + dev-libs/expat ) + fuse? ( sys-fs/fuse ) + gdu? ( >=sys-apps/gnome-disk-utility-2.29 ) + gnome? ( >=gnome-base/gconf-2.0 ) + gnome-keyring? ( >=gnome-base/gnome-keyring-1.0 ) + gphoto2? ( >=media-libs/libgphoto2-2.4.7 ) + iphone? ( app-pda/libimobiledevice ) + udev? ( + cdda? ( >=dev-libs/libcdio-0.78.2[-minimal] ) + >=sys-fs/udev-145[extras] ) + hal? ( !udev? ( + cdda? ( >=dev-libs/libcdio-0.78.2[-minimal] ) + >=sys-apps/hal-0.5.10 ) ) + http? ( >=net-libs/libsoup-gnome-2.26.0 ) + samba? ( || ( >=net-fs/samba-3.4.6[smbclient] + <=net-fs/samba-3.3 ) )" +DEPEND="${RDEPEND} + >=dev-util/intltool-0.40 + >=dev-util/pkgconfig-0.19 + dev-util/gtk-doc-am + doc? ( >=dev-util/gtk-doc-1 )" + +pkg_setup() { + if use cdda && ! use hal && ! use udev; then + ewarn "You have \"+cdda\", but you have \"-hal\" and \"-udev\"" + ewarn "cdda support will NOT be built unless you enable EITHER hal OR udev" + fi + + G2CONF="${G2CONF} + --disable-hal + --enable-udev + --disable-bash-completion + --with-dbus-service-dir=/usr/share/dbus-1/services + $(use_enable archive) + $(use_enable avahi) + $(use_enable bluetooth obexftp) + $(use_enable cdda) + $(use_enable fuse) + $(use_enable gdu) + $(use_enable gnome gconf) + $(use_enable gphoto2) + $(use_enable iphone afc) + $(use_enable udev gudev) + $(use_enable http) + $(use_enable gnome-keyring keyring) + $(use_enable samba)" + + if use hal && ! use udev; then + G2CONF="${G2CONF} --enable-hal" + ewarn "Enabling deprecated hal support. This will override udev support." + fi + + DOCS="AUTHORS ChangeLog NEWS README TODO" +} + +src_prepare() { + gnome2_src_prepare + + # Conditional patching purely to avoid eautoreconf + use gphoto2 && epatch "${FILESDIR}/${PN}-1.2.2-gphoto2-stricter-checks.patch" + + if use archive; then + epatch "${FILESDIR}/${PN}-1.2.2-expose-archive-backend.patch" + echo "mount-archive.desktop.in" >> po/POTFILES.in + echo "mount-archive.desktop.in.in" >> po/POTFILES.in + fi + + use gphoto2 || use archive && eautoreconf +} + +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 + + ewarn "In order to use the new gvfs services, please reload dbus configuration" + ewarn "You may need to log out and log back in for some changes to take effect" +} |