package/mono-gtksharp3: new package
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>
Wed, 15 Jul 2015 10:50:47 +0000 (12:50 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 18 Jul 2015 20:26:04 +0000 (22:26 +0200)
This patch adds mono gtksharp3 package for mono.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/mono-gtksharp3/Config.in [new file with mode: 0644]
package/mono-gtksharp3/mono-gtksharp3.hash [new file with mode: 0644]
package/mono-gtksharp3/mono-gtksharp3.mk [new file with mode: 0644]

index 597485555993c0507fcc97042521a39f8902f0c5..ddbf18029b7a3daf5f53ba9649ba115f436a0c82 100644 (file)
@@ -509,6 +509,11 @@ endif
        source "package/lutok/Config.in"
        source "package/moarvm/Config.in"
        source "package/mono/Config.in"
+if BR2_PACKAGE_MONO
+menu "Mono libraries/modules"
+       source "package/mono-gtksharp3/Config.in"
+endmenu
+endif
        source "package/nodejs/Config.in"
        source "package/perl/Config.in"
 if BR2_PACKAGE_PERL
diff --git a/package/mono-gtksharp3/Config.in b/package/mono-gtksharp3/Config.in
new file mode 100644 (file)
index 0000000..570b62c
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_MONO_GTKSHARP3
+       bool "gtk# 3"
+       depends on BR2_PACKAGE_LIBGTK3
+       help
+         Gtk# is a .NET language binding for the GTK+ toolkit.
+         This package provides version 3 of the bindings.
+
+         http://www.mono-project.com/docs/gui/gtksharp/
diff --git a/package/mono-gtksharp3/mono-gtksharp3.hash b/package/mono-gtksharp3/mono-gtksharp3.hash
new file mode 100644 (file)
index 0000000..4005051
--- /dev/null
@@ -0,0 +1,2 @@
+# sha256 from https://download.gnome.org/sources/gtk-sharp/2.99/gtk-sharp-2.99.3.sha256sum
+sha256 6440f571416267ae0cb5698071d087b31e3084693fa2c829b1db37ca7ea2c3a2        gtk-sharp-2.99.3.tar.xz
diff --git a/package/mono-gtksharp3/mono-gtksharp3.mk b/package/mono-gtksharp3/mono-gtksharp3.mk
new file mode 100644 (file)
index 0000000..fa63d66
--- /dev/null
@@ -0,0 +1,17 @@
+################################################################################
+#
+# gtksharp3
+#
+################################################################################
+
+MONO_GTKSHARP3_VERSION_MAJOR = 2.99
+MONO_GTKSHARP3_VERSION = $(MONO_GTKSHARP3_VERSION_MAJOR).3
+MONO_GTKSHARP3_SITE = http://ftp.gnome.org/pub/gnome/sources/gtk-sharp/$(MONO_GTKSHARP3_VERSION_MAJOR)/
+MONO_GTKSHARP3_SOURCE = gtk-sharp-$(MONO_GTKSHARP3_VERSION).tar.xz
+MONO_GTKSHARP3_LICENSE = LGPLv2, MIT (cairo)
+MONO_GTKSHARP3_LICENSE_FILES = COPYING
+MONO_GTKSHARP3_INSTALL_STAGING = YES
+MONO_GTKSHARP3_DEPENDENCIES = mono libgtk3
+MONO_GTKSHARP3_CONF_OPTS += CSC=$(HOST_DIR)/usr/bin/mcs
+
+$(eval $(autotools-package))