package/pangomm2_46: 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>
2023.02.x
Lang Daniel 2023-02-24 08:43:02 +00:00 committed by Arnout Vandecappelle
parent cd68e89c6c
commit f91661108d
6 changed files with 50 additions and 1 deletions

View File

@ -650,6 +650,8 @@ F: package/glibmm2_66/
F: package/libsigc/
F: package/libsigc2/
F: package/paho-mqtt-cpp/
F: package/pangomm/
F: package/pangomm2_46/
N: Damien Lanson <damien@kal-host.com>
F: package/libvdpau/

View File

@ -1635,6 +1635,7 @@ menu "Graphics"
source "package/openjpeg/Config.in"
source "package/pango/Config.in"
source "package/pangomm/Config.in"
source "package/pangomm2_46/Config.in"
source "package/pixman/Config.in"
source "package/poppler/Config.in"
source "package/powervr/Config.in"

View File

@ -1,5 +1,5 @@
config BR2_PACKAGE_PANGOMM
bool "pangomm"
bool "pangomm (latest)"
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
depends on BR2_INSTALL_LIBSTDCPP # glibmm/pango
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc

View File

@ -0,0 +1,25 @@
config BR2_PACKAGE_PANGOMM2_46
bool "pangomm (2.46.x)"
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz
depends on BR2_INSTALL_LIBSTDCPP # glibmm/pango
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
depends on BR2_TOOLCHAIN_HAS_THREADS # *mm/pango -> libglib2
depends on BR2_USE_MMU # *mm/pango -> libglib2
depends on BR2_USE_WCHAR # *mm/pango -> libglib2
select BR2_PACKAGE_CAIROMM1_14
select BR2_PACKAGE_GLIBMM2_66
select BR2_PACKAGE_PANGO
select BR2_PACKAGE_LIBSIGC2
help
The pangomm package is a set of C++ bindings for Pango.
This is the last version before the API and ABI change
introduced in 2.48.0 which requires C++17.
http://www.gtkmm.org/
comment "pangomm (2.46.x) needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_4
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/pangomm/2.46/pangomm-2.46.3.sha256sum
sha256 410fe04d471a608f3f0273d3a17d840241d911ed0ff2c758a9859c66c6f24379 pangomm-2.46.3.tar.xz
# Locally computed
sha256 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509 COPYING
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING.tools

View File

@ -0,0 +1,16 @@
################################################################################
#
# pangomm2_46
#
################################################################################
PANGOMM2_46_VERSION_MAJOR = 2.46
PANGOMM2_46_VERSION = $(PANGOMM2_46_VERSION_MAJOR).3
PANGOMM2_46_SOURCE = pangomm-$(PANGOMM2_46_VERSION).tar.xz
PANGOMM2_46_SITE = https://download.gnome.org/sources/pangomm/$(PANGOMM2_46_VERSION_MAJOR)
PANGOMM2_46_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools)
PANGOMM2_46_LICENSE_FILES = COPYING COPYING.tools
PANGOMM2_46_INSTALL_STAGING = YES
PANGOMM2_46_DEPENDENCIES = glibmm2_66 cairomm1_14 libsigc2 pango host-pkgconf
$(eval $(meson-package))