summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2024-03-22 05:57:58 -0500
committerBen Kohler <bkohler@gentoo.org>2024-03-22 05:58:15 -0500
commitdfa4c19cf8fe02233cd30812dd56ac8f5bcc0a91 (patch)
tree7ac8e9ee46a6d8d4706771c2c505ba5c976b57c0 /net-misc
parentdev-qt/qtwebview: add 6.7.0_rc2 (diff)
downloadgentoo-dfa4c19cf8fe02233cd30812dd56ac8f5bcc0a91.tar.gz
gentoo-dfa4c19cf8fe02233cd30812dd56ac8f5bcc0a91.tar.bz2
gentoo-dfa4c19cf8fe02233cd30812dd56ac8f5bcc0a91.zip
net-misc/dropbox: add 195.4.4995
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/dropbox/Manifest2
-rw-r--r--net-misc/dropbox/dropbox-195.4.4995.ebuild110
2 files changed, 112 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index 0faf61d51262..088a5f1fba8d 100644
--- a/net-misc/dropbox/Manifest
+++ b/net-misc/dropbox/Manifest
@@ -4,8 +4,10 @@ DIST dropbox-lnx.x86-191.4.4995.tar.gz 113609714 BLAKE2B 52c4c93bb3391a50f97eb48
DIST dropbox-lnx.x86-192.4.4605.tar.gz 113610367 BLAKE2B 03929a1e4e04c0f137021e36dc2caf6299ed64353d447e02472bf6424044c2e8c0d2686e8dcf423f46bc98f430944aef778afddd667ba18a8c183a065258a066 SHA512 09a6c4bfd94543b236bb5132cddbf79a4b62918ffdc1e8e74dcf429d47df12ce7dc3d7e10effcfd3134029e3da9023f0cad18401731ec9534428b99bd90c0669
DIST dropbox-lnx.x86-193.4.5594.tar.gz 113684446 BLAKE2B 35eedb58861893ef93db4e76086b30465640eac6d435f6386320a28295cab7d2c9027d9a5ccdc1604f8d9357d87fe285976d646da47702d945a76f2c32a181fb SHA512 00c9918c2fd12b503b437f6dda70e721053c3cd798e9c5f84f5cdd4dc8d201a6bbe43f6f0faeffe3f4d2c8bfde8047e88abf6604f224dc1da5586479ee5047fd
DIST dropbox-lnx.x86-194.4.6267.tar.gz 113100139 BLAKE2B 17316bd5693711502cec132d62739d1eae8ed9a24bb89b85e64dae2acd683c14edc258651b6d337b330a6a13fe0d2dc93e367d82a089bacee3f2c50d50fe113d SHA512 aa9920f90bcea944012d64ee9fda8a34b7851149280fea49fb87cdba4dfd679ad3fe13e4e2093c614ae8e46387068b216a08db0d69a3f4bebaff1ed83e19e348
+DIST dropbox-lnx.x86-195.4.4995.tar.gz 113305439 BLAKE2B 87dc38715189e06e98e5895389909f45a38208c8471ec92b9fb278c054ee5711d2acf95bdad01d34c097b96c8e3fe47d230af6bec8d3d2ff6782b1b477e23b61 SHA512 bf9ed46f1a34d96155b0d8f0c9d4a3583344d9eb06585e8e6c04e93dfcae7c55585861f31c2d70e79ba41f0141491aaf2b2c6b28b2baa9faf213ecdd97542fa8
DIST dropbox-lnx.x86_64-190.4.6383.tar.gz 115387950 BLAKE2B f1e6e9f5b480a05192eb9595e1556ede907e3e971fa75cb0f25f3c0ea8bad89fdaa74e881461f2ca3ef7906c64d3e1986386d5086ee4b8210f587ab774d62797 SHA512 ba15c67c7763a7c58a8ff250444e1fc12720442e985ef70b208c5629c5157f9d5e561c28a7adf8c2a0c668206dd6f2ff881a0e688f0c8d06140e7325fdc07ea2
DIST dropbox-lnx.x86_64-191.4.4995.tar.gz 115356260 BLAKE2B 56ade937a51ee6ce2137fc4996c1024c415a88ca59a7da2017dc8abb8a1e1012400550eb4a117d052a5cfe34221cdfc9ee1a4c4bf7cd1e61418dfccbfc9f702a SHA512 a0f9a8171b4824cb0338cd13948bc9a55a6dcbaabe5d8d2792895e8dc352b761100b06832a6617c82ad6566ba21a952cc25b19007d0f66db43030c869144036e
DIST dropbox-lnx.x86_64-192.4.4605.tar.gz 115368740 BLAKE2B 9059406de6d07de06f24111a286a08c52ed944956819f6b216d6bf6c0ae8716b695feb7899a30d2b45f00fb70820bbef26caf9f476abde2c86a833f972d1722a SHA512 3e8196a10d1d339de476acddf3384c7d2094adf1ee8ade847ed5e98df7e18a387fb1a9eb745a3adf83db61e0aa73433da6d0c9c948f017cce498be37da4392d7
DIST dropbox-lnx.x86_64-193.4.5594.tar.gz 115422679 BLAKE2B 3a2af8ecfc27d6ba42e236ab91951c54c392772db9d6bb05aa803095a20f20e2e246f119ecd85b251a85b2ff5300c706034baae6901a2aca0e7d114efa997a47 SHA512 ee7175feb081134ec5784ba92ff9bb847985a75f92864ed07cb75acf59c0d744d0dcf7c149fb33dca588f40520a2d5e0b1b6f4abb6e476fa8ae625628d594423
DIST dropbox-lnx.x86_64-194.4.6267.tar.gz 115802880 BLAKE2B 28abd5f8ecde2e7e065212c3a890df8d4424b8e54e2d4975f96ea2665c243065b3f8b171a0324f07db87795eba63723616423dbcb1563796458dfa820665c3fe SHA512 113d5c4a320f194b4f42a8aaa2797fabbf9351ae59e6b28af4c0a09a18f4a58169e041b3ac53e37b5e200574813384bbc48808a1f8b040adb562a1aec351af4a
+DIST dropbox-lnx.x86_64-195.4.4995.tar.gz 115954161 BLAKE2B 86f349f6813e160eea71a6c32e37ee8213639dfaa6c69b0a560bfee8e90dae6a95fd0f3b822d6c029e3046d73aa088fb097ce9246c1c0786df9c292b40091adc SHA512 e4ad740d873dbdad995f05fcfda824f57a8ed4707acab66576284c97c00329ef1dbe2d55980694f2edc8a00fbc6ab20a08ca7afcc12488d9fb188cddc0c3501f
diff --git a/net-misc/dropbox/dropbox-195.4.4995.ebuild b/net-misc/dropbox/dropbox-195.4.4995.ebuild
new file mode 100644
index 000000000000..7d9715a71882
--- /dev/null
+++ b/net-misc/dropbox/dropbox-195.4.4995.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"
+}