package/cairomm1_14: new package

This is the version needed by 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:58 +00:00 committed by Arnout Vandecappelle
parent 1a0f75f77b
commit cd68e89c6c
6 changed files with 45 additions and 1 deletions

View File

@ -642,6 +642,8 @@ F: package/dacapo/
N: Daniel Lang <d.lang@abatec.at>
F: package/atkmm/
F: package/atkmm2_28/
F: package/cairomm/
F: package/cairomm1_14/
F: package/dbus-cxx/
F: package/glibmm/
F: package/glibmm2_66/

View File

@ -1561,6 +1561,7 @@ menu "Graphics"
source "package/bullet/Config.in"
source "package/cairo/Config.in"
source "package/cairomm/Config.in"
source "package/cairomm1_14/Config.in"
source "package/chipmunk/Config.in"
source "package/exempi/Config.in"
source "package/exiv2/Config.in"

View File

@ -1,5 +1,5 @@
config BR2_PACKAGE_CAIROMM
bool "cairomm"
bool "cairomm (latest)"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_WCHAR # libglib2

View File

@ -0,0 +1,22 @@
config BR2_PACKAGE_CAIROMM1_14
bool "cairomm (1.14.x)"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_WCHAR # libglib2
depends on BR2_USE_MMU # libglib2
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_CAIRO
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBSIGC2
help
The cairomm package is a set of C++ bindings for Cairo.
This is the last version before the API and ABI change
introduced in 1.16.0 which requires C++17.
http://www.gtkmm.org/
comment "cairomm (1.14.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_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP

View File

@ -0,0 +1,3 @@
# Locally computed
sha256 ee12b920b2d47cea1b6e20c367690d726eb22b4ca9fc711db329d03adcc0c8e0 cairomm-1.14.4.tar.gz
sha256 bfe4a52dc4645385f356a8e83cc54216a293e3b6f1cb4f79f5fc0277abf937fd COPYING

View File

@ -0,0 +1,16 @@
################################################################################
#
# cairomm1_14
#
################################################################################
CAIROMM1_14_VERSION = 1.14.4
CAIROMM1_14_LICENSE = LGPL-2.0+
CAIROMM1_14_LICENSE_FILES = COPYING
CAIROMM1_14_SOURCE = cairomm-$(CAIROMM1_14_VERSION).tar.gz
CAIROMM1_14_SITE = https://gitlab.freedesktop.org/cairo/cairomm/-/archive/$(CAIROMM1_14_VERSION)
CAIROMM1_14_INSTALL_STAGING = YES
CAIROMM1_14_DEPENDENCIES = cairo libglib2 libsigc2 host-pkgconf
CAIROMM1_14_CONF_OPTS = -Dbuild-examples=false -Dbuild-tests=false
$(eval $(meson-package))