summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2018-03-05 13:09:40 +0800
committerJason Zaman <perfinion@gentoo.org>2018-03-05 13:14:17 +0800
commit89df0d5c502eabe2102b4df12b08b989a702ddc3 (patch)
treea4b9a27adba04372a042ce10a99e137bdf2a1124 /net-misc/dropbox
parentx11-misc/util-macros: Version bump to 1.19.2 (diff)
downloadgentoo-89df0d5c502eabe2102b4df12b08b989a702ddc3.tar.gz
gentoo-89df0d5c502eabe2102b4df12b08b989a702ddc3.tar.bz2
gentoo-89df0d5c502eabe2102b4df12b08b989a702ddc3.zip
net-misc/dropbox: bump to 45.3.88
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-45.3.88.ebuild124
2 files changed, 126 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index d1871490c667..92e6385cf7f5 100644
--- a/net-misc/dropbox/Manifest
+++ b/net-misc/dropbox/Manifest
@@ -1,4 +1,6 @@
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-45.3.88.tar.gz 108891513 BLAKE2B f72ea5663a2ea46b0c34294eb18e647f857c8769a3a341fe73b1d4d252a3c08f3add1613b0413e6909e3a5b770f32e473b3383a956c08fec78067736b5b66cbe SHA512 499249377c22452a8266402e6b4ab48f9a1cf1249c4354919a5861ccb7080e8df47d4ef7d757a1667b3511b82c9faf512de1aa1e2e35a939908f74976a728724
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
+DIST dropbox-lnx.x86_64-45.3.88.tar.gz 114967662 BLAKE2B 3276b3b20bc96eff3a756064c64b5a0e8ad28b27d29579dd6dc34043427bb209bc5d86be62651f6642f61af17388113ec9a1a4a211e3149ecb8679a4b8e505ca SHA512 d3a787487084237fff928afd6ec2192f27e196c589bba3c6bd8a501055d1a3d4c8dcb88b15336ea03bed38e2a02d0731bb9725cbb324bb6e00ec95e98ed671ea
diff --git a/net-misc/dropbox/dropbox-45.3.88.ebuild b/net-misc/dropbox/dropbox-45.3.88.ebuild
new file mode 100644
index 000000000000..fd6a76df5146
--- /dev/null
+++ b/net-misc/dropbox/dropbox-45.3.88.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 python3_6 )
+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://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-${PV}.tar.gz )
+ amd64? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/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
+}