summaryrefslogtreecommitdiff
path: root/net-misc/dropbox
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-12-01 20:53:45 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-12-01 20:53:45 +0000
commit896d6a8a88861c42b5d531a2f147c8a29a149bd8 (patch)
tree081fe10813721a96088dca6b54bc35bcac18afc6 /net-misc/dropbox
parent3059f20995d5ac642b7b4a38d538fdf1cc45d90d (diff)
gentoo auto-resync : 01:12:2022 - 20:53:45
Diffstat (limited to 'net-misc/dropbox')
-rw-r--r--net-misc/dropbox/Manifest3
-rw-r--r--net-misc/dropbox/dropbox-162.4.5419.ebuild110
2 files changed, 113 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index fbacf2cc500f..ea7b92411c37 100644
--- a/net-misc/dropbox/Manifest
+++ b/net-misc/dropbox/Manifest
@@ -4,8 +4,11 @@ AUX dropbox_at.service-r2 1582 BLAKE2B 7a5d8eb1e99d6a9f6cc7d903d8d2cb6b124b4a521
DIST DropboxGlyph_Blue.svg 605 BLAKE2B 6c488bd261293b22da98035935ddfa9247bedbc6f4da2f9fc2470af802c1f4f597ac88b01b5bef9e77e1e717267f633d6a04af2ccfd3c5f9dbff22fbceaf9a91 SHA512 9202344b904dcd7955e5a355dadf537d1544140d74f8a33bdc40e18e36661e3a474d11cf17613eaebf4e76c170d8413d99abdedfb8635784bcd6892b4b259712
DIST dropbox-lnx.x86-160.4.4703.tar.gz 112263612 BLAKE2B 8dcd3b202e75010d802317ee4f9a84ff6608466f27e09d5c63eabc41da5fff2421d340a4effad887d447b259643af5dfbc70b6d5847b28ba88b7447fb1b14af1 SHA512 a510578acee99eb9ecddad01a1da05b0b2820903b9015062201cd0a982dd7dd7590dde3783bc6430b860f817863052dffe15b10dd71a020461e42112d8f43f41
DIST dropbox-lnx.x86-161.4.4923.tar.gz 108217505 BLAKE2B 9fc98d768eee47116a1360298ffd5741d7d1996cee72aff160367b2c7d9eac45b5a26b7e7f854d06d672fd8363dfc26c404d30de371962b94ea824f0b19b27b7 SHA512 b97d276c806721b556e0f2c041ee1e354a12bc08ca1fb312805793fbf8e4726f5744f91f5ddc58d9fd3ca5b74d857a06e2694101744fa2229358f34e30f70918
+DIST dropbox-lnx.x86-162.4.5419.tar.gz 108572146 BLAKE2B de99e8f2617c6fd67d5d9791df6d9e84bfe35cb4cfd4c29c894298b9050f3fa46044c1dbd5d6a70ccbf5fe7768798ab83e8db1b1671bde208d735b222811d049 SHA512 d0e922de7ecb4d2296e43370cc9ff6d4dda73e39aa0229f1069c9f8f81c1da06e137f35e96e7c9df82ab1890b42c5314b75f32c62e1bd434314a73abd3dab741
DIST dropbox-lnx.x86_64-160.4.4703.tar.gz 113729733 BLAKE2B bcec2fb5777025e31f1f52f7c9313675eddd6e4d4a47df0da735dd2a48e016d9d588a7ec299d3d6c1a2e26fe3e0ade20dc99c29c38f42a0a5c0b3529e83c1e2f SHA512 b70afe7890f9f8b7be67d77a1ebb344e7ef9f6227d7b41419ccbe98f8ae36c37b01f3bcf047f79c16504218cdf220ebd0caa409f19f8611a96ab228d883d2c20
DIST dropbox-lnx.x86_64-161.4.4923.tar.gz 109934859 BLAKE2B 1e06f7268f7484ef545e994c3843d639fbdb9005025b4dca3f9c7809569c8a4318e65a6cbc117a3fc120b053544c3b71883cc4cb2576481799ad79ef1f860719 SHA512 fc6199f29b3f981e02f6cdf5b11cfb15d7e36d349d796b9bd144b861be4415f07d137a135777d3f6aa68118954d86b9ec1c6c3c1251166b19185e90424c2abbf
+DIST dropbox-lnx.x86_64-162.4.5419.tar.gz 110259777 BLAKE2B 35e84ff91a91eb31e9ab588f6aec207f8cdb8db275e68d866b7b758f6aa7fca1b1567eaf0e902b0812a7d8c641c5f92e1f13f94b538f9e943af1045a733b0c42 SHA512 45f996d51c3b2647deff8e8553f0509f59a21f17bcd63e05ab93813d3fb2076d14c5a67d5a628b9752498f1a6760904e8e4bfc5106616088add3c9790ee3ddfa
EBUILD dropbox-160.4.4703.ebuild 2854 BLAKE2B 6fb717287a03b330439a48ac00399916efee0ff8df4453957cbeb647230abfc1c9fe1f7f582199cc59994e04ea0f8504a7ddf7f2bfc3c3211bc2e43037d573e1 SHA512 a7e8b12f746344668d56e6757221bbc2e8fd6ff88ddb8e49b38bf51a2dc98de203bc756a56502f4facb16a4b685aa026e225e99848e490a9a78b52b550357061
EBUILD dropbox-161.4.4923.ebuild 2856 BLAKE2B 855ab6ef19332da722935e955c1e27c6ddd58a5d6792955bf0767b25f0d926b55824792e2a9248a201f2a302b885d5f3aa1942844c26045df6cb7e0fba94f551 SHA512 59fda71fd1def44f2601709103c1ced751b5ef362588ebb7695288e52fe09586706ecb0a82e21b3e314063121fb5fa4f918fa87b94bf91c5add81a426358402f
+EBUILD dropbox-162.4.5419.ebuild 2856 BLAKE2B 855ab6ef19332da722935e955c1e27c6ddd58a5d6792955bf0767b25f0d926b55824792e2a9248a201f2a302b885d5f3aa1942844c26045df6cb7e0fba94f551 SHA512 59fda71fd1def44f2601709103c1ced751b5ef362588ebb7695288e52fe09586706ecb0a82e21b3e314063121fb5fa4f918fa87b94bf91c5add81a426358402f
MISC metadata.xml 336 BLAKE2B 0932d5cb97ca50abfbfd49b3b209733da73c94ed41ef1087e6c43c4e65f3a09186f74c507cf0db5d64a1c5231d3560a7d6a8bb6130e95e1d5dbb7f3974801df3 SHA512 25bee9aa1ab64f01bb4544dec14b4b98bcb3877714ec33c6cbed4cdd3362d2a4cab58f425cad3723398e4ee0a2ba16a550ab38ff9f974cd0c5046df1b34b5eb0
diff --git a/net-misc/dropbox/dropbox-162.4.5419.ebuild b/net-misc/dropbox/dropbox-162.4.5419.ebuild
new file mode 100644
index 000000000000..8b2419b74a06
--- /dev/null
+++ b/net-misc/dropbox/dropbox-162.4.5419.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2022 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"
+}