From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E906C13832E for ; Fri, 12 Aug 2016 05:13:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58E6B21C22A; Fri, 12 Aug 2016 05:13:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7396B21C012 for ; Fri, 12 Aug 2016 05:13:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 59010340B54 for ; Fri, 12 Aug 2016 05:13:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 53ABD245C for ; Fri, 12 Aug 2016 05:13:05 +0000 (UTC) From: "NP Hardass" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "NP Hardass" Message-ID: <1470978751.d286f30b0caeb842c8939727d05172d4440ee2d3.np-hardass@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mate-extra/caja-dropbox/ X-VCS-Repository: repo/gentoo X-VCS-Files: mate-extra/caja-dropbox/Manifest mate-extra/caja-dropbox/caja-dropbox-1.12.0-r1.ebuild X-VCS-Directories: mate-extra/caja-dropbox/ X-VCS-Committer: np-hardass X-VCS-Committer-Name: NP Hardass X-VCS-Revision: d286f30b0caeb842c8939727d05172d4440ee2d3 X-VCS-Branch: master Date: Fri, 12 Aug 2016 05:13:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 40f4660a-ae8b-41b6-9048-1eee37804d46 X-Archives-Hash: 796fcc260998c99ed4c930769fb0e3fd commit: d286f30b0caeb842c8939727d05172d4440ee2d3 Author: NP-Hardass gentoo org> AuthorDate: Fri Aug 12 03:43:21 2016 +0000 Commit: NP Hardass gentoo org> CommitDate: Fri Aug 12 05:12:31 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d286f30b mate-extra/caja-dropbox: 1.12.x vbump, import from project repo Package-Manager: portage-2.3.0 mate-extra/caja-dropbox/Manifest | 1 + .../caja-dropbox/caja-dropbox-1.12.0-r1.ebuild | 91 ++++++++++++++++++++++ 2 files changed, 92 insertions(+) diff --git a/mate-extra/caja-dropbox/Manifest b/mate-extra/caja-dropbox/Manifest index 1e8b4f6..806667e 100644 --- a/mate-extra/caja-dropbox/Manifest +++ b/mate-extra/caja-dropbox/Manifest @@ -1 +1,2 @@ DIST caja-dropbox-1.10.1.tar.xz 306296 SHA256 f171c83cbc162d48fee9dfd67872161db82d93f30a417f9d228402935516f54f SHA512 519f035881197f35b6ff1351cd953c939add62401c3807cfec011697e609766cd19a7effa4cd5978633901e31972f869b0765378893e75fbd6ac202e755e0b94 WHIRLPOOL b3e1a7c045144fee883e35fb2131fc25ddbd9db53a93148e15e9eb827def0e41bc200146e0b243d5f2bd3fe03c5f9eb19ce9d65a0b67c0410b7cf108844b55e6 +DIST caja-dropbox-1.12.0.tar.xz 311488 SHA256 027f16529e9fd9139a4fc721aa6971f6ac91f7cf74a7bd22d8a3f2b7315bf247 SHA512 32d8fcd2d2aa4a03a976c7848cd628e240558b802247ad6a36242ea95628aa97088aa55ae6d9c889616910e5fc36e2db6753c4f8854d6f9e626c990469d71223 WHIRLPOOL 6e78e8f216a475ba8594db40ca8bb348276cb47d498993ac01d2a3f5283e90affc2f89c1e5f717874741f09475f84c87aed852d5c82199b8ccf25102f8e85495 diff --git a/mate-extra/caja-dropbox/caja-dropbox-1.12.0-r1.ebuild b/mate-extra/caja-dropbox/caja-dropbox-1.12.0-r1.ebuild new file mode 100644 index 0000000..b852f65 --- /dev/null +++ b/mate-extra/caja-dropbox/caja-dropbox-1.12.0-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +MATE_LA_PUNT="yes" + +inherit mate python-single-r1 linux-info user + +if [[ ${PV} != 9999 ]]; then + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Store, Sync and Share Files Online" +LICENSE="GPL-2" +SLOT="0" + +IUSE="debug" + +RDEPEND=" + dev-libs/atk:0 + >=dev-libs/glib-2.14:2 + dev-python/pygtk:2[${PYTHON_USEDEP}] + dev-python/pygobject:2[${PYTHON_USEDEP}] + >=mate-base/caja-1.6 + media-libs/fontconfig:1.0 + media-libs/freetype:2 + net-misc/dropbox:0 + x11-libs/cairo:0 + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/libXinerama:0 + x11-libs/pango:0" + +DEPEND="${RDEPEND} + dev-python/docutils:0 + virtual/pkgconfig:*" + +CONFIG_CHECK="~INOTIFY_USER" + +pkg_setup () { + python-single-r1_pkg_setup + check_extra_config + enewgroup dropbox +} + +MATE_FORCE_AUTORECONF=true + +src_prepare() { + # Use system dropbox. + sed -e "s|~/[.]dropbox-dist|/opt/dropbox|" \ + -e 's|\(DROPBOXD_PATH = \).*|\1"/opt/dropbox/dropboxd"|' \ + -i caja-dropbox.in || die + + # Use system rst2man. + epatch "${FILESDIR}"/${PN}-1.8.0-system-rst2man.patch + + mate_src_prepare +} + +src_configure() { + mate_src_configure \ + --disable-static \ + $(use_enable debug) +} + +src_install () { + python_fix_shebang caja-dropbox.in + + mate_src_install + + local extensiondir="$(pkg-config --variable=extensiondir libcaja-extension)" + [ -z ${extensiondir} ] && die "pkg-config unable to get caja extensions dir" + + # Strip $EPREFIX from $extensiondir as fowners/fperms act on $ED not $D. + extensiondir="${extensiondir#${EPREFIX}}" + use prefix || fowners root:dropbox "${extensiondir}"/libcaja-dropbox.so + fperms o-rwx "${extensiondir}"/libcaja-dropbox.so +} + +pkg_postinst () { + mate_pkg_postinst + + elog + elog "Add any users who wish to have access to the dropbox caja" + elog "plugin to the group 'dropbox'. You need to setup a drobox account" + elog "before using this plugin. Visit ${HOMEPAGE} for more information." + elog +}