diff options
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/dropbox/Manifest | 2 | ||||
-rw-r--r-- | net-misc/dropbox/dropbox-166.4.2920.ebuild | 110 |
2 files changed, 112 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest index b3734758af7a..d3b5301882c5 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-164.4.7914.tar.gz 108442433 BLAKE2B a2eca177c9f1a7d46584ca429021c9e24cd108445457e4e49d690ebc228af954c694f765d469ea9ae60e7327e18efa06fdf347dca368585326f3212b8fa1eeb7 SHA512 3475680b65246e72733ed3d7d703ec3470a0d115880756f6395ed783cc9b466c75c294f9671ef644435891724d9372a08d3c0d294765d10063d5b206584abf65 DIST dropbox-lnx.x86-165.4.4286.tar.gz 108839501 BLAKE2B c44a6ecc1df8522086100d1021e523cdc57005bea163f60b4a2977726dbbc698460b09c1c628a6bce27f9295fcbaf9a27ac01e202b46fb2a5fba6497d585047c SHA512 74d1e15d21cbd2f1ce891d2f39fbfd88a8a80f1b487e3bb5bad6e8a7a04eea2839d2bc3eb28a88b0843fcb4a7a7902bd86c56c81144ad01857315448a72fae25 DIST dropbox-lnx.x86-165.4.4300.tar.gz 108837531 BLAKE2B 9d5bf7d29807e4f746027ac26bb03cc7a9b730eb2ff04eaa1a2a08af594d60c90b6551ee726124c1390ce692fa3addcb02176c1074d3067c2f92f8d8c0ceda6f SHA512 1c873b4531b4116a6f2913b7688119c7dfaaf3ac886cf65ec692793901bc327252d9623c247b0d99ec55b01e2dc0bf7950927061583a3583d016426fe46ae427 +DIST dropbox-lnx.x86-166.4.2920.tar.gz 108842039 BLAKE2B 6d814c8afd84d32f72901ec2afb80c7bd54e37b8498c54f5bc1aa6bebf249a1106b428118f79992afcaf0228dbf7d4039b01d8c5c6752cf5f97a344735497bdc SHA512 f05075424892d42cfb64ed9642931460235b4a3fdf70387832db1838c17b9636ef9a0f279633e8d2ddbb9f730d3a62b13458bb6b3c35ea5f481f0f4ad2964581 DIST dropbox-lnx.x86_64-164.4.7914.tar.gz 110169209 BLAKE2B 8e77068f2478a3ebd3a21ae9b8c9e296ba4f93f1e17329bdeb9f053d6385e181610dccf893caa7d9095ddca7b05e98096fecd9115b08a368adbf73470cd8efda SHA512 4eef83e2b24b02bbf59a7b752febb3693c9a29b86e3f514172f4fedf709de02f1cd4aae687aae8089bc2c014430c2b371e0a91379c520e432f14494600455fb0 DIST dropbox-lnx.x86_64-165.4.4286.tar.gz 110515994 BLAKE2B b1ea617b4601c628b0743e24b1a4d385e094015d02035966255bee96fed08b23a98f3fa4d074714c64f76070d8079200976d659fa386f847d5abc8639191ab64 SHA512 cbbb7ee6dedf9dd13e97f427fe09e6da614af05f8304a6a2439a18ea4980eb514a024bd24f7178d913d112d9bfb1fd28adb57e06865eb5445d7d2570933e0fa8 DIST dropbox-lnx.x86_64-165.4.4300.tar.gz 110517781 BLAKE2B 6a858cb0a4d7c4947326629cdfae045c65f8db0af80750cb59f504e73f7ddf8fcb2a8425b161e5df7676769c1fdf279dbb63d11200d2ddf83c4d7d35b1b79d78 SHA512 591f290782d77cd234a6e7857fbb4316135a43408fb4697765c80c5d6180d51ebff1d8cba235a9e2a673af5d5349285a0ea5524424d09fc136e23abfceaa6aa7 +DIST dropbox-lnx.x86_64-166.4.2920.tar.gz 110591254 BLAKE2B 21977a6dcf94cf5963488c5dd3ef9106b449e39210bd315c5b216c208f04c25a40bb49377bc654758d746a4eb8429e454a9a85a6179df9765a3cefc78eb21022 SHA512 2aa90eb422b2a224a3d5ff70b9b3a76b0ac4bc0f8301b35f0db1b08c495e83041a49be445f2fa3945ce4ba3726230294fca190ec367ce5c5a49ada35bd965e85 diff --git a/net-misc/dropbox/dropbox-166.4.2920.ebuild b/net-misc/dropbox/dropbox-166.4.2920.ebuild new file mode 100644 index 000000000000..e1949fb60f88 --- /dev/null +++ b/net-misc/dropbox/dropbox-166.4.2920.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" +} |