From 454f297723462109643753336eddc958d60d861f Mon Sep 17 00:00:00 2001 From: Maxim Koltsov Date: Fri, 14 May 2010 19:06:29 +0000 Subject: x11-libs/libubuntuone: New Ebuild for bug 319063 svn path=/sunrise/; revision=10555 --- x11-libs/libubuntuone/libubuntuone-0.3.1.ebuild | 78 +++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 x11-libs/libubuntuone/libubuntuone-0.3.1.ebuild (limited to 'x11-libs/libubuntuone/libubuntuone-0.3.1.ebuild') diff --git a/x11-libs/libubuntuone/libubuntuone-0.3.1.ebuild b/x11-libs/libubuntuone/libubuntuone-0.3.1.ebuild new file mode 100644 index 000000000..5b3eeda27 --- /dev/null +++ b/x11-libs/libubuntuone/libubuntuone-0.3.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +PYTHON_DEPEND="python? 2:2.5" + +inherit mono python autotools eutils multilib + +DESCRIPTION="Ubuntu One GTK integration widgets" +HOMEPAGE="https://launchpad.net/libubuntuone" +SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc mono python" + +RDEPEND="mono? ( + dev-dotnet/gtk-sharp:2 + dev-dotnet/gtk-sharp-gapi:2 + dev-lang/mono + ) + dev-libs/dbus-glib + dev-libs/glib:2 + dev-libs/libxml2 + dev-libs/openssl + python? ( + dev-python/pygobject + dev-python/pygtk:2 + ) + gnome-base/gconf:2 + gnome-base/gnome-keyring + gnome-extra/evolution-data-server + net-libs/libsoup-gnome:2.4 + net-libs/webkit-gtk" + +DEPEND="doc? ( + app-text/gnome-doc-utils + dev-util/gtk-doc + ) + dev-util/intltool + ${RDEPEND}" + +src_prepare(){ + epatch "${FILESDIR}"/libubuntuone-optional-bindings.patch + eautoreconf + python_copy_sources +} + +src_configure(){ + do_src_configure() + { + econf \ + $(use_enable doc gtk-doc) \ + $(use_enable mono mono-binding) \ + $(use_enable python python-binding) + } + python_execute_function -s do_src_configure +} + +src_compile() { + do_src_compile() { + emake || die "emake failed" + } + python_execute_function -s do_src_compile +} + +src_install() { + do_src_install() { + emake DESTDIR="${D}" install || die "install failed" + } + python_execute_function -s do_src_install + use mono && egacinstall "${D}"/usr/$(get_libdir)/mono/ubuntuone-sharp-1.0/ubuntuone-sharp.dll +} -- cgit v1.2.3-65-gdbad