package/glibmm2_66: new package

This is the version needed for gtkmm3.

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:44 +00:00 committed by Arnout Vandecappelle
parent 9b07838038
commit 1723771209
6 changed files with 53 additions and 1 deletions

View File

@ -641,6 +641,8 @@ F: package/dacapo/
N: Daniel Lang <d.lang@abatec.at>
F: package/dbus-cxx/
F: package/glibmm/
F: package/glibmm2_66/
F: package/libsigc/
F: package/libsigc2/
F: package/paho-mqtt-cpp/

View File

@ -2037,6 +2037,7 @@ menu "Other"
source "package/gflags/Config.in"
source "package/gli/Config.in"
source "package/glibmm/Config.in"
source "package/glibmm2_66/Config.in"
source "package/glm/Config.in"
source "package/gmp/Config.in"
source "package/gobject-introspection/Config.in"

View File

@ -1,5 +1,5 @@
config BR2_PACKAGE_GLIBMM
bool "glibmm"
bool "glibmm (latest)"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR # libglib2

View File

@ -0,0 +1,21 @@
config BR2_PACKAGE_GLIBMM2_66
bool "glibmm (2.66.x)"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # regex_replace
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR # libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_MMU # libglib2
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBSIGC2
help
The GLibmm package is a set of C++ bindings for GLib.
This is the last version before the API and ABI change
introduced in 2.68.0 which requires C++17.
http://www.gtkmm.org/
comment "glibmm (2.66.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/glibmm/2.66/glibmm-2.66.5.sha256sum
sha256 7b384662dd6ec3b86c0570331d32af05db2bd99a791602b767b4a0b2566ec149 glibmm-2.66.5.tar.xz
# License files, locally calculated
sha256 3ea7fa7c5d9a3a113e950eca9cfb85107f096270d8e4dd99daa9d8abdebc60e7 COPYING
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING.tools

View File

@ -0,0 +1,23 @@
################################################################################
#
# glibmm2_66
#
################################################################################
GLIBMM2_66_VERSION_MAJOR = 2.66
GLIBMM2_66_VERSION = $(GLIBMM2_66_VERSION_MAJOR).5
GLIBMM2_66_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools)
GLIBMM2_66_LICENSE_FILES = COPYING COPYING.tools
GLIBMM2_66_SOURCE = glibmm-$(GLIBMM2_66_VERSION).tar.xz
GLIBMM2_66_SITE = https://download.gnome.org/sources/glibmm/$(GLIBMM2_66_VERSION_MAJOR)
GLIBMM2_66_INSTALL_STAGING = YES
GLIBMM2_66_DEPENDENCIES = libglib2 libsigc2 host-pkgconf
GLIBMM2_66_CONF_OPTS = -Dbuild-examples=false
GLIBMM2_66_CXXFLAGS = $(TARGET_CXXFLAGS)
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
GLIBMM2_66_CXXFLAGS += -O0
endif
$(eval $(meson-package))