1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="3.*"
9 PYTHON_DEPEND="python? 2:2.5"
11 inherit mono python autotools eutils multilib
13 DESCRIPTION="Ubuntu One GTK integration widgets"
14 HOMEPAGE="https://launchpad.net/libubuntuone"
15 SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
19 KEYWORDS="~amd64 ~x86"
20 IUSE="doc mono python"
23 dev-dotnet/gtk-sharp:2
24 dev-dotnet/gtk-sharp-gapi:2
32 dev-python/pygobject:2
36 gnome-base/gnome-keyring
37 gnome-extra/evolution-data-server
38 net-libs/libsoup-gnome:2.4
42 app-text/gnome-doc-utils
49 epatch "${FILESDIR}"/libubuntuone-optional-bindings.patch
58 $(use_enable doc gtk-doc) \
59 $(use_enable mono mono-binding) \
60 $(use_enable python python-binding)
62 python_execute_function -s do_src_configure
67 emake || die "emake failed"
69 python_execute_function -s do_src_compile
74 emake DESTDIR="${D}" install || die "install failed"
76 python_execute_function -s do_src_install
77 use mono && egacinstall "${D}"/usr/$(get_libdir)/mono/ubuntuone-sharp-1.0/ubuntuone-sharp.dll