summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-base/gvfs/gvfs-1.0.3-r13.ebuild')
-rw-r--r--gnome-base/gvfs/gvfs-1.0.3-r13.ebuild99
1 files changed, 99 insertions, 0 deletions
diff --git a/gnome-base/gvfs/gvfs-1.0.3-r13.ebuild b/gnome-base/gvfs/gvfs-1.0.3-r13.ebuild
new file mode 100644
index 000000000000..1a42571fc43e
--- /dev/null
+++ b/gnome-base/gvfs/gvfs-1.0.3-r13.ebuild
@@ -0,0 +1,99 @@
+# 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.0.3-r13.ebuild,v 1.1 2009/03/21 22:49:22 eva Exp $
+
+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 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="archive avahi bluetooth cdda doc fuse gnome gphoto2 hal gnome-keyring samba"
+
+RDEPEND=">=dev-libs/glib-2.17.6
+ >=sys-apps/dbus-1.0
+ >=net-libs/libsoup-2.23.91
+ dev-libs/libxml2
+ net-misc/openssh
+ archive? ( app-arch/libarchive )
+ avahi? ( >=net-dns/avahi-0.6 )
+ cdda? (
+ >=sys-apps/hal-0.5.10
+ >=dev-libs/libcdio-0.78.2 )
+ fuse? ( sys-fs/fuse )
+ gnome? ( >=gnome-base/gconf-2.0 )
+ hal? ( >=sys-apps/hal-0.5.10 )
+ bluetooth? (
+ dev-libs/dbus-glib
+ net-wireless/bluez
+ dev-libs/expat )
+ gphoto2? ( >=media-libs/libgphoto2-2.4 )
+ gnome-keyring? ( >=gnome-base/gnome-keyring-1.0 )
+ samba? ( >=net-fs/samba-3 )"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.40
+ >=dev-util/pkgconfig-0.19
+ doc? ( >=dev-util/gtk-doc-1 )
+ dev-util/gtk-doc-am"
+
+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)"
+
+ if use cdda && built_with_use dev-libs/libcdio minimal; then
+ ewarn
+ ewarn "CDDA support in gvfs requires dev-libs/libcdio to be built"
+ ewarn "without the minimal USE flag."
+ die "Please re-emerge dev-libs/libcdio without the minimal USE flag"
+ fi
+}
+
+src_unpack() {
+ gnome2_src_unpack
+
+ # Add support for bluez 4, bug #250615
+ epatch "${FILESDIR}/${P}-bluez4.patch"
+
+ # Remove debug code that turns warnings into crashes, bug #262502
+ epatch "${FILESDIR}/${P}-bluez4-debug.patch"
+
+ # Fix non posixy tests, bug #256305
+ epatch "${FILESDIR}/${P}-posixtest.patch"
+
+ # Fix themed icon for obexftp, bug #256890
+ epatch "${FILESDIR}/${P}-obexftp-icon.patch"
+
+ # Fix HTTP leaks, bug #256892
+ epatch "${FILESDIR}/${P}-http-leak.patch"
+
+ # Fix URL crash, bug #245204
+ epatch "${FILESDIR}/${P}-gmountspec-SIGSEGV.patch"
+
+ 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
+}