package/atkmm2_28: new package

This is the version needed for gtkmm3.

Note that 2.28 is indeed the latest version before 2.36. They skipped
versions 2.30, 2.32 and 2.34.

Signed-off-by: Daniel Lang <d.lang@abatec.at>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
Lang Daniel 2023-02-24 08:42:52 +00:00 committed by Arnout Vandecappelle
parent 1723771209
commit 1a0f75f77b
6 changed files with 48 additions and 1 deletions

View File

@ -640,6 +640,8 @@ N: Daniel J. Leach <dleach@belcan.com>
F: package/dacapo/
N: Daniel Lang <d.lang@abatec.at>
F: package/atkmm/
F: package/atkmm2_28/
F: package/dbus-cxx/
F: package/glibmm/
F: package/glibmm2_66/

View File

@ -1556,6 +1556,7 @@ menu "Graphics"
source "package/at-spi2-core/Config.in"
source "package/atk/Config.in"
source "package/atkmm/Config.in"
source "package/atkmm2_28/Config.in"
source "package/bayer2rgb-neon/Config.in"
source "package/bullet/Config.in"
source "package/cairo/Config.in"

View File

@ -1,5 +1,5 @@
config BR2_PACKAGE_ATKMM
bool "atkmm"
bool "atkmm (latest)"
depends on BR2_INSTALL_LIBSTDCPP # glibmm
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc
depends on BR2_TOOLCHAIN_HAS_THREADS # atk/glibmm -> libglib2

View File

@ -0,0 +1,23 @@
config BR2_PACKAGE_ATKMM2_28
bool "atkmm (2.28.x)"
depends on BR2_INSTALL_LIBSTDCPP # glibmm
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # 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
select BR2_PACKAGE_ATK
select BR2_PACKAGE_GLIBMM2_66
select BR2_PACKAGE_LIBSIGC2
help
The atkmm package is a set of C++ bindings for Atk.
This is the last version before the API and ABI change
introduced in 2.36.0 which requires C++17.
http://www.gtkmm.org/
comment "atkmm (2.28.x) needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS

View File

@ -0,0 +1,5 @@
# From https://download.gnome.org/sources/atkmm/2.28/atkmm-2.28.3.sha256sum
sha256 7c2088b486a909be8da2b18304e56c5f90884d1343c8da7367ea5cd3258b9969 atkmm-2.28.3.tar.xz
# locally computed
sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING.tools

View File

@ -0,0 +1,16 @@
################################################################################
#
# atkmm2_28
#
################################################################################
ATKMM2_28_VERSION_MAJOR = 2.28
ATKMM2_28_VERSION = $(ATKMM2_28_VERSION_MAJOR).3
ATKMM2_28_SOURCE = atkmm-$(ATKMM2_28_VERSION).tar.xz
ATKMM2_28_SITE = https://download.gnome.org/sources/atkmm/$(ATKMM2_28_VERSION_MAJOR)
ATKMM2_28_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools)
ATKMM2_28_LICENSE_FILES = COPYING COPYING.tools
ATKMM2_28_INSTALL_STAGING = YES
ATKMM2_28_DEPENDENCIES = atk glibmm2_66 libsigc2 host-pkgconf
$(eval $(meson-package))