summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2018-01-26 22:15:05 +0800
committerJason Zaman <perfinion@gentoo.org>2018-01-26 22:18:12 +0800
commit6ec4a5d24cac6b315fe3b5c1b3ef0c26ab10a180 (patch)
tree61903ca6e6c9de16dc81e60be7c0f1a969868653 /net-misc/dropbox
parentnet-print/foomatic-db: Update snapshot (diff)
downloadgentoo-6ec4a5d24cac6b315fe3b5c1b3ef0c26ab10a180.tar.gz
gentoo-6ec4a5d24cac6b315fe3b5c1b3ef0c26ab10a180.tar.bz2
gentoo-6ec4a5d24cac6b315fe3b5c1b3ef0c26ab10a180.zip
net-misc/dropbox: bump to 43.3.47 and fix bug 641416
Closes: https://bugs.gentoo.org/641416 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-misc/dropbox')
-rw-r--r--net-misc/dropbox/Manifest2
-rw-r--r--net-misc/dropbox/dropbox-43.3.47.ebuild124
2 files changed, 126 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index a3e292f25ba3..00ad886ba0f2 100644
--- a/net-misc/dropbox/Manifest
+++ b/net-misc/dropbox/Manifest
@@ -1,4 +1,6 @@
DIST dropbox-lnx.x86-40.3.44.tar.gz 70138971 BLAKE2B e83a278e986987cec2b472fe7ac90e4bb4b9c934998707eb3616eeecd60cf5a7dc444efd74a3cd4217adf546b2281d8c9c28f32d84dd831e79d512c4a6105627 SHA512 20f8e574c0b88e83fca85de061319b06fdde6fee007f560180a2327922f5c2950394ecb6fdbd8b5a912ce8edd381c3520216cae7f83ba5254c37370238970938
DIST dropbox-lnx.x86-41.3.76.tar.gz 70413240 BLAKE2B 1404c7975b9f58d288c8519c09734d3e0e52a714824158867d19a7965f0275e3e13d77d725ea030cce50d785f10ca6304e35d55ee89216a1a810f91aa732f4d7 SHA512 98fec83f92d5465ae61d56b0a02209d6145da1017c29d71ef4eb7e8684f28e6bcfadc77a055cddf7f5512eaf02d8235f1dc273b1f22deccbbcb70d7047ee8df8
+DIST dropbox-lnx.x86-43.3.47.tar.gz 108318530 BLAKE2B 0627385c672b4ee024c9062b9da837fad97e728d43afe6476bbbd5108eda4c729ac6230d2be8851381e3c3be98d3a86cb492719e645d9f07a10e579482eb6230 SHA512 23df4e4e2c3cd99d16890091a7c2d3f61341806241462b6ef095b86d5db4b663090e12848038c731014079dd77adaef47fb721b1eac8bc84e945daaae3ee438a
DIST dropbox-lnx.x86_64-40.3.44.tar.gz 74167220 BLAKE2B 46d89e6e8fe56e67a2d6dc6e1dca380e047659c3769cef14155f1cef48a3e58c82e65c2095f3c91cf7f1b1a1f4b10665e00265611562c1fadd912f436dee14a8 SHA512 a7d04c3581459bfc72dd799db424b6b5020bc3e8a65ceb280bc424c662783af78527488e5e575558c0ee7ff0eaba2b89863c329f12806c8b0e088d47afefdea5
DIST dropbox-lnx.x86_64-41.3.76.tar.gz 74449460 BLAKE2B 7983f0e48839fc6c3386b06c4380649e83977a2619bcc888b68a67b0e61996e72133935143a144798d5555595cd6d00063af3aef8c4b293e61eda18dff4ea96a SHA512 ea8cce634d7ed9e77d1d5f30dc7f89396d32783e3c3644d6fca52619d7cff958b407ecf21a1a6478091d148f1d0a42d68b6283e7dbe2652a48adb8f36554fd03
+DIST dropbox-lnx.x86_64-43.3.47.tar.gz 114389696 BLAKE2B 63ec9fe71516715340e3bf579ff40690a56fb3d2200dbf291f6f1f58f56885e115aebf87ea3b306d3682b634d418b6b30e45abe3a16d566cc53dcfcfc004bcba SHA512 e11b01cdf67e16593822d722a8e3d822e9a02a99036a938521bb9e31a2451118168e434e1924006d9629d7b2a847bfacd2d7b0b213d6e1c90fb92fa3378629bf
diff --git a/net-misc/dropbox/dropbox-43.3.47.ebuild b/net-misc/dropbox/dropbox-43.3.47.ebuild
new file mode 100644
index 000000000000..a4f6a2f6b6c3
--- /dev/null
+++ b/net-misc/dropbox/dropbox-43.3.47.ebuild
@@ -0,0 +1,124 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_5 )
+inherit eutils gnome2-utils pax-utils systemd python-single-r1
+
+DESCRIPTION="Dropbox daemon (pretends to be GUI-less)"
+HOMEPAGE="http://dropbox.com/"
+SRC_URI="
+ x86? ( https://dl.dropboxusercontent.com/u/17/dropbox-lnx.x86-${PV}.tar.gz )
+ amd64? ( https://dl.dropboxusercontent.com/u/17/dropbox-lnx.x86_64-${PV}.tar.gz )"
+
+LICENSE="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"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="librsync-bundled? ( dev-util/patchelf )"
+
+# Be sure to have GLIBCXX_3.4.9, #393125
+# USE=X require wxGTK's dependencies. system-library cannot be used due to
+# missing symbol (CtlColorEvent). #443686
+RDEPEND="${PYTHON_DEPS}
+ X? (
+ dev-libs/glib:2
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5[-gles2,xcb]
+ dev-qt/qtopengl:5[-gles2]
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5[-gles2]
+ dev-qt/qtwebkit:5
+ dev-qt/qtwidgets:5[-gles2]
+ 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/popt
+ net-misc/wget
+ >=sys-devel/gcc-4.2.0
+ sys-libs/zlib
+ || (
+ sys-libs/ncurses:5/5
+ sys-libs/ncurses:0/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() {
+ eapply_user
+
+ 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.compiled._librsyncffi*.so || die
+ else
+ rm -vf librsync.so.1 || die
+ fi
+ pax-mark cm dropbox
+ mv README ACKNOWLEDGEMENTS "${T}" || die
+}
+
+src_install() {
+ local targetdir="/opt/dropbox"
+
+ insinto "${targetdir}"
+ doins -r *
+ fperms a+x "${targetdir}"/{dropbox,dropbox_py3,dropboxd}
+ dosym "${targetdir}/dropboxd" "/opt/bin/dropbox"
+
+ use X && doicon -s 16 -c status "${T}"/status
+
+ make_desktop_entry "${PN}" "Dropbox"
+
+ newinitd "${FILESDIR}"/dropbox.initd dropbox
+ newconfd "${FILESDIR}"/dropbox.conf dropbox
+ systemd_newunit "${FILESDIR}"/dropbox_at.service-r1 "dropbox@.service"
+
+ dodoc "${T}"/{README,ACKNOWLEDGEMENTS}
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}