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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 84E12159C96 for ; Tue, 30 Jul 2024 08:50:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F9E12BC067; Tue, 30 Jul 2024 08:50:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 16F9E2BC067 for ; Tue, 30 Jul 2024 08:50:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A4565343003 for ; Tue, 30 Jul 2024 08:50:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 533F91E8C for ; Tue, 30 Jul 2024 08:49:59 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1722329284.2edbadb4bc47a0bf31ade3943a250af5cea31aa4.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/nautilus-dropbox/ X-VCS-Repository: repo/gentoo X-VCS-Files: gnome-extra/nautilus-dropbox/Manifest gnome-extra/nautilus-dropbox/nautilus-dropbox-2024.04.17.ebuild X-VCS-Directories: gnome-extra/nautilus-dropbox/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 2edbadb4bc47a0bf31ade3943a250af5cea31aa4 X-VCS-Branch: master Date: Tue, 30 Jul 2024 08:49:59 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 95a8822a-f0f5-49b9-a404-5ac4a9203a70 X-Archives-Hash: 8a61eb56c30a682ae894e868339fde3b commit: 2edbadb4bc47a0bf31ade3943a250af5cea31aa4 Author: Pacho Ramos gentoo org> AuthorDate: Tue Jul 30 08:37:03 2024 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Tue Jul 30 08:48:04 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2edbadb4 gnome-extra/nautilus-dropbox: add 2024.04.17 Closes: https://bugs.gentoo.org/935312 Closes: https://bugs.gentoo.org/929604 Signed-off-by: Pacho Ramos gentoo.org> gnome-extra/nautilus-dropbox/Manifest | 1 + .../nautilus-dropbox-2024.04.17.ebuild | 65 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/gnome-extra/nautilus-dropbox/Manifest b/gnome-extra/nautilus-dropbox/Manifest index 5586bc135884..2fa91c0255f3 100644 --- a/gnome-extra/nautilus-dropbox/Manifest +++ b/gnome-extra/nautilus-dropbox/Manifest @@ -1 +1,2 @@ DIST nautilus-dropbox-2020.03.04.tar.bz2 387351 BLAKE2B ff25716ef10759e014cffec8a7e9b1a40931686d6de3c69e9060c77cbf3aee65ffeed91ba809ba8cffc372f284180c74a8cb5b0ca4b342aa137d9e574a2a1abf SHA512 8f26165a48d1767b3bccb34f95f19357e8fd209f383270ac2d40f773df139d640c3fb33db28cf1fa7e2d7063a7a37b15ed7f4f22f85019e05885c097cea39a48 +DIST nautilus-dropbox-2024.04.17.tar.bz2 394725 BLAKE2B e617f02fcb6c11fd6937a99c0e2faaebd564d533e6ed44fc0492504fb41612fb297b3c98c84b8c3ecc314e33b27a820e8b655bc6ae92de43ffbb2f4e4d370f9f SHA512 43b7a0eaf3b7ebc35fa21a5d11dc1089b62fd0a414079a55fbb4ef7cb8211923123c46bec06c3b73eacd5897b7b8b2ae336de7b15750f0802eb28a23ec9e56bd diff --git a/gnome-extra/nautilus-dropbox/nautilus-dropbox-2024.04.17.ebuild b/gnome-extra/nautilus-dropbox/nautilus-dropbox-2024.04.17.ebuild new file mode 100644 index 000000000000..b9be5584638e --- /dev/null +++ b/gnome-extra/nautilus-dropbox/nautilus-dropbox-2024.04.17.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit autotools python-single-r1 xdg + +DESCRIPTION="Dropbox Nautilus Extension" +HOMEPAGE="https://github.com/dropbox/nautilus-dropbox" +SRC_URI="https://linux.dropboxstatic.com/packages/${P}.tar.bz2" + +LICENSE="GPL-3 CC-BY-ND-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]' ) + dev-libs/glib:2 + gui-libs/gtk:4 + >=gnome-base/nautilus-43 + net-misc/dropbox +" +DEPEND="${RDEPEND}" +BDEPEND=" + $(python_gen_cond_dep 'dev-python/docutils[${PYTHON_USEDEP}]' ) + virtual/pkgconfig +" + +# use system rst2man +PATCHES=( + # use system rst2man + "${FILESDIR}/${PN}-2019-system-rst2man.patch" +) + +src_prepare() { + default + + # use system dropbox + sed \ + -e "s|~/[.]dropbox-dist|${EPREFIX}/opt/dropbox|" \ + -e "s|\(DROPBOXD_PATH = \).*|\1\"${EPREFIX}/opt/dropbox/dropboxd\"|" \ + -i dropbox.in || die + AT_NOELIBTOOLIZE=yes eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) \ + --disable-static +} + +src_install() { + default + + # removes files which conflicts with system dropbox + rm -r "${ED}"/usr/share/applications || die + rm -r "${ED}"/usr/bin || die + + find "${ED}" -type f -name '*.la' -delete || die +}