aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeather <Heather@live.ru>2015-08-05 21:14:51 +0400
committerHeather <Heather@live.ru>2015-08-05 21:14:51 +0400
commitcc33ec59729ce9d385acbf5bb8c2302d7723f2df (patch)
tree4a75dee558baa7c32305eee06c4722c3f1e3314f /dev-dotnet/gtk-sharp
parentMerge pull request #97 from ArsenShnurkov/gtk-sharp-module.eclass (diff)
downloaddotnet-cc33ec59729ce9d385acbf5bb8c2302d7723f2df.tar.gz
dotnet-cc33ec59729ce9d385acbf5bb8c2302d7723f2df.tar.bz2
dotnet-cc33ec59729ce9d385acbf5bb8c2302d7723f2df.zip
bump gtk sharp to 2.99.3, set csc to mcs
Diffstat (limited to 'dev-dotnet/gtk-sharp')
-rw-r--r--dev-dotnet/gtk-sharp/Manifest1
-rw-r--r--dev-dotnet/gtk-sharp/gtk-sharp-2.99.3.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-dotnet/gtk-sharp/Manifest b/dev-dotnet/gtk-sharp/Manifest
index 1af576e..5920d53 100644
--- a/dev-dotnet/gtk-sharp/Manifest
+++ b/dev-dotnet/gtk-sharp/Manifest
@@ -1,2 +1,3 @@
DIST gtk-sharp-2.12.21.tar.gz 2498480 SHA256 ea02da7000433115dcc008102e0c217479c06d74b2c3af5b76527784f933b088 SHA512 f7f575ec42e1a6d3bdbd9493b06d083d10687b6f5b41eebe1f1e03087c0e3cce79948aa19e9dd88972b023837d48bd02afee719a28b7015a78dccb96f2fee307 WHIRLPOOL e4c375ac3a246aed5412dbfd403f392abf4ad76450916ba11bd233d571de85f7a02d0854ad6387991f60758086a42a11db94604e4feafd0d433768adaf17d44f
DIST gtk-sharp-2.99.1.zip 4108685 SHA256 a0b5f4d444f720f4d1ccb4809276c03e4ed35adde11a180680a53d2c46b62460 SHA512 f283e25c26769e888c9a7fe256d46380f2cb3ab1bfc94a39d387b869c462429201357dddd9c256d0031d155d3d2fd2bd075d443b4d9199a9993da484f36749d7 WHIRLPOOL f44ad90f5b9be1fe00e00149195ecfe026bc74e97d69531fa59b31156dbe0c649bdf26acb46089245a005f20e51222f226edcdcf04ba76aac12e7acedd448e43
+DIST gtk-sharp-2.99.3.zip 3967326 SHA256 98fef2ce8445cfa8196b68d06a6eabaf6326bbb13cdb2c3c4f8a007733d2691c SHA512 2c149456f9beaf41a7d9e47c3a3720fc71484ad18842ffba4c95bb904dc1c53932fbdfd2eba8820c668947b8d4599dd3b5ce73b2584c1194c4dab8991a55c18a WHIRLPOOL acc3ee2176126867cf49f182806ed66e8d5f70026056fae4eb220f292bc0409708385df12fc3e51cd0bac0fa1393d3a6f165cdb5bdfd8169040551e9361ba58d
diff --git a/dev-dotnet/gtk-sharp/gtk-sharp-2.99.3.ebuild b/dev-dotnet/gtk-sharp/gtk-sharp-2.99.3.ebuild
new file mode 100644
index 0000000..3f7c63d
--- /dev/null
+++ b/dev-dotnet/gtk-sharp/gtk-sharp-2.99.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit dotnet autotools base
+
+SLOT="3"
+DESCRIPTION="gtk bindings for mono"
+LICENSE="GPL-2"
+HOMEPAGE="http://www.mono-project.com/GtkSharp"
+KEYWORDS="~amd64 ~x86 ~ppc"
+SRC_URI="https://github.com/mono/${PN}/archive/${PV}.zip -> ${P}.zip"
+IUSE="debug"
+
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-lang/mono-3.0
+ x11-libs/pango
+ >=dev-libs/glib-2.31
+ dev-libs/atk
+ x11-libs/gtk+:3
+ gnome-base/libglade
+ dev-perl/XML-LibXML
+ !dev-dotnet/gtk-sharp-gapi
+ !dev-dotnet/gtk-sharp-docs
+ !dev-dotnet/gtk-dotnet-sharp
+ !dev-dotnet/gdk-sharp
+ !dev-dotnet/glib-sharp
+ !dev-dotnet/glade-sharp
+ !dev-dotnet/pango-sharp
+ !dev-dotnet/atk-sharp"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ sys-devel/automake:1.11"
+
+src_prepare() {
+ base_src_prepare
+ eautoreconf
+ libtoolize
+}
+
+src_configure() {
+ econf CSC=/usr/bin/mcs
+ --disable-static \
+ --disable-dependency-tracking \
+ --disable-maintainer-mode \
+ $(use_enable debug)
+}
+
+src_compile() {
+ emake CSC=/usr/bin/mcs
+}
+
+src_install() {
+ default
+ dotnet_multilib_comply
+ sed -i "s/\\r//g" "${D}"/usr/bin/* || die "sed failed"
+}