Add nautilus-dropbox 2024.04.17 #147

Merged
manuel merged 2 commits from feature/nautilus-dropbox into main 2024-06-12 00:58:42 +02:00
5 changed files with 114 additions and 0 deletions
Showing only changes of commit 21173a1039 - Show all commits

View file

@ -0,0 +1,4 @@
AUX nautilus-dropbox-2019-system-rst2man.patch 464 BLAKE2B c0f25a56ee504a6070efdae70670e1a925a1718cfb5e1345d3acfdb0face02d1278d10f2f7172e172056834f99f309d50bbf5899f37fa6023e743042f6ffd7b8 SHA512 98c9e85a491991fd2afee3a12c8be4ab708ee47a42d08d4a11daefc1e964cb3031ffb94a27ab7758b3f1c71f7343dd4b0a49d24cb8aa2848baf65f83879a6cfb
DIST nautilus-dropbox-2024.04.17.tar.bz2 394725 BLAKE2B e617f02fcb6c11fd6937a99c0e2faaebd564d533e6ed44fc0492504fb41612fb297b3c98c84b8c3ecc314e33b27a820e8b655bc6ae92de43ffbb2f4e4d370f9f SHA512 43b7a0eaf3b7ebc35fa21a5d11dc1089b62fd0a414079a55fbb4ef7cb8211923123c46bec06c3b73eacd5897b7b8b2ae336de7b15750f0802eb28a23ec9e56bd
EBUILD nautilus-dropbox-2024.04.17.ebuild 1448 BLAKE2B 49507fc9dfade206bb580b1720dc4d6bc2eaa9604bc126853d11463fea936774f21d08a2723116a7294d75215aad1aa256ea81102370ca3866c9448726664a25 SHA512 a78548f921689bb03e5f6ac6129060de46de8a4a86711ffdf104ff566242a5a85cec66ab912cdccb24df8ab747399badd81ecd058e58ba4330b2beadd1bec257
MISC metadata.xml 338 BLAKE2B 67df4a1a008829cda805caf2da150b4144e3d6c4ca00aeaf36a9e4444f06247260406d439f773cbcb26e65ba91e52cf6ce274a9911f8f92f1840b09acfa43639 SHA512 f3a8f6e5c58fe76d1725ccf86286eba1d2ed8b22f2e72645c4cfda6fe82ce8c6258038e5c977bfb4b5b582a6a57e0862f6739f31e6fd1d3ea32011b562499539

View file

@ -0,0 +1,13 @@
Index: nautilus-dropbox-0.7.0/configure.ac
===================================================================
--- nautilus-dropbox-0.7.0.orig/configure.ac
+++ nautilus-dropbox-0.7.0/configure.ac
@@ -31,7 +31,7 @@ PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLI
AC_PATH_PROG([PYTHON], [python])
-AC_PATH_PROG([RST2MAN], [rst2man], [python3 rst2man.py])
+AC_PATH_PROG([RST2MAN], [rst2man.py], [python rst2man.py])
AC_SUBST(RST2MAN)
# define module checking macro

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>manuel@fritteli.ch</email>
<name>Manuel Friedli</name>
</maintainer>
<upstream>
<remote-id type="github">dropbox/nautilus-dropbox</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,70 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..12} )
inherit autotools python-single-r1 xdg-utils
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
>=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
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}

View file

@ -0,0 +1,16 @@
BDEPEND=python_single_target_python3_10? ( dev-python/docutils[python_targets_python3_10(-)] ) python_single_target_python3_11? ( dev-python/docutils[python_targets_python3_11(-)] ) python_single_target_python3_12? ( dev-python/docutils[python_targets_python3_12(-)] ) virtual/pkgconfig >=app-portage/elt-patches-20240116 sys-devel/gnuconfig || ( >=dev-build/automake-1.16.5:1.16 ) || ( >=dev-build/autoconf-2.72-r1:2.72 >=dev-build/autoconf-2.71-r6:2.71 ) >=dev-build/libtool-2.4.7-r3
DEFINED_PHASES=configure install postinst postrm prepare setup
DEPEND=python_single_target_python3_10? ( dev-lang/python:3.10 ) python_single_target_python3_11? ( dev-lang/python:3.11 ) python_single_target_python3_12? ( dev-lang/python:3.12 ) python_single_target_python3_10? ( dev-python/pygobject:3[python_targets_python3_10(-)] ) python_single_target_python3_11? ( dev-python/pygobject:3[python_targets_python3_11(-)] ) python_single_target_python3_12? ( dev-python/pygobject:3[python_targets_python3_12(-)] ) dev-libs/glib:2 >=gnome-base/nautilus-43 net-misc/dropbox
DESCRIPTION=Dropbox Nautilus Extension
EAPI=8
HOMEPAGE=https://github.com/dropbox/nautilus-dropbox
INHERIT=autotools python-single-r1 xdg-utils
IUSE=debug python_single_target_python3_10 python_single_target_python3_11 python_single_target_python3_12
KEYWORDS=~amd64 ~x86
LICENSE=GPL-3 CC-BY-ND-3.0
RDEPEND=python_single_target_python3_10? ( dev-lang/python:3.10 ) python_single_target_python3_11? ( dev-lang/python:3.11 ) python_single_target_python3_12? ( dev-lang/python:3.12 ) python_single_target_python3_10? ( dev-python/pygobject:3[python_targets_python3_10(-)] ) python_single_target_python3_11? ( dev-python/pygobject:3[python_targets_python3_11(-)] ) python_single_target_python3_12? ( dev-python/pygobject:3[python_targets_python3_12(-)] ) dev-libs/glib:2 >=gnome-base/nautilus-43 net-misc/dropbox
REQUIRED_USE=^^ ( python_single_target_python3_10 python_single_target_python3_11 python_single_target_python3_12 )
SLOT=0
SRC_URI=https://linux.dropboxstatic.com/packages/nautilus-dropbox-2024.04.17.tar.bz2
_eclasses_=gnuconfig a397adda6984a4c423e28ac274c1ba98 toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 libtool 5f49a16f67f81bdf873e3d1f10b10001 autotools dc70c1dc473b68317fc4a86f5fbfc57d multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea python-single-r1 75118e916668a74c660a13b0ecb22562 xdg-utils baea6080dd821f5562d715887954c9d3
_md5_=e4271cbe57a7222ce6493d1da5fa4b39