From 462c40fe23b5afa6ab5967de716fa090bd5927db Mon Sep 17 00:00:00 2001 From: Petteri Räty Date: Fri, 8 Feb 2008 00:29:30 +0000 Subject: Add gnome use flag to pull in nautilus and gnome-vfs-obexftp for Browse Device... (Portage version: 2.1.4.1) --- net-wireless/bluez-gnome/ChangeLog | 7 ++++++- net-wireless/bluez-gnome/bluez-gnome-0.17.ebuild | 21 ++++++++++++++++++--- 2 files changed, 24 insertions(+), 4 deletions(-) (limited to 'net-wireless') diff --git a/net-wireless/bluez-gnome/ChangeLog b/net-wireless/bluez-gnome/ChangeLog index 4652cc21cd92..820b3b9cdba6 100644 --- a/net-wireless/bluez-gnome/ChangeLog +++ b/net-wireless/bluez-gnome/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-wireless/bluez-gnome # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-gnome/ChangeLog,v 1.22 2008/02/07 12:08:05 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-gnome/ChangeLog,v 1.23 2008/02/08 00:29:30 betelgeuse Exp $ + + 08 Feb 2008; Petteri Räty + bluez-gnome-0.17.ebuild: + Add gnome use flag to pull in nautilus and gnome-vfs-obexftp for Browse + Device... *bluez-gnome-0.17 (07 Feb 2008) diff --git a/net-wireless/bluez-gnome/bluez-gnome-0.17.ebuild b/net-wireless/bluez-gnome/bluez-gnome-0.17.ebuild index 62c60cfb4be8..edd5986f1ad2 100644 --- a/net-wireless/bluez-gnome/bluez-gnome-0.17.ebuild +++ b/net-wireless/bluez-gnome/bluez-gnome-0.17.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-gnome/bluez-gnome-0.17.ebuild,v 1.2 2008/02/07 20:19:08 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez-gnome/bluez-gnome-0.17.ebuild,v 1.3 2008/02/08 00:29:30 betelgeuse Exp $ inherit gnome2 @@ -12,7 +12,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" -IUSE="" +IUSE="gnome" COMMON_DEPEND=">=dev-libs/glib-2.0 >=x11-libs/libnotify-0.3.2 >=gnome-base/gconf-2.6 @@ -20,7 +20,11 @@ COMMON_DEPEND=">=dev-libs/glib-2.0 sys-apps/hal x11-proto/xproto >=x11-libs/gtk+-2.6 - app-mobilephone/obex-data-server" + app-mobilephone/obex-data-server + gnome? ( + gnome-base/nautilus + gnome-extra/gnome-vfs-obexftp + )" DEPEND=" dev-util/pkgconfig ${COMMON_DEPEND}" @@ -31,3 +35,14 @@ G2CONF="--disable-desktop-update --disable-mime-update" DOCS="AUTHORS README NEWS ChangeLog" + +pkg_postinst() { + gnome2_pkg_postinst + if has_version gnome-base/nautilus && \ + ! has_version gnome-extra/gnome-vfs-obexftp; then + ewarn "You have nautilus installed so Browse Device functionality is" + ewarn "enabled but gives you an obex:// not being a valid location" + ewarn "error until you install gnome-extra/gnome-vfs-obexftp. You" + ewarn "can do this by turning on the gnome use flag for ${PN}." + fi +} -- cgit v1.2.3-65-gdbad