From a4e7176a4005830ce8a2709b09066c26a06de255 Mon Sep 17 00:00:00 2001 From: Angelo Compagnucci Date: Wed, 15 Jul 2015 12:50:47 +0200 Subject: [PATCH] package/mono-gtksharp3: new package This patch adds mono gtksharp3 package for mono. Signed-off-by: Angelo Compagnucci Signed-off-by: Thomas Petazzoni --- package/Config.in | 5 +++++ package/mono-gtksharp3/Config.in | 8 ++++++++ package/mono-gtksharp3/mono-gtksharp3.hash | 2 ++ package/mono-gtksharp3/mono-gtksharp3.mk | 17 +++++++++++++++++ 4 files changed, 32 insertions(+) create mode 100644 package/mono-gtksharp3/Config.in create mode 100644 package/mono-gtksharp3/mono-gtksharp3.hash create mode 100644 package/mono-gtksharp3/mono-gtksharp3.mk diff --git a/package/Config.in b/package/Config.in index 5974855559..ddbf18029b 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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 index 0000000000..570b62c3c9 --- /dev/null +++ b/package/mono-gtksharp3/Config.in @@ -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 index 0000000000..4005051b10 --- /dev/null +++ b/package/mono-gtksharp3/mono-gtksharp3.hash @@ -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 index 0000000000..fa63d66975 --- /dev/null +++ b/package/mono-gtksharp3/mono-gtksharp3.mk @@ -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)) -- 2.30.2