glibmm: new package
authornmenegale <nicolas.menegale@openwide.fr>
Wed, 24 Apr 2013 05:11:22 +0000 (05:11 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 24 Apr 2013 19:42:59 +0000 (21:42 +0200)
[Peter: fixup white space]
Signed-off-by: Nicolas Ménégale <nicolas.menegale@openwide.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/glibmm/Config.in [new file with mode: 0644]
package/glibmm/glibmm.mk [new file with mode: 0644]

index ab514c7e483d42fd616b79cf561b31f892c4beff..ca947d9f5af90294bc5501032439008ce4722b61 100644 (file)
@@ -561,6 +561,7 @@ source "package/fftw/Config.in"
 source "package/libargtable2/Config.in"
 source "package/argp-standalone/Config.in"
 source "package/boost/Config.in"
+source "package/glibmm/Config.in"
 source "package/gmp/Config.in"
 source "package/gsl/Config.in"
 source "package/gtest/Config.in"
diff --git a/package/glibmm/Config.in b/package/glibmm/Config.in
new file mode 100644 (file)
index 0000000..cd4ac01
--- /dev/null
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_GLIBMM
+       bool "glibmm"
+       select BR2_PACKAGE_LIBGLIB2
+       select BR2_PACKAGE_LIBSIGC
+       depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_USE_WCHAR
+       help
+         The GLibmm package is a set of C++ bindings for GLib.
+
+         http://www.gtkmm.org/
+
+comment "glibmm requires a toolchain with C++ & WCHAR support enabled"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
diff --git a/package/glibmm/glibmm.mk b/package/glibmm/glibmm.mk
new file mode 100644 (file)
index 0000000..abd8b6c
--- /dev/null
@@ -0,0 +1,17 @@
+#############################################################
+#
+# Glibmm
+#
+#############################################################
+
+GLIBMM_VERSION_MAJOR = 2.30
+GLIBMM_VERSION_MINOR = 1
+GLIBMM_VERSION = $(GLIBMM_VERSION_MAJOR).$(GLIBMM_VERSION_MINOR)
+GLIBMM_LICENSE = LGPLv2.1+ (library), GPLv2+ (tools)
+GLIBMM_LICENSE_FILES = COPYING COPYING.tools
+GLIBMM_SOURCE = glibmm-$(GLIBMM_VERSION).tar.xz
+GLIBMM_SITE = http://ftp.gnome.org/pub/gnome/sources/glibmm/$(GLIBMM_VERSION_MAJOR)
+GLIBMM_INSTALL_STAGING = YES
+GLIBMM_DEPENDENCIES = libglib2 libsigc host-pkgconf
+
+$(eval $(autotools-package))