atkmm: new package

[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>
This commit is contained in:
James Knight 2015-12-03 16:36:44 -05:00 committed by Thomas Petazzoni
parent 9ccc5e9433
commit e6b3dc20f5
4 changed files with 39 additions and 0 deletions

View 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"

20
package/atkmm/Config.in Normal file
View File

@ -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

2
package/atkmm/atkmm.hash Normal file
View File

@ -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

16
package/atkmm/atkmm.mk Normal file
View File

@ -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))