From 1d8c988bc94f94a0a4e296f1520396735d928fc1 Mon Sep 17 00:00:00 2001 From: nmenegale Date: Wed, 24 Apr 2013 05:11:22 +0000 Subject: [PATCH] glibmm: new package MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit [Peter: fixup white space] Signed-off-by: Nicolas Ménégale Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/glibmm/Config.in | 13 +++++++++++++ package/glibmm/glibmm.mk | 17 +++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 package/glibmm/Config.in create mode 100644 package/glibmm/glibmm.mk diff --git a/package/Config.in b/package/Config.in index ab514c7e48..ca947d9f5a 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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 index 0000000000..cd4ac01fa1 --- /dev/null +++ b/package/glibmm/Config.in @@ -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 index 0000000000..abd8b6cebd --- /dev/null +++ b/package/glibmm/glibmm.mk @@ -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)) -- 2.30.2