diff options
author | Christoph Mende <angelos@gentoo.org> | 2015-09-17 14:29:14 +0200 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2015-09-17 21:01:03 +0200 |
commit | e4d7d730559127fe4eed2a7ab7936940712309c2 (patch) | |
tree | 9fff72abadb8ebfb1783105ceb67ec059b9690f2 /dev-dotnet/gnome-keyring-sharp | |
parent | dev-dotnet/gio-sharp: Migrate to mono-env, support gtk-sharp-2.12.21 and mono-4 (diff) | |
download | gentoo-e4d7d730559127fe4eed2a7ab7936940712309c2.tar.gz gentoo-e4d7d730559127fe4eed2a7ab7936940712309c2.tar.bz2 gentoo-e4d7d730559127fe4eed2a7ab7936940712309c2.zip |
dev-dotnet/gnome-keyring-sharp: Add support for gtk-sharp-2.12.21 and mono-4
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-dotnet/gnome-keyring-sharp')
-rw-r--r-- | dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.2-r2.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.2-r2.ebuild b/dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.2-r2.ebuild new file mode 100644 index 000000000000..ed50c227acaa --- /dev/null +++ b/dev-dotnet/gnome-keyring-sharp/gnome-keyring-sharp-1.0.2-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils mono-env + +DESCRIPTION="C# implementation of gnome-keyring" +HOMEPAGE="http://www.mono-project.com/ https://github.com/mono/gnome-keyring-sharp" +SRC_URI="http://www.go-mono.com/archive/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +RDEPEND=" + >=dev-lang/mono-2.0 + >=gnome-base/libgnome-keyring-2.30.0 + || ( >=dev-dotnet/gtk-sharp-2.12.21 dev-dotnet/glib-sharp ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + # Disable building samples. + sed -i -e 's:sample::' "${S}"/Makefile.in || die "sed failed" + + # Apply Fedora patches + epatch "${FILESDIR}/${PN}-1.0.2-monodoc-dir.patch" + eautoreconf +} + +src_compile() { + # This dies without telling in docs with anything not -j1 + # CSC=gmcs needed for https://bugs.gentoo.org/show_bug.cgi?id=250069 + # Changed to CSC=mcs for mono-4 compatibility + emake -j1 CSC=mcs +} + +src_install() { + default + prune_libtool_files --modules +} |