diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /gnome-extra/nautilus-dropbox |
reinit the tree, so we can have metadata
Diffstat (limited to 'gnome-extra/nautilus-dropbox')
4 files changed, 108 insertions, 0 deletions
diff --git a/gnome-extra/nautilus-dropbox/Manifest b/gnome-extra/nautilus-dropbox/Manifest new file mode 100644 index 000000000000..69f938b6836b --- /dev/null +++ b/gnome-extra/nautilus-dropbox/Manifest @@ -0,0 +1,6 @@ +AUX nautilus-dropbox-0.7.0-system-rst2man.patch 463 SHA256 f8c6add8d61b73ac8083a79177705a172005a16f1f0738f37e09ce5daddc3702 SHA512 5a34c3e6ff51a1a14eac11e0619a81afeec05979944d128ed37076cadb9a79edd839918ee289c409c537be73a913ee3bc58f19cc2227cda8762328e2f0fbd7eb WHIRLPOOL 75f33c78b99b923da61a2dc926e0c4a62973cc61e36e7c5bd0a52fa840757b876fd9badf158ba1e78a42094023f76eaedf0fa72ba6795acd90bc3dd30683d9e6 +DIST nautilus-dropbox-1.6.2.tar.bz2 354408 SHA256 63d53109c7d0efc0e83f36ac47be3be923115eaf0be56cfc9a1aa8e2ecc633e4 SHA512 696808a7e5a1d8bbe06903b5ab075e0aa32d0b35c44363d7874fcdd48d339650bdf80190e37cba5782b31565ca9b233573a3d2ee74866add169ff5ea1d0b62d3 WHIRLPOOL b6e7f91674d5a9163ab7b46f95ffdcbdaa5815e9f7e16e37f8da38ab9028eaa09076afc49978465d8547bbf20971825b2dbd356766e99ed756ba96b79aeda649 +EBUILD nautilus-dropbox-1.6.2.ebuild 2150 SHA256 e8c7c323bf927326abeb2fbc7dbc81de0c0d56c15029185bffe3e98d90525edb SHA512 7cded3d67c5e412bf293a7aa6034c573de63632231ecc113c43ab5f70db17c304cbed7ea8def39008cec94b4fb6af4bfaf4dfabd7c68df819653cc50b54032c5 WHIRLPOOL 6f2fa4990acddb73de2de4ffa69892bddf582bdb870afa3707a7c09e3406a4c99834656fba15b2f71221125bb357a24c3d9ed7c18b0c1485c77e2f4e1a8dd405 +MISC ChangeLog 2606 SHA256 74b344b64d4d77e6910c802d3fd2447d2dd4cfaab1bacfef94c9f41f2f3414c8 SHA512 95193945c7734272f0a0eba34489e31a4b97fe27e16bcbe273605a2326dbe7ac375af7f11fe2cae1fe90464bb2b9c0a0545b6f28da6e87c1c9d73c1981476dc6 WHIRLPOOL 91defe4b60b4897140f1df56f4db4f6b9be234cbf480a859e0d885286dc5d78ea49652cf2047cbf1a4f94547d7ad59acd3befed08016e06a6f690cbadaf148e5 +MISC ChangeLog-2015 5010 SHA256 571e6690ecd06d0da27063704e7654170746bada1b793e39e572b6a4a8b8f635 SHA512 a5850adf1f810976b7caa282b42a772bbf99bc37d1c3dac1b60670a12b7eab337e376286e76e46391f7d625d14933a0cda31b46bc48508f573eda5c26951501f WHIRLPOOL 38236bbe1be97074d6a0419c0c1d669c9792009e5097e15bfe0d410abee1015b57562b08ec1ce68932ef83fe66216a98a34e966f4018065c0d2178c445a35dbe +MISC metadata.xml 168 SHA256 9f5073e4f4682efd1d4fda14feb67df188972340a55fa9e06ee82b66e24f8cc8 SHA512 00eec08786156434460f5ed77b647579546cf1a86341a4f2c9c9c84326468c2c21dc5101c4277103b19266bb6f788823f4ddf3b9d044da26326d79bf2ac9a274 WHIRLPOOL 3ec0b2fcfb36e82c8f9dd8877875a38095bc9b11aff96d69a7919ee610efe27f65318c974161f6ba135150ad361a8c108938841c3d48c42f5a92d1762858d898 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..87e244368cf4 --- /dev/null +++ b/gnome-extra/nautilus-dropbox/nautilus-dropbox-1.6.2.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2015 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="http://www.dropbox.com/" +SRC_URI="http://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 +} |