summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2013-04-29 23:53:57 +0000
committerNaohiro Aota <naota@gentoo.org>2013-04-29 23:53:57 +0000
commit4a115e9bc36ad62ac1441225c1f77725795716a9 (patch)
tree8f88c1f3aaa22407c631ecb3f6d07f8bf67b6280 /net-misc/dropbox
parentCorrected UNIPATCH_DOCS functionality, a mistake slipped through testing and ... (diff)
downloadgentoo-2-4a115e9bc36ad62ac1441225c1f77725795716a9.tar.gz
gentoo-2-4a115e9bc36ad62ac1441225c1f77725795716a9.tar.bz2
gentoo-2-4a115e9bc36ad62ac1441225c1f77725795716a9.zip
Version bump wrt #467724
(Portage version: 2.2.0_alpha171/cvs/Linux x86_64, signed Manifest commit with key F8551514)
Diffstat (limited to 'net-misc/dropbox')
-rw-r--r--net-misc/dropbox/ChangeLog7
-rw-r--r--net-misc/dropbox/dropbox-2.0.8.ebuild99
2 files changed, 105 insertions, 1 deletions
diff --git a/net-misc/dropbox/ChangeLog b/net-misc/dropbox/ChangeLog
index 334b0f6a12f0..4a30976a7400 100644
--- a/net-misc/dropbox/ChangeLog
+++ b/net-misc/dropbox/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/dropbox
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/ChangeLog,v 1.32 2013/02/18 05:50:05 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/ChangeLog,v 1.33 2013/04/29 23:53:57 naota Exp $
+
+*dropbox-2.0.8 (29 Apr 2013)
+
+ 29 Apr 2013; Naohiro Aota <naota@gentoo.org> +dropbox-2.0.8.ebuild:
+ Version bump wrt #467724
18 Feb 2013; Naohiro Aota ChangeLog:
Update sign
diff --git a/net-misc/dropbox/dropbox-2.0.8.ebuild b/net-misc/dropbox/dropbox-2.0.8.ebuild
new file mode 100644
index 000000000000..6c46ed675518
--- /dev/null
+++ b/net-misc/dropbox/dropbox-2.0.8.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/dropbox-2.0.8.ebuild,v 1.1 2013/04/29 23:53:57 naota Exp $
+
+EAPI=5
+inherit eutils 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="CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-linux"
+IUSE="+librsync-bundled X"
+RESTRICT="mirror strip"
+
+QA_FLAGS_IGNORED="opt/${PN}/.*"
+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
+ 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-themes/hicolor-icon-theme
+ )
+ app-arch/bzip2
+ dev-libs/popt
+ !librsync-bundled? ( net-libs/librsync )
+ net-misc/wget
+ >=sys-devel/gcc-4.2.0
+ sys-libs/zlib
+"
+
+src_unpack() {
+ unpack ${A}
+ mkdir -p "${S}"
+ mv "${WORKDIR}"/.dropbox-dist/* "${S}" || die
+ rmdir .dropbox-dist
+}
+
+src_prepare() {
+ rm -vf libbz2* libpopt.so.0 libpng12.so.0 || die
+ if use X ; then
+ mv images/hicolor/16x16/status "${T}" || die
+ else
+ rm -vrf *wx* images || die
+ fi
+ if use librsync-bundled ; then
+ patchelf --set-rpath '$ORIGIN' _librsync.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
+
+ newinitd "${FILESDIR}"/dropbox.initd dropbox
+ newconfd "${FILESDIR}"/dropbox.conf dropbox
+
+ dodoc "${T}"/{README,ACKNOWLEDGEMENTS}
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}