summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaman <perfinion@gentoo.org>2016-03-30 10:47:23 +0800
committerJason Zaman <perfinion@gentoo.org>2016-03-30 10:48:59 +0800
commit46997da28c533d1692f26c19c958f7d7ce6c0a56 (patch)
treeaf0020c6b9249ecd8b62a4d30916fdd8d9f1e043 /net-misc/dropbox
parentdev-python/python-openstackclient: bup (diff)
downloadgentoo-46997da28c533d1692f26c19c958f7d7ce6c0a56.tar.gz
gentoo-46997da28c533d1692f26c19c958f7d7ce6c0a56.tar.bz2
gentoo-46997da28c533d1692f26c19c958f7d7ce6c0a56.zip
net-misc/dropbox: version bump to 3.17.31
Also fix the [-gles2] dep in QT5, thanks to Marinus Schraal Package-Manager: portage-2.2.26
Diffstat (limited to 'net-misc/dropbox')
-rw-r--r--net-misc/dropbox/Manifest2
-rw-r--r--net-misc/dropbox/dropbox-3.17.31.ebuild139
2 files changed, 141 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index a40d6887c660..6d96587b325a 100644
--- a/net-misc/dropbox/Manifest
+++ b/net-misc/dropbox/Manifest
@@ -1,6 +1,8 @@
DIST dropbox-lnx.x86-2.10.2.tar.gz 26078108 SHA256 a43e24342e5f337034cf0d378f5a532ad69ad59bf00eb8a2065c465c969e3455 SHA512 0fb408d7a221c470fbc59c4ddb1f65d4fcb2d33c855b37474b6202a58f7be04b9cf0ed1ea18080efdd02998fe370bdef99ce1e27b8f627515ba3db859251e5ef WHIRLPOOL a33260d2a8907d676230464c9b4200b12debe2ac8aae5a7322250218481f348a2cc4217a84155900cbe9284e4070d424fbc7589e7733fab79d98e2ee324c5e02
DIST dropbox-lnx.x86-3.12.6.tar.gz 67580639 SHA256 f0b623d6c4626dbe95db00db46646a300dab00a2e005403154caffdf95f9f8dd SHA512 855d30209620c9a41a97b767d7d56e3e12674c168a20a0e3ba51f0ad1b5489a7979995285437d12d0a1eb179bc1e1fa8b2962c5d99cacba4d44132b9c6b05e62 WHIRLPOOL 4dad0fb272abe5d2dc45f9dac6cd6fe0efd5ac92f650000ecf237d394dde480621cc9b61d25c77d13c6140459f248e63ebc6460aa5d55de0ad185ab28638f132
+DIST dropbox-lnx.x86-3.17.31.tar.gz 64000133 SHA256 3703485597c5c69cf4e3d33d300ced9c0d66a61ae834b7f126c5ff01f780f6cd SHA512 740519fec1f8a449235b470ab10e103502317e36a0a82f1615823d650d0ac9bb864bcd8dda09abb408e54cf8fc0b410c93e8a5b34beede5b585fb77f0c9dc45a WHIRLPOOL 6c0de43acc28a697d37771f5b60e5544bfb57a83012bbe49c928e3b8920261b4284b4564449e05d0da147de9e672304d42d81b71433c617ca8e6d61342b68b4d
DIST dropbox-lnx.x86-3.6.8.tar.gz 61283985 SHA256 bca1e028a5acab38864320580965947559bc5e74a073e8e3c68cd56fab115d54 SHA512 4d3c37e5d6ccf4de3f317920439a32eaffb5132fcce2f6491b1f9dec7c0a5e06266c9509711a5564e9d6613f6cd8c9f594a691de1e2ad2bcdb7c0df1b7964341 WHIRLPOOL e0a81a0f4b86b8efc9535ab13ad81887331959ac943145c4d4135298c04d966065ef2bbcb7d3f5f43df9650924232768f84941d190b91866e93bf38957d5c09e
DIST dropbox-lnx.x86_64-2.10.2.tar.gz 26852053 SHA256 0780001da7af0ee8b07115f59d1998708e5aa36c50ce13f73f32d7c7c0a08d11 SHA512 0746643546bdcd2de71812a87ccf665df4a656750d899e2b67a3dfa958bf7f59fcb1c99109b6bb1424f5dfbb625d0756a7cc0c01ba09b4375ed177d05846256e WHIRLPOOL 787e5882f546377173e73fcb8a4bfe205c1659e562e0ef4aea9d62123fb684cd254c3962861ea2eb54c6fab895561c29a1c507760eb906625db55fac5aa083dd
DIST dropbox-lnx.x86_64-3.12.6.tar.gz 70855633 SHA256 92ca8fb2fc23c128234505ac8f8b9b1073a3cc17e70a92c9ee51ede7577aa099 SHA512 a1441030918918353518df805cf7b41e40fd604b27349600f845a9e6eefb5b0638715a1a44d47c63a122e84e9104a737a1e04c74931be7ca5932be25028d30a4 WHIRLPOOL fb484aafa4b7c885ac0cbeec865d9f7557cdc58317dec41a32acd2777fe79d93697b18701f21cf3ab46fad315f7aa0c1277d5370e6b7842db41bb7e0b9fda088
+DIST dropbox-lnx.x86_64-3.17.31.tar.gz 67927900 SHA256 2e2257e6a00fcd2c3ebcd8959f4a0489c31b75f3537e27b043dc237d1c994e48 SHA512 afb28e47d447be8d1e51e1a0fdb03f86a97976a77963a1afe1a959eceb24d5aaa22ada7ece6ab84b80ae1548505345b0a54217d7e4c9c44611d7422635426bf5 WHIRLPOOL 9deb38d4dd63ecc7e321be027bf04f750d789d67fff09f63538887c77434bbad9cae8e533194292f4b0f035e5f9f9c558074b9307da2e1336015b610f180f140
DIST dropbox-lnx.x86_64-3.6.8.tar.gz 64000290 SHA256 91f0b6b2842e3dcd4606b16a4bac18d3caa95def31e46a480610d7a0b071c68d SHA512 693103e2ce2ba22854cdc2a69c725f5b4dccd59d273e5c5465db34884c3f8530f58faa68e03a4ad3f11e33d925af2880c2fbd10f949dd82eea0fe187d6839140 WHIRLPOOL 079b96ff891a6d9b3df01c1eb00b2a098b16dc1fad70295b31f82de43c185038e27257ddb4721aef18a0e65d40c3a1944937451df3f01d8d092feb9b00bde77c
diff --git a/net-misc/dropbox/dropbox-3.17.31.ebuild b/net-misc/dropbox/dropbox-3.17.31.ebuild
new file mode 100644
index 000000000000..42728322e7b5
--- /dev/null
+++ b/net-misc/dropbox/dropbox-3.17.31.ebuild
@@ -0,0 +1,139 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils gnome2-utils pax-utils systemd
+
+DESCRIPTION="Dropbox daemon (pretends to be GUI-less)"
+HOMEPAGE="http://dropbox.com/"
+SRC_URI="
+ x86? ( http://dl-web.dropbox.com/u/17/dropbox-lnx.x86-${PV}.tar.gz )
+ amd64? ( http://dl-web.dropbox.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"
+
+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="
+ X? (
+ dev-libs/glib:2
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5[-gles2]
+ dev-qt/qtopengl:5[-gles2]
+ dev-qt/qtnetwork:5
+ dev-qt/qtprintsupport:5[-gles2]
+ dev-qt/qtquick1:5
+ dev-qt/qtwebkit:5
+ dev-qt/qtwidgets:5[-gles2]
+ media-libs/libpng:1.2
+ sys-libs/zlib
+ virtual/jpeg
+ x11-libs/gtk+:2
+ x11-libs/libSM
+ 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-lang/python:2.7
+ dev-libs/popt
+ net-misc/wget
+ >=sys-devel/gcc-4.2.0
+ sys-libs/zlib
+"
+
+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() {
+ local target=(
+ cffi-1.3.0-py2.7-*.egg
+ cryptography-1.0-py2.7-*.egg
+ dropbox_sqlite_ext-0.0-py2.7.egg
+ futures-3.0.2-py2.7.egg
+ idna-2.0-py2.7.egg
+ ipaddress-1.0.14-py2.7.egg
+ mock-1.0.1-py2.7.egg
+ objgraph-2.0.1-py2.7.egg
+ psutil-3.1.1-py2.7-*.egg
+ pyasn1-0.1.8-py2.7.egg
+ requests-1.2.3-py2.7.egg
+ setuptools-18.1-py2.7.egg
+ six-1.9.0-py2.7.egg
+ tornado-4.2-py2.7-*.egg
+ )
+
+ rm -vf libbz2* libpopt.so.0 libpng12.so.0 || die
+ rm -vf libdrm.so.2 libffi.so.6 libGL.so.1 libX11* || die
+ rm -vf libQt5* libicu* qt.conf || die
+ rm -vf wmctrl || 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
+ mv ${target[@]} "${T}" || die
+ rm -rf *.egg library.zip || die
+ (cd "${T}"; mv ${target[@]} "${S}") || die
+ ln -s dropbox library.zip || 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"
+
+ newinitd "${FILESDIR}"/dropbox.initd dropbox
+ newconfd "${FILESDIR}"/dropbox.conf dropbox
+ systemd_newunit "${FILESDIR}"/dropbox_at.service "dropbox@.service"
+
+ dodoc "${T}"/{README,ACKNOWLEDGEMENTS}
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}