1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils linux-info gnome2
8 DESCRIPTION="Store, Sync and Share Files Online"
9 HOMEPAGE="http://www.dropbox.com/"
10 SRC_URI="http://www.dropbox.com/download?dl=packages/${P}.tar.bz2"
13 KEYWORDS="~amd64 ~x86"
16 RDEPEND="gnome-base/nautilus
28 DOCS="AUTHORS ChangeLog NEWS README"
29 G2CONF="${G2CONF} $(use_enable debug) --disable-static"
31 CONFIG_CHECK="INOTIFY_USER"
41 local extensiondir="$(pkg-config --variable=extensiondir libnautilus-extension)"
42 [ -z ${extensiondir} ] && die "pkg-config unable to get nautilus extensions dir"
44 find "${D}" -name '*.la' -exec rm -f {} + || die
46 fowners root:dropbox "${extensiondir}"/libnautilus-dropbox.so
47 fperms o-rwx "${extensiondir}"/libnautilus-dropbox.so
53 elog "Add any users who wish to have access to the dropbox nautilus"
54 elog "plugin to the group 'dropbox'."
56 elog "If you've installed old version, Remove \${HOME}/.dropbox-dist first."
58 elog " $ rm -rf \${HOME}/.dropbox-dist"
59 elog " $ dropbox start -i"