summaryrefslogtreecommitdiff
path: root/net-misc/dropbox
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-27 22:23:02 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-27 22:23:02 +0100
commit651f415b41664a0fd7f9e83ac1425ba3670c9518 (patch)
tree6edbaa4a890ab8fdc5dd63ad94f2f0e5d25259b0 /net-misc/dropbox
parent3529f1bf2739399905cd55b27c7609459bfc069f (diff)
gentoo auto-resync : 27:10:2023 - 22:23:02
Diffstat (limited to 'net-misc/dropbox')
-rw-r--r--net-misc/dropbox/Manifest3
-rw-r--r--net-misc/dropbox/dropbox-185.4.6054.ebuild110
2 files changed, 113 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index a92e4e883368..fb6f5f870c6d 100644
--- a/net-misc/dropbox/Manifest
+++ b/net-misc/dropbox/Manifest
@@ -3,6 +3,9 @@ AUX dropbox.initd 1581 BLAKE2B c23a753b7e4d1132d516d607e0eee35072130f6e66c59af00
AUX dropbox_at.service-r2 1582 BLAKE2B 7a5d8eb1e99d6a9f6cc7d903d8d2cb6b124b4a5217e978d05f0afb08de90b3634bb802bd075a053b84b0ec4f5ef6643d2efb00beb964f9f14dd3dd234806358b SHA512 ce465614c848103ac19d3782bf55508ab9b3a3f1c0159cd0ccb7daa7374f014382b30a99bf2eb5488ab4474cad953ce0b4710c8222e5196ea49672db5d183b85
DIST DropboxGlyph_Blue.svg 605 BLAKE2B 6c488bd261293b22da98035935ddfa9247bedbc6f4da2f9fc2470af802c1f4f597ac88b01b5bef9e77e1e717267f633d6a04af2ccfd3c5f9dbff22fbceaf9a91 SHA512 9202344b904dcd7955e5a355dadf537d1544140d74f8a33bdc40e18e36661e3a474d11cf17613eaebf4e76c170d8413d99abdedfb8635784bcd6892b4b259712
DIST dropbox-lnx.x86-184.4.6543.tar.gz 112782509 BLAKE2B 51986d85599c5f866382940fd558fc8aa0823930099322e89d3d5fe792a7b65cb46359f2a786c0b8bfd8b49e241fc141d6b212ef70f2f5dbd18563d1bcb2b5a6 SHA512 d1e79b4bf1c9d035b9f305be069847bef43617d1da2d0f317a9dfe97f34adc920a7fd0f14bb4bd8a621bb6869a664c1fca4b9ea89cead1c4396b3cafa7448347
+DIST dropbox-lnx.x86-185.4.6054.tar.gz 112943687 BLAKE2B b29720f86d050d19234fb2725931c606335c051e1dc6de88186c7bc2460627053c3bc76a4fafd327fc3126795b232f4362f506e8e7b3f25c92bf4eb14ea6a59f SHA512 2d5d974dcd9c0b63ec1f919915c4f2303277ddd563a4d11006ed3fc776336f4a9e618fff8b0c83f223ef00f3f83f20be321ad00947f62565066cf17746fe5a38
DIST dropbox-lnx.x86_64-184.4.6543.tar.gz 114500761 BLAKE2B bf447f252e00e1c8796ec36b53a724980e10a013837f0d2e2098fe99fd5268eb96dd8f41673f8448dd99bc6665a9e1eac4c45e63509c028046995b9220f52caa SHA512 27fb88c814992aa9a8742f839e4f2d54f0d5efef148fa7bf44b6f10a8df7e502e0c8d9ba89ac405d0ef7b09be138fac6d110dbc3fcf3a90a492c8ecd5c8a50c3
+DIST dropbox-lnx.x86_64-185.4.6054.tar.gz 114626942 BLAKE2B d3bed93a6d48d08bbe339398b41e2f889f5e53d4667af3254e611f8dc023174f560cdddacae329c761cf1a69bc0a3e01a2559af09dfde8b689de860c45f34432 SHA512 2663d788c1a06f9e7b3032a5487ca62a9b8f47f41e6530377abf85e4188a8f570c2c08e1386d26fb839bc4b3ce5c422e4d8444fbb34caf78004bbe845ba91cff
EBUILD dropbox-184.4.6543.ebuild 2854 BLAKE2B 4dee65271164156807a438491e0c7f498a6dc7846e52779bffb4f1ae6412fa8d34200ee45d6d303fb1b2d1a5da374d5e4a72f3916335acc21541d70f72256f54 SHA512 61be728fabb64052400b6a39a8278c0a66ea749069dbdc0a39933a004d11113b576bbb7f3c5cc08a185f774a8f010aeeedf14eec22a3a2a84bf4d6ad039b290c
+EBUILD dropbox-185.4.6054.ebuild 2854 BLAKE2B 4dee65271164156807a438491e0c7f498a6dc7846e52779bffb4f1ae6412fa8d34200ee45d6d303fb1b2d1a5da374d5e4a72f3916335acc21541d70f72256f54 SHA512 61be728fabb64052400b6a39a8278c0a66ea749069dbdc0a39933a004d11113b576bbb7f3c5cc08a185f774a8f010aeeedf14eec22a3a2a84bf4d6ad039b290c
MISC metadata.xml 336 BLAKE2B 0932d5cb97ca50abfbfd49b3b209733da73c94ed41ef1087e6c43c4e65f3a09186f74c507cf0db5d64a1c5231d3560a7d6a8bb6130e95e1d5dbb7f3974801df3 SHA512 25bee9aa1ab64f01bb4544dec14b4b98bcb3877714ec33c6cbed4cdd3362d2a4cab58f425cad3723398e4ee0a2ba16a550ab38ff9f974cd0c5046df1b34b5eb0
diff --git a/net-misc/dropbox/dropbox-185.4.6054.ebuild b/net-misc/dropbox/dropbox-185.4.6054.ebuild
new file mode 100644
index 000000000000..b0b4cee9bbeb
--- /dev/null
+++ b/net-misc/dropbox/dropbox-185.4.6054.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+}