atkmm: new package
authorJames Knight <james.knight@rockwellcollins.com>
Thu, 3 Dec 2015 21:36:44 +0000 (16:36 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 16 Dec 2015 22:06:03 +0000 (23:06 +0100)
[Thomas:
 - rename to atkmm
 - move next to atk in menuconfig
 - add dependency to libsigc]

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/atkmm/Config.in [new file with mode: 0644]
package/atkmm/atkmm.hash [new file with mode: 0644]
package/atkmm/atkmm.mk [new file with mode: 0644]

index e6ad109ec01ba76599118b5fd9dc1bc13d7c88ec..a3d96cf2f4ae3947d0ebbf15fa19fc4a19fce5f9 100644 (file)
@@ -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 (file)
index 0000000..2091eab
--- /dev/null
@@ -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 (file)
index 0000000..4b3577c
--- /dev/null
@@ -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 (file)
index 0000000..2c070f2
--- /dev/null
@@ -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))