diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2012-12-26 19:25:58 +0000 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2012-12-26 19:25:58 +0000 |
commit | 02387fd51bfeb527cb833fd46709f2aa16463647 (patch) | |
tree | 70cd0ad9b7abd6f954c409bb1cc0d6ff3bdfa8a8 /net-misc/dropbox | |
parent | Move to maintainer-needed, due to not being maintained by anyone in the (diff) | |
download | gentoo-2-02387fd51bfeb527cb833fd46709f2aa16463647.tar.gz gentoo-2-02387fd51bfeb527cb833fd46709f2aa16463647.tar.bz2 gentoo-2-02387fd51bfeb527cb833fd46709f2aa16463647.zip |
making the depend on patchelf dependant on the rsync-bundled use flag for dropbox
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
Diffstat (limited to 'net-misc/dropbox')
-rw-r--r-- | net-misc/dropbox/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/dropbox/dropbox-1.4.7-r2.ebuild | 83 |
2 files changed, 91 insertions, 1 deletions
diff --git a/net-misc/dropbox/ChangeLog b/net-misc/dropbox/ChangeLog index 1947dab587f7..b6165ab787e2 100644 --- a/net-misc/dropbox/ChangeLog +++ b/net-misc/dropbox/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-misc/dropbox # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/ChangeLog,v 1.28 2012/12/03 22:39:36 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/ChangeLog,v 1.29 2012/12/26 19:25:58 prometheanfire Exp $ + +*dropbox-1.4.7-r2 (26 Dec 2012) + + 26 Dec 2012; Matthew Thode <prometheanfire@gentoo.org> + +dropbox-1.4.7-r2.ebuild: + making the depend on patchelf dependant on the rsync-bundled use flag for + dropbox *dropbox-1.4.23 (03 Dec 2012) diff --git a/net-misc/dropbox/dropbox-1.4.7-r2.ebuild b/net-misc/dropbox/dropbox-1.4.7-r2.ebuild new file mode 100644 index 000000000000..7b7cdf617759 --- /dev/null +++ b/net-misc/dropbox/dropbox-1.4.7-r2.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/dropbox-1.4.7-r2.ebuild,v 1.1 2012/12/26 19:25:58 prometheanfire Exp $ + +EAPI="4" + +inherit gnome2-utils pax-utils + +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="CCPL-Attribution-NoDerivs-3.0 FTL MIT LGPL-2 openssl dropbox" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-linux" +IUSE="+librsync-bundled" +RESTRICT="mirror strip" + +QA_FLAGS_IGNORED="opt/${PN}/.*" +QA_EXECSTACK_x86="opt/dropbox/_ctypes.so" +QA_EXECSTACK_amd64="opt/dropbox/_ctypes.so" + +DEPEND="librsync-bundled? ( dev-util/patchelf )" + +# Be sure to have GLIBCXX_3.4.9, #393125 +RDEPEND=" + app-arch/bzip2 + dev-libs/popt + dev-libs/openssl:0.9.8 + media-libs/libpng:1.2 + !librsync-bundled? ( net-libs/librsync ) + net-misc/wget + >=sys-devel/gcc-4.2.0 + sys-libs/zlib + x11-themes/hicolor-icon-theme +" + +src_unpack() { + unpack ${A} + mkdir -p "${S}" + mv "${WORKDIR}/.dropbox-dist" "${S}"/src || die + cd "${S}"/src + rm -vf libstdc++.so.6 libz* libssl* libbz2* libpopt.so.0 libcrypto.so.0.9.8 libpng12.so.0 || die + if ! use librsync-bundled; then + rm -vf librsync.so.1 || die + else + patchelf --set-rpath '$ORIGIN' _librsync.so || die + fi + pax-mark cm "${S}/src/dropbox" + cd "${WORKDIR}" +} + +src_install() { + cd src || die + dodoc README ACKNOWLEDGEMENTS + rm README ACKNOWLEDGEMENTS || die + + local targetdir="/opt/dropbox" + insinto "${targetdir}" + doins -r * + fperms a+x "${targetdir}/dropbox" + fperms a+x "${targetdir}/dropboxd" + dosym "${targetdir}/dropboxd" "/opt/bin/dropbox" + + insinto /usr/share + doins -r icons + + newinitd "${FILESDIR}"/dropbox.initd dropbox + newconfd "${FILESDIR}"/dropbox.conf dropbox +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |