From e6b3dc20f5e3c2baad8abcf6836dd5978f4234f2 Mon Sep 17 00:00:00 2001 From: James Knight Date: Thu, 3 Dec 2015 16:36:44 -0500 Subject: [PATCH] atkmm: new package [Thomas: - rename to atkmm - move next to atk in menuconfig - add dependency to libsigc] Signed-off-by: James Knight Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/atkmm/Config.in | 20 ++++++++++++++++++++ package/atkmm/atkmm.hash | 2 ++ package/atkmm/atkmm.mk | 16 ++++++++++++++++ 4 files changed, 39 insertions(+) create mode 100644 package/atkmm/Config.in create mode 100644 package/atkmm/atkmm.hash create mode 100644 package/atkmm/atkmm.mk diff --git a/package/Config.in b/package/Config.in index e6ad109ec0..a3d96cf2f4 100644 --- a/package/Config.in +++ b/package/Config.in @@ -808,6 +808,7 @@ endmenu menu "Graphics" source "package/atk/Config.in" + source "package/atkmm/Config.in" source "package/bullet/Config.in" source "package/cairo/Config.in" source "package/cairomm/Config.in" diff --git a/package/atkmm/Config.in b/package/atkmm/Config.in new file mode 100644 index 0000000000..2091eabeb4 --- /dev/null +++ b/package/atkmm/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_ATKMM + bool "atkmm" + select BR2_PACKAGE_ATK + select BR2_PACKAGE_GLIBMM + select BR2_PACKAGE_LIBSIGC + depends on BR2_INSTALL_LIBSTDCPP # glibmm + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 + depends on BR2_TOOLCHAIN_HAS_THREADS # atk/glibmm -> libglib2 + depends on BR2_USE_MMU # atk/glibmm -> libglib2 + depends on BR2_USE_WCHAR # atk/glibmm -> libglib2 + + help + The atkmm package is a set of C++ bindings for Atk. + + http://www.gtkmm.org/ + +comment "atkmm needs a toolchain w/ C++, wchar, threads, gcc >= 4.8" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_USE_WCHAR \ + || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/atkmm/atkmm.hash b/package/atkmm/atkmm.hash new file mode 100644 index 0000000000..4b3577c88d --- /dev/null +++ b/package/atkmm/atkmm.hash @@ -0,0 +1,2 @@ +# From http://ftp.gnome.org/pub/gnome/sources/atkmm/2.24/atkmm-2.24.2.sha256sum +sha256 ff95385759e2af23828d4056356f25376cfabc41e690ac1df055371537e458bd atkmm-2.24.2.tar.xz diff --git a/package/atkmm/atkmm.mk b/package/atkmm/atkmm.mk new file mode 100644 index 0000000000..2c070f250e --- /dev/null +++ b/package/atkmm/atkmm.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# atkmm +# +################################################################################ + +ATKMM_VERSION_MAJOR = 2.24 +ATKMM_VERSION = $(ATKMM_VERSION_MAJOR).2 +ATKMM_SOURCE = atkmm-$(ATKMM_VERSION).tar.xz +ATKMM_SITE = http://ftp.gnome.org/pub/gnome/sources/atkmm/$(ATKMM_VERSION_MAJOR) +ATKMM_LICENSE = LGPLv2.1+ (library), GPLv2+ (tools) +ATKMM_LICENSE_FILES = COPYING COPYING.tools +ATKMM_INSTALL_STAGING = YES +ATKMM_DEPENDENCIES = atk glibmm libsigc host-pkgconf + +$(eval $(autotools-package)) -- 2.30.2