net-misc/dropbox: bump to 94.4.384
authorBen Kohler <bkohler@gentoo.org>
Thu, 2 Apr 2020 10:46:09 +0000 (05:46 -0500)
committerBen Kohler <bkohler@gentoo.org>
Thu, 2 Apr 2020 10:52:32 +0000 (05:52 -0500)
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
net-misc/dropbox/Manifest
net-misc/dropbox/dropbox-94.4.384.ebuild [new file with mode: 0644]

index 06c20eea145ddddada4cd46c7a774b0d0b56ba3e..c4e2d1930e93aeff646a91c969c7566ff9331d23 100644 (file)
@@ -1,4 +1,6 @@
 DIST dropbox-lnx.x86-93.4.273.tar.gz 94058022 BLAKE2B 436f861aa569d6468031a841d9a5f5e592e7a1213d3eb84d3029deb842e5a03cfa54a570c5f20efa7e66ead62aff44f599b8c3eb99fceacccadda95a45123bee SHA512 fd8e1fc05ded55fadaae484605f36d14779432d843d9e7ead20e77f33cad2b45ddc3f35c6dc1acd8b544d152998682ec3c5cf28b96c08143b85c60a75e063015
 DIST dropbox-lnx.x86-94.3.371.tar.gz 94249950 BLAKE2B a3e798b55e54dbfe9f8e3cea5c05405e2280b81654cb6ebd6957c0b1492c6ce6ec341be25c8708bd9b53d03fa9629e4861ac408e169aa2525dda31de1746afb9 SHA512 363da23ea0ae18bf4e09b8be13901c9bfd87a14747f9c4ed65cebbf57f2992d120bd6004dcb3d4162cb3246d4dc03aa3d64953819cc8919adff2e758da19c072
+DIST dropbox-lnx.x86-94.4.384.tar.gz 94254443 BLAKE2B 4d12d0268ea71f4d06304dbe29bcd54f3af4c39e10ba8be4892724c6dc556dd844e587f789cc957dad66d7bd44ae8fdac398cefbfb714a8b01d7f8c06b1d6d50 SHA512 710af644cdaf88a6db26f86b2cafd1bb729b4cd52aab4a3328c9c3061183db32db016adb6d8dc9c5a2fc860a55c3abc712a774ac3e635459c605e91c0178c37e
 DIST dropbox-lnx.x86_64-93.4.273.tar.gz 98410343 BLAKE2B fa9828aa695521d64d911a7f958e9b7df926a4457b6613759d769ed78b7d7111448069d18855f0184c7228e9ca6dbd811b5739fd0763f23952d0b33ab9ea8514 SHA512 98829692f4b662bfafd709c99708067f172a10cafc32af1e53ecc9592ab0d5b15dae2da492c24f6b6079a2ad66eff1293416453e03090aca427b4ea7a5ea059b
 DIST dropbox-lnx.x86_64-94.3.371.tar.gz 98551058 BLAKE2B 6c4051cc81e490a28c34f52ef7f9f74e0e263f24ebc409fe67ac86d371db89ef250ade98a3701a0101d6e90bfd6835eda17176ed6413dbb774b2b9b43f2d7aa9 SHA512 c12ffe8a5051cc396ea188e7907449fb49d103b476c1070952fcb815bec29c72ec02bec5826898b3aee5230c195620a62499440b5ea27b4d97f55ad8914ab143
+DIST dropbox-lnx.x86_64-94.4.384.tar.gz 98561877 BLAKE2B ff1ec6a8f76b9b79ed3cfe34d5dd5642886d01631bba062ba15528929e1068425fadc403c8a7fb3242b08c2d2742a2f4ccd255c8772691ee1e4f1b8693be4dcb SHA512 e905b283ef435d7b6c0d7973f49e8c0a4a5e7c25c2570967b24bb8476ef1889f63d01e7951f1c6d78a5c6851e1a30737b9297032dede1540e3bf391c56bc0c8b
diff --git a/net-misc/dropbox/dropbox-94.4.384.ebuild b/net-misc/dropbox/dropbox-94.4.384.ebuild
new file mode 100644 (file)
index 0000000..ff55031
--- /dev/null
@@ -0,0 +1,102 @@
+# Copyright 1999-2020 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 )"
+
+LICENSE="BSD-2 CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-linux"
+IUSE="+librsync-bundled 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? (
+               dev-libs/glib:2
+               media-libs/fontconfig
+               media-libs/freetype
+               virtual/jpeg
+               x11-libs/libSM
+               x11-libs/libX11
+               x11-libs/libXinerama
+               x11-libs/libXxf86vm
+               x11-libs/pango[X]
+               x11-misc/wmctrl
+               x11-themes/hicolor-icon-theme
+       )
+       !librsync-bundled? ( <net-libs/librsync-2 )
+       selinux? ( sec-policy/selinux-dropbox )
+       app-arch/bzip2
+       dev-libs/libffi-compat:6
+       dev-libs/popt
+       net-misc/wget
+       >=sys-devel/gcc-4.2.0
+       sys-libs/zlib
+       sys-libs/ncurses-compat:5"
+
+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
+
+       rm -vf libGL.so.1 libX11* libdrm.so.2 libffi.so.6 libpopt.so.0 wmctrl || die
+       # tray icon doesnt load when removing libQt5* (bug 641416)
+       #rm -vrf libQt5* libicu* qt.conf plugins/ || die
+       if use X ; then
+               mv images/hicolor/16x16/status "${T}" || die
+       else
+               rm -vrf PyQt5* *pyqt5* images || die
+       fi
+       if use librsync-bundled ; then
+               patchelf --set-rpath '$ORIGIN' librsyncffi_native.*.so || die
+       else
+               rm -vf librsync.so.1 || 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"
+
+       use X && doicon -s 16 -c status "${T}"/status
+
+       make_desktop_entry "${PN}" "Dropbox" "dropboxstatus-logo"
+
+       newinitd "${FILESDIR}"/dropbox.initd dropbox
+       newconfd "${FILESDIR}"/dropbox.conf dropbox
+       systemd_newunit "${FILESDIR}"/dropbox_at.service-r2 "dropbox@.service"
+
+       dodoc "${T}"/{README,ACKNOWLEDGEMENTS}
+}