From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1625431-garchives=archives.gentoo.org@lists.gentoo.org>
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 6CEBA1581E7
	for <garchives@archives.gentoo.org>; Sat, 27 Apr 2024 10:19:19 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 059ABE29ED;
	Sat, 27 Apr 2024 10:19:18 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 pigeon.gentoo.org (Postfix) with ESMTPS id CEE84E29E6
	for <gentoo-commits@lists.gentoo.org>; Sat, 27 Apr 2024 10:19:17 +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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C08DE3408DD
	for <gentoo-commits@lists.gentoo.org>; Sat, 27 Apr 2024 10:19:16 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 5A6381752
	for <gentoo-commits@lists.gentoo.org>; Sat, 27 Apr 2024 10:19:15 +0000 (UTC)
From: "Ben Kohler" <bkohler@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" <bkohler@gentoo.org>
Message-ID: <1714213148.2b7614b80c1962bdc53f8222a67fc614a7904aac.bkohler@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dropbox/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-misc/dropbox/Manifest net-misc/dropbox/dropbox-197.4.7629.ebuild
X-VCS-Directories: net-misc/dropbox/
X-VCS-Committer: bkohler
X-VCS-Committer-Name: Ben Kohler
X-VCS-Revision: 2b7614b80c1962bdc53f8222a67fc614a7904aac
X-VCS-Branch: master
Date: Sat, 27 Apr 2024 10:19:15 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: eb521a58-768a-48fd-a0fc-daf000109dc9
X-Archives-Hash: deb1dc767ea6211022c28eb6ca626e95

commit:     2b7614b80c1962bdc53f8222a67fc614a7904aac
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 27 10:08:50 2024 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Sat Apr 27 10:19:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b7614b8

net-misc/dropbox: add 197.4.7629

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 net-misc/dropbox/Manifest                  |   2 +
 net-misc/dropbox/dropbox-197.4.7629.ebuild | 110 +++++++++++++++++++++++++++++
 2 files changed, 112 insertions(+)

diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index 929a1f82cbea..bdadc822ceda 100644
--- a/net-misc/dropbox/Manifest
+++ b/net-misc/dropbox/Manifest
@@ -2,6 +2,8 @@ DIST DropboxGlyph_Blue.svg 605 BLAKE2B 6c488bd261293b22da98035935ddfa9247bedbc6f
 DIST dropbox-lnx.x86-195.4.4995.tar.gz 113305439 BLAKE2B 87dc38715189e06e98e5895389909f45a38208c8471ec92b9fb278c054ee5711d2acf95bdad01d34c097b96c8e3fe47d230af6bec8d3d2ff6782b1b477e23b61 SHA512 bf9ed46f1a34d96155b0d8f0c9d4a3583344d9eb06585e8e6c04e93dfcae7c55585861f31c2d70e79ba41f0141491aaf2b2c6b28b2baa9faf213ecdd97542fa8
 DIST dropbox-lnx.x86-196.4.6900.tar.gz 113848883 BLAKE2B 05ef3a79d3bbc67a15cd6ede011883424686b7302761ed49a9456735718c05f80a9a273e431283d1b32790b52ec3c6bdbce0253a5a570bdfd47c21f9d02e12be SHA512 652adbace0abbcbfa2729e9e5af11bafd1459924d67180f5be82e3c0feb81b8333307c3cfeb7e528cdcc576062783a1275bba82217bf3761b62b89775d0d3155
 DIST dropbox-lnx.x86-197.4.7571.tar.gz 113668413 BLAKE2B 359dfba6bdf615a82f7af454e6c9ee7ab66b0ce0a048025f6981539054b93716dfeef67ba1a56b1c98117d1bdf376bd6da0fe6c11d156e02859d9a4833e11df9 SHA512 08238adbe96ec95797631790bb74d77ff7cffa8559f7f27e1b1d6580ba83c725b8ca5159b0a184831c5337bc546885743f6171e75b654624859c51260f6771b4
+DIST dropbox-lnx.x86-197.4.7629.tar.gz 113669173 BLAKE2B 48d99401cbe5e895bcfaa30cee458769f3b31745c00d4e2f0c09f5de5fd95c0942ec800991d07f6ca100700167ec829667edf024cf707af0860b3c8731516b97 SHA512 7c3ef252b2d6b441881e7c140ecb11254fb8109b15c36912f6b18273d13b4cafe7fb1c2ba2e7710ac5eb327e1a79f81fbe8eeb1ee2df03e73560f21a1a7899b0
 DIST dropbox-lnx.x86_64-195.4.4995.tar.gz 115954161 BLAKE2B 86f349f6813e160eea71a6c32e37ee8213639dfaa6c69b0a560bfee8e90dae6a95fd0f3b822d6c029e3046d73aa088fb097ce9246c1c0786df9c292b40091adc SHA512 e4ad740d873dbdad995f05fcfda824f57a8ed4707acab66576284c97c00329ef1dbe2d55980694f2edc8a00fbc6ab20a08ca7afcc12488d9fb188cddc0c3501f
 DIST dropbox-lnx.x86_64-196.4.6900.tar.gz 116604283 BLAKE2B 5398f43c33e488d346c9991952673b607e88f93467915ac7e341e29de6e66cb4f60bcc6311a0e261075df38834e53da7a38ac10b20bd4cf5d41f70394668ba13 SHA512 a43cdee6cb192085c484cbaf1aa54691ce8dc24eb682c3f2fb8f8ff7135f7590e4dbfeed33ec3afbd5dbfe2bb6fd72a8c136329ebd9e8223fcd5c63819d25429
 DIST dropbox-lnx.x86_64-197.4.7571.tar.gz 116465452 BLAKE2B d83e16ca390a6974427371894f9d92199af3bf7f0510f88de6b51350d7435cd1b1e2629d0f335b718e5eb9d69705cb67eae692789144a989d138a1d23a8a1b8f SHA512 9f4cb1b6381b13d29880401f23c2b9e24c16a3b7cd00d944e1a9268bc8652b333409d16def3e71cc2ec6fe92d39a3a3aa3b99adb12c96ca2972ab6ca070ba18c
+DIST dropbox-lnx.x86_64-197.4.7629.tar.gz 116466779 BLAKE2B c46f49e53a58204e4338a2ec8368b70c7393f77c11acbb4ad1df8b640ebc2c254e4e3ae602994e321e6c2732feed31788397be41832afcae5ee0ff86b5fc4efa SHA512 2db38f05b0b785a4984ea3181ff7a54049596fed5ee603f9b6bfc652f75ac9ace0964cf38a5b185238fd6f596a5aeaba4b24b974747b0c723ee31f5f8a5c8612

diff --git a/net-misc/dropbox/dropbox-197.4.7629.ebuild b/net-misc/dropbox/dropbox-197.4.7629.ebuild
new file mode 100644
index 000000000000..7d9715a71882
--- /dev/null
+++ b/net-misc/dropbox/dropbox-197.4.7629.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop pax-utils systemd xdg
+
+DESCRIPTION="Dropbox daemon (pretends to be GUI-less)"
+HOMEPAGE="https://www.dropbox.com/"
+SRC_URI="
+	amd64? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-${PV}.tar.gz )
+	x86? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-${PV}.tar.gz )
+	https://www.dropbox.com/sh/42f8d4kq6yt5lte/AAD69lhaw6gy46W8HfQAm0GSa/Glyph/Dropbox/SVG/DropboxGlyph_Blue.svg
+"
+
+LICENSE="BSD-2 CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-linux"
+IUSE="selinux X"
+
+RESTRICT="mirror strip"
+
+QA_PREBUILT="opt/.*"
+QA_EXECSTACK="opt/dropbox/dropbox"
+
+BDEPEND="dev-util/patchelf"
+
+# Be sure to have GLIBCXX_3.4.9, #393125
+RDEPEND="
+	X? (
+		x11-themes/hicolor-icon-theme
+	)
+	selinux? ( sec-policy/selinux-dropbox )
+	app-arch/bzip2
+	dev-libs/glib:2
+	dev-libs/libffi-compat:6
+	media-libs/fontconfig
+	media-libs/freetype
+	net-misc/wget
+	sys-libs/zlib
+	sys-libs/ncurses-compat:5
+	virtual/opengl
+	x11-libs/libICE
+	x11-libs/libSM
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXrender
+	x11-libs/libxcb
+"
+
+src_unpack() {
+	unpack ${A}
+	mkdir -p "${S}" || die
+	mv "${WORKDIR}"/.dropbox-dist/* "${S}" || die
+	mv "${S}"/dropbox-lnx.*-${PV}/* "${S}" || die
+	rmdir "${S}"/dropbox-lnx.*-${PV}/ || die
+	rmdir .dropbox-dist || die
+}
+
+src_prepare() {
+	default
+	# we supply all of these in RDEPEND
+	rm -vf libGL.so.1 libX11* libffi.so.6 || die
+	# some of these do not appear to be used
+	rm -vf libQt5{OpenGL,PrintSupport,Qml,Quick,Sql,WebKit,WebKitWidgets}.so.5 \
+		PyQt5.QtPrintSupport.* PyQt5.QtQml.* PyQt5.QtQuick.*  \
+		wmctrl libdrm.so.2 libpopt.so.0 || die
+	if use X ; then
+		mv images/hicolor/16x16/status "${T}" || die
+	else
+		rm -vrf images || die
+	fi
+	patchelf --set-rpath '$ORIGIN' \
+		apex._apex.*.so \
+		nucleus_python.*.so \
+		tprt.*.so \
+		|| die
+	pax-mark cm dropbox
+	mv README ACKNOWLEDGEMENTS "${T}" || die
+}
+
+src_install() {
+	local targetdir="/opt/dropbox"
+
+	insinto "${targetdir}"
+	doins -r *
+	fperms a+x "${targetdir}"/{dropbox,dropboxd}
+	dosym "${targetdir}/dropboxd" "/opt/bin/dropbox"
+
+	if use X; then
+		doicon -s 16 -c status "${T}"/status
+		newicon -s scalable "${DISTDIR}/DropboxGlyph_Blue.svg" dropbox.svg
+	fi
+
+	make_desktop_entry "${PN}" "Dropbox" "dropbox"
+
+	newinitd "${FILESDIR}"/dropbox.initd dropbox
+	newconfd "${FILESDIR}"/dropbox.conf dropbox
+	systemd_newunit "${FILESDIR}"/dropbox_at.service-r2 "dropbox@.service"
+
+	dodoc "${T}"/{README,ACKNOWLEDGEMENTS}
+}
+
+pkg_postinst() {
+	einfo "Warning: while running, dropbox may attempt to autoupdate itself in"
+	einfo " your user's home directory.  To prevent this, run the following as"
+	einfo " each user who will run dropbox:"
+	einfo ""
+	einfo "install -dm0 ~/.dropbox-dist"
+}