summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2015-09-17 14:00:14 +0200
committerChristoph Mende <angelos@gentoo.org>2015-09-17 21:01:01 +0200
commit39144973758f50f4f882092df8d6610f302a4296 (patch)
tree43d4f2d0157b042b69dcf677c254743d88dbd3d3 /dev-dotnet/gio-sharp
parentdev-db/percona-server: Version bump; drop hppa keyword (diff)
downloadgentoo-39144973758f50f4f882092df8d6610f302a4296.tar.gz
gentoo-39144973758f50f4f882092df8d6610f302a4296.tar.bz2
gentoo-39144973758f50f4f882092df8d6610f302a4296.zip
dev-dotnet/gio-sharp: Migrate to mono-env, support gtk-sharp-2.12.21 and mono-4
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-dotnet/gio-sharp')
-rw-r--r--dev-dotnet/gio-sharp/gio-sharp-0.3-r1.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-dotnet/gio-sharp/gio-sharp-0.3-r1.ebuild b/dev-dotnet/gio-sharp/gio-sharp-0.3-r1.ebuild
new file mode 100644
index 00000000000..2bc3816f9ad
--- /dev/null
+++ b/dev-dotnet/gio-sharp/gio-sharp-0.3-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+inherit autotools mono-env
+
+DESCRIPTION="GIO API C# binding"
+HOMEPAGE="https://github.com/mono/gio-sharp"
+SRC_URI="https://github.com/mono/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="|| ( >=dev-dotnet/gtk-sharp-2.12.21 >=dev-dotnet/glib-sharp-2.12 )
+ || ( >=dev-dotnet/gtk-sharp-2.12.21 >=dev-dotnet/gtk-sharp-gapi-2.12 )
+ >=dev-libs/glib-2.22:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ DOCS="AUTHORS NEWS README"
+ mono-env_pkg_setup
+}
+
+src_unpack() {
+ unpack ${A}
+ mv *-${PN}-* "${S}"
+}
+
+src_prepare() {
+ sed -i -e 's/gmcs/mcs/' configure.ac.in || die
+ sed -i -e '/autoreconf/d' autogen-generic.sh || die
+ NOCONFIGURE=1 ./autogen-2.22.sh || die
+
+ eautoreconf
+}
+
+src_compile() {
+ emake -j1
+}