diff options
author | Jason Zaman <perfinion@gentoo.org> | 2017-12-08 16:21:17 +0800 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2017-12-08 16:32:16 +0800 |
commit | c345b249f9af4a15cf09628ea5317ae6ae823fb8 (patch) | |
tree | 44864dc94c28af2dad6891f8d81e1f7f15ad94ea /net-misc | |
parent | dev-lang/gnat-gpl: Work with glibc-2.26. Bug #639808 (diff) | |
download | gentoo-c345b249f9af4a15cf09628ea5317ae6ae823fb8.tar.gz gentoo-c345b249f9af4a15cf09628ea5317ae6ae823fb8.tar.bz2 gentoo-c345b249f9af4a15cf09628ea5317ae6ae823fb8.zip |
net-misc/dropbox: bump to 40.3.44
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/dropbox/Manifest | 6 | ||||
-rw-r--r-- | net-misc/dropbox/dropbox-40.3.44.ebuild | 127 |
2 files changed, 131 insertions, 2 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest index bd91e4f1464b..eedf32282ee9 100644 --- a/net-misc/dropbox/Manifest +++ b/net-misc/dropbox/Manifest @@ -1,4 +1,6 @@ DIST dropbox-lnx.x86-34.3.19.tar.gz 68452832 SHA256 190faa0334c5a7f51c2dc68da12aee7e9bde2b9d80cdbd9ebd0f8d99dc03cf03 SHA512 d71d7742d603e50d4ce7d8e366eac5a17a9641f7508a33f1a4d7135048d0df0af6f7d6dad11c6f523127ca2bf16e8819221d73b80375ace2850a0d87aee03903 WHIRLPOOL f7a3bdcc6c4cc5ce4da48a4d0f2fa0cf8df367f6461696d04a77d6d31db708409f7b5997f681cfcc2c9d841125aac05e9bbadcb841ab2397beb0562cd85190ad -DIST dropbox-lnx.x86-37.3.28.tar.gz 69423066 SHA256 059a4a40806db57912dbe4659dfe9f45f09bc18ced96eca220d0f3289f478cc4 SHA512 dd5efea0648be872c6ede947879fbf89138662a7fa3304cce96e03b6b7c9b37b68c55a03917de623a69592339b74805f3d9fb430d0afd62f946f937a40026956 WHIRLPOOL c8a965fbd16ce83b27310cc477ef297bec01fb13cb7547436a5b81197ca3ee85992b5947bf54925222d32eab3e2a09d2166f8ebfed74138e7ca57fa5f4f5e424 +DIST dropbox-lnx.x86-37.3.28.tar.gz 69423066 BLAKE2B b624e4f68dc6eb80c25e5f2cce6ad9ffc93202b421f0889a70caab1a0e281b7f9d92656337920900007b69a0be4c8a931b9acfe988870b31ea3c99b1d6da9347 SHA512 dd5efea0648be872c6ede947879fbf89138662a7fa3304cce96e03b6b7c9b37b68c55a03917de623a69592339b74805f3d9fb430d0afd62f946f937a40026956 +DIST dropbox-lnx.x86-40.3.44.tar.gz 70138971 BLAKE2B e83a278e986987cec2b472fe7ac90e4bb4b9c934998707eb3616eeecd60cf5a7dc444efd74a3cd4217adf546b2281d8c9c28f32d84dd831e79d512c4a6105627 SHA512 20f8e574c0b88e83fca85de061319b06fdde6fee007f560180a2327922f5c2950394ecb6fdbd8b5a912ce8edd381c3520216cae7f83ba5254c37370238970938 DIST dropbox-lnx.x86_64-34.3.19.tar.gz 72543000 SHA256 19f22d49b49ba9fceefe6115adc70ace8854bad45c22871c3de0eecb598c27cc SHA512 49be921903df05483f222f417538800843fd12d82dff720633640a740859a6a2da28b7137ffbf2dbf178d3908f11801f0a3622d1dec80da53adbe46a60f4c269 WHIRLPOOL 1c9389d649ebe4c3a7d0dfa6dc209a23733885590441502555fdccfe0b622d8acf958852e6f3c63f03e02e8844c61b1f4b4940e005648cbc1b0f753230a4672f -DIST dropbox-lnx.x86_64-37.3.28.tar.gz 73435466 SHA256 a3e33c46d6b2bf2cba5028c35e58755922cb99a75e5d1b3e9f3f8038914e7abe SHA512 b3326e3f35916c847478a2e9c5b78234142499538d73e52d1b676f3b2d7fc428471c6b17518ee536ca0dcf0aa7caadfb81e327e71a7649b8cca6e21b76f2934a WHIRLPOOL 3f434e40d2e6095b4672a1cec6e6267cf91e8a53a2941def1a7682fbf3dacf53eae09879ac2a912d0f126fbcec4273bf34aa830ae58f94ced4124253c3e0e068 +DIST dropbox-lnx.x86_64-37.3.28.tar.gz 73435466 BLAKE2B f8051ed1c0ac3d256ee84fca326b9b1740a4eb3d4516c9ef161e97e7a30dca8ada88148eb264ea084e7984a1126a0da46f4e79800494a03135592c60f4fd13e6 SHA512 b3326e3f35916c847478a2e9c5b78234142499538d73e52d1b676f3b2d7fc428471c6b17518ee536ca0dcf0aa7caadfb81e327e71a7649b8cca6e21b76f2934a +DIST dropbox-lnx.x86_64-40.3.44.tar.gz 74167220 BLAKE2B 46d89e6e8fe56e67a2d6dc6e1dca380e047659c3769cef14155f1cef48a3e58c82e65c2095f3c91cf7f1b1a1f4b10665e00265611562c1fadd912f436dee14a8 SHA512 a7d04c3581459bfc72dd799db424b6b5020bc3e8a65ceb280bc424c662783af78527488e5e575558c0ee7ff0eaba2b89863c329f12806c8b0e088d47afefdea5 diff --git a/net-misc/dropbox/dropbox-40.3.44.ebuild b/net-misc/dropbox/dropbox-40.3.44.ebuild new file mode 100644 index 000000000000..2ea39b1ac76e --- /dev/null +++ b/net-misc/dropbox/dropbox-40.3.44.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +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 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 -vrf wmctrl 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 + rm -rf *.egg library.zip || 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-r1 "dropbox@.service" + + dodoc "${T}"/{README,ACKNOWLEDGEMENTS} +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |