From b5f3f1b3d961eb1dd975e2401cc3397383cd67d3 Mon Sep 17 00:00:00 2001 From: "Fabiano Francesconi (elbryan)" Date: Tue, 1 Sep 2009 09:44:36 +0000 Subject: gnome-extra/nautilus-dropbox: New Ebuild for bug 237433 svn path=/sunrise/; revision=9147 --- gnome-extra/nautilus-dropbox/ChangeLog | 8 +++ gnome-extra/nautilus-dropbox/Manifest | 4 ++ gnome-extra/nautilus-dropbox/metadata.xml | 5 ++ .../nautilus-dropbox/nautilus-dropbox-0.6.1.ebuild | 58 ++++++++++++++++++++++ 4 files changed, 75 insertions(+) create mode 100644 gnome-extra/nautilus-dropbox/ChangeLog create mode 100644 gnome-extra/nautilus-dropbox/Manifest create mode 100644 gnome-extra/nautilus-dropbox/metadata.xml create mode 100644 gnome-extra/nautilus-dropbox/nautilus-dropbox-0.6.1.ebuild diff --git a/gnome-extra/nautilus-dropbox/ChangeLog b/gnome-extra/nautilus-dropbox/ChangeLog new file mode 100644 index 000000000..34c18a40f --- /dev/null +++ b/gnome-extra/nautilus-dropbox/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for gnome-extra/nautilus-dropbox +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 01 Sep 2009; Fabiano Francesconi (elbryan) + +nautilus-dropbox-0.6.1.ebuild, +metadata.xml: + New Ebuild for bug 237433 + diff --git a/gnome-extra/nautilus-dropbox/Manifest b/gnome-extra/nautilus-dropbox/Manifest new file mode 100644 index 000000000..9a575b372 --- /dev/null +++ b/gnome-extra/nautilus-dropbox/Manifest @@ -0,0 +1,4 @@ +DIST nautilus-dropbox-0.6.1.tar.bz2 306545 RMD160 52638938e453dc3b7e13d52fda41c964d6338892 SHA1 c22c91a368fc03daac44db95d43fb9aa6ff0a92a SHA256 104520fc0a16c733cfd1e9a4ffa0ab1f4ad9a2a5dbf15357011ea3b9c331e36f +EBUILD nautilus-dropbox-0.6.1.ebuild 1430 RMD160 97ed8bd1981c4e320de1dca45cf797294568b8d5 SHA1 5ae3a02005eb21e3107cd77df36db0f89907f8a5 SHA256 5d0996ee4c9e729d48e8da03e3a42c446a4f4c41cce42b17c5dfd3e7fe6d5462 +MISC ChangeLog 284 RMD160 60c01cd09cefb2490e2fb9efa9780c2086c53ac1 SHA1 7373f7d9ac05ca8bb89353176019f1efd03ab732 SHA256 2b57cc9b359e2d08bf3049063c847b8dbc2d6b7b598c9bb8ef6826441ade5c56 +MISC metadata.xml 171 RMD160 ed284df01c230fc7990a6b5888b39166d23f29ba SHA1 f3d64a69044b710e23fb874b3ee4cd338858c8b4 SHA256 a7b30fbacd0e4c312c07a3efac112a3794c81d134442d8104325734d03425adf diff --git a/gnome-extra/nautilus-dropbox/metadata.xml b/gnome-extra/nautilus-dropbox/metadata.xml new file mode 100644 index 000000000..6f1d493c5 --- /dev/null +++ b/gnome-extra/nautilus-dropbox/metadata.xml @@ -0,0 +1,5 @@ + + + + maintainer-wanted + diff --git a/gnome-extra/nautilus-dropbox/nautilus-dropbox-0.6.1.ebuild b/gnome-extra/nautilus-dropbox/nautilus-dropbox-0.6.1.ebuild new file mode 100644 index 000000000..3ffa00299 --- /dev/null +++ b/gnome-extra/nautilus-dropbox/nautilus-dropbox-0.6.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" + +inherit eutils gnome2 + +DESCRIPTION="Store, Sync and Share Files Online" +HOMEPAGE="http://www.getdropbox.com/" +SRC_URI="http://www.getdropbox.com/download?dl=packages/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="gnome-base/nautilus + dev-python/pygtk + dev-python/docutils + net-misc/wget + x11-libs/libnotify" + +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +IUSE="" + +DOCS="AUTHORS ChangeLog NEWS README" + +pkg_setup () { + # create the group for the daemon, if necessary + # truthfully this should be run for any dropbox plugin + enewgroup dropbox +} + +src_install () { + gnome2_src_install + + # Allow only for users in the dropbox group + # see http://forums.getdropbox.com/topic.php?id=3329&replies=5#post-22898 + local extensiondir="$(pkg-config --variable=extensiondir libnautilus-extension)" + fowners root:dropbox "${extensiondir}"/libnautilus-dropbox.{a,la,so} || die + "fowners failed" + fperms o-rwx "${extensiondir}"/libnautilus-dropbox.{a,la,so} || die "fperms + failed" +} + +pkg_postinst () { + gnome2_pkg_postinst + + elog "Add any users who wish to have access to the dropbox nautilus" + elog "plugin to the group 'dropbox'." + elog + elog "If you've installed old version, Remove \${HOME}/.dropbox-dist first." + elog + elog " $ rm -rf \${HOME}/.dropbox-dist" + elog " $ dropbox start -i" +} -- cgit v1.2.3-65-gdbad