summaryrefslogtreecommitdiff
path: root/gnome-extra/nautilus-dropbox
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /gnome-extra/nautilus-dropbox
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'gnome-extra/nautilus-dropbox')
-rw-r--r--gnome-extra/nautilus-dropbox/Manifest4
-rw-r--r--gnome-extra/nautilus-dropbox/files/nautilus-dropbox-0.7.0-system-rst2man.patch13
-rw-r--r--gnome-extra/nautilus-dropbox/metadata.xml5
-rw-r--r--gnome-extra/nautilus-dropbox/nautilus-dropbox-1.6.2.ebuild84
4 files changed, 106 insertions, 0 deletions
diff --git a/gnome-extra/nautilus-dropbox/Manifest b/gnome-extra/nautilus-dropbox/Manifest
new file mode 100644
index 000000000000..fec599d546fa
--- /dev/null
+++ b/gnome-extra/nautilus-dropbox/Manifest
@@ -0,0 +1,4 @@
+AUX nautilus-dropbox-0.7.0-system-rst2man.patch 463 BLAKE2B fdb1996d7144cd9c6943111cf1a4abd9a55f9a594131985c1f0c40eec7c203b2d2839fdf2e673480bb329735dce27e31cbcdee8bdd2c019df678620d374095aa SHA512 5a34c3e6ff51a1a14eac11e0619a81afeec05979944d128ed37076cadb9a79edd839918ee289c409c537be73a913ee3bc58f19cc2227cda8762328e2f0fbd7eb
+DIST nautilus-dropbox-1.6.2.tar.bz2 354408 BLAKE2B 7a3d1cee88dc595fc43f92d84328cf112755d2aa98a99e84e24d132b6167fb5378cc4e9914c31510d38deadc952caed1debdea7ae07dcd0a7b58e72790af428a SHA512 696808a7e5a1d8bbe06903b5ab075e0aa32d0b35c44363d7874fcdd48d339650bdf80190e37cba5782b31565ca9b233573a3d2ee74866add169ff5ea1d0b62d3
+EBUILD nautilus-dropbox-1.6.2.ebuild 2151 BLAKE2B d46812b55e47b3f7a3b94816cb44782ca7fc8c97dd577aaffe1044717a4aa025c6d0e0a8ef8965ff8fbae8836f37db0709c24b0bfc59323efd91641fbd7c9dae SHA512 d173c45b3b1e6a69f4c908da25aa217cc65f381621b4c1cd039e719131ecdf0e34955453dde9d50d062a78c44022d1d80ba2db33b8217464b33f3c4baee9a7f7
+MISC metadata.xml 168 BLAKE2B 5f277cc66dbafa7e7985433f84b0f9a656a176a9b901862e2a8353ca2d4526797dded9696e835b9696c7f72324e94959cfb5a22de49a7e3e61604153886037ab SHA512 00eec08786156434460f5ed77b647579546cf1a86341a4f2c9c9c84326468c2c21dc5101c4277103b19266bb6f788823f4ddf3b9d044da26326d79bf2ac9a274
diff --git a/gnome-extra/nautilus-dropbox/files/nautilus-dropbox-0.7.0-system-rst2man.patch b/gnome-extra/nautilus-dropbox/files/nautilus-dropbox-0.7.0-system-rst2man.patch
new file mode 100644
index 000000000000..ea0053b4bbb6
--- /dev/null
+++ b/gnome-extra/nautilus-dropbox/files/nautilus-dropbox-0.7.0-system-rst2man.patch
@@ -0,0 +1,13 @@
+Index: nautilus-dropbox-0.7.0/configure.in
+===================================================================
+--- nautilus-dropbox-0.7.0.orig/configure.in
++++ nautilus-dropbox-0.7.0/configure.in
+@@ -31,7 +31,7 @@ PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLI
+
+ AC_PATH_PROG([PYTHON], [python])
+
+-AC_PATH_PROG([RST2MAN], [rst2man], [python rst2man.py])
++AC_PATH_PROG([RST2MAN], [rst2man.py], [python rst2man.py])
+ AC_SUBST(RST2MAN)
+
+ # define module checking macro
diff --git a/gnome-extra/nautilus-dropbox/metadata.xml b/gnome-extra/nautilus-dropbox/metadata.xml
new file mode 100644
index 000000000000..1b2becffa26c
--- /dev/null
+++ b/gnome-extra/nautilus-dropbox/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/gnome-extra/nautilus-dropbox/nautilus-dropbox-1.6.2.ebuild b/gnome-extra/nautilus-dropbox/nautilus-dropbox-1.6.2.ebuild
new file mode 100644
index 000000000000..1419c0468b89
--- /dev/null
+++ b/gnome-extra/nautilus-dropbox/nautilus-dropbox-1.6.2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+GNOME2_LA_PUNT="yes"
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools eutils python-r1 linux-info gnome2 readme.gentoo user
+
+DESCRIPTION="Store, Sync and Share Files Online"
+HOMEPAGE="https://www.dropbox.com"
+SRC_URI="https://www.dropbox.com/download?dl=packages/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ gnome-base/nautilus
+ dev-libs/glib:2
+ dev-python/pygtk:2[${PYTHON_USEDEP}]
+ net-misc/dropbox
+ x11-libs/gtk+:2
+ x11-libs/libnotify
+ x11-libs/libXinerama"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ dev-python/docutils[${PYTHON_USEDEP}]"
+
+CONFIG_CHECK="~INOTIFY_USER"
+
+pkg_setup () {
+ check_extra_config
+ enewgroup dropbox
+
+ DOC_CONTENTS="Add any users who wish to have access to the dropbox nautilus
+ plugin to the group 'dropbox'. You need to setup a drobox account
+ before using this plugin. Visit ${HOMEPAGE} for more information."
+
+ python_export_best
+}
+
+src_prepare() {
+ G2CONF="${G2CONF} $(use_enable debug) --disable-static"
+
+ gnome2_src_prepare
+
+ # use sysem dropbox
+ sed \
+ -e "s|~/[.]dropbox-dist|${EPREFIX}/opt/dropbox|" \
+ -e "s|\(DROPBOXD_PATH = \).*|\1\"${EPREFIX}/opt/dropbox/dropboxd\"|" \
+ -i dropbox.in || die
+ # us system rst2man
+ epatch "${FILESDIR}"/${PN}-0.7.0-system-rst2man.patch
+ sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die
+ AT_NOELIBTOOLIZE=yes eautoreconf
+}
+
+src_install () {
+ gnome2_src_install
+
+ local extensiondir="$(pkg-config --variable=extensiondir libnautilus-extension)"
+ [ -z ${extensiondir} ] && die "pkg-config unable to get nautilus extensions dir"
+
+ # Strip $EPREFIX from $extensiondir as fowners/fperms act on $ED not $D
+ extensiondir="${extensiondir#${EPREFIX}}"
+
+ use prefix || fowners root:dropbox "${extensiondir}"/libnautilus-dropbox.so
+ fperms o-rwx "${extensiondir}"/libnautilus-dropbox.so
+
+ readme.gentoo_create_doc
+
+ python_replicate_script "${ED}"/usr/bin/dropbox
+}
+
+pkg_postinst () {
+ gnome2_pkg_postinst
+ readme.gentoo_print_elog
+}