initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
config BR2_PACKAGE_PANGO
|
||||
bool "pango"
|
||||
depends on BR2_USE_WCHAR # glib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
|
||||
depends on BR2_USE_MMU # glib2
|
||||
depends on BR2_INSTALL_LIBSTDCPP # freetype support
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # harfbuzz
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # harfbuzz
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
select BR2_PACKAGE_LIBFRIBIDI
|
||||
select BR2_PACKAGE_EXPAT
|
||||
select BR2_PACKAGE_CAIRO
|
||||
select BR2_PACKAGE_FONTCONFIG
|
||||
select BR2_PACKAGE_FREETYPE
|
||||
select BR2_PACKAGE_HARFBUZZ
|
||||
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
|
||||
help
|
||||
Pango is a library for laying out and rendering of text,
|
||||
with an emphasis on internationalization. Pango can be used
|
||||
anywhere that text layout is needed, though most of the work
|
||||
on Pango so far has been done in the context of the GTK+
|
||||
widget toolkit. Pango forms the core of text and font
|
||||
handling for GTK+-2.x.
|
||||
|
||||
https://pango.gnome.org/
|
||||
|
||||
comment "pango needs a toolchain w/ wchar, threads, C++, gcc >= 4.8"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
|
||||
!BR2_INSTALL_LIBSTDCPP
|
||||
@@ -0,0 +1,5 @@
|
||||
# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.48/pango-1.48.10.sha256sum
|
||||
sha256 21e1f5798bcdfda75eabc4280514b0896ab56f656d4e7e66030b9a2535ecdc98 pango-1.48.10.tar.xz
|
||||
|
||||
# Locally computed
|
||||
sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING
|
||||
@@ -0,0 +1,53 @@
|
||||
################################################################################
|
||||
#
|
||||
# pango
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PANGO_VERSION_MAJOR = 1.48
|
||||
PANGO_VERSION = $(PANGO_VERSION_MAJOR).10
|
||||
PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz
|
||||
PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR)
|
||||
PANGO_INSTALL_STAGING = YES
|
||||
PANGO_LICENSE = LGPL-2.0+
|
||||
PANGO_LICENSE_FILES = COPYING
|
||||
PANGO_CPE_ID_VENDOR = pango
|
||||
|
||||
PANGO_CONF_OPTS = -Dfontconfig=enabled
|
||||
HOST_PANGO_CONF_OPTS = -Dfontconfig=enabled -Dintrospection=disabled
|
||||
|
||||
PANGO_DEPENDENCIES = \
|
||||
$(TARGET_NLS_DEPENDENCIES) \
|
||||
host-pkgconf \
|
||||
libglib2 \
|
||||
libfribidi \
|
||||
cairo \
|
||||
harfbuzz \
|
||||
fontconfig \
|
||||
freetype
|
||||
HOST_PANGO_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
host-libglib2 \
|
||||
host-libfribidi \
|
||||
host-cairo \
|
||||
host-harfbuzz \
|
||||
host-fontconfig \
|
||||
host-freetype
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
|
||||
PANGO_CONF_OPTS += -Dintrospection=enabled
|
||||
PANGO_DEPENDENCIES += gobject-introspection
|
||||
else
|
||||
PANGO_CONF_OPTS += -Dintrospection=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XORG7),y)
|
||||
PANGO_DEPENDENCIES += xlib_libX11
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_XLIB_LIBXFT)$(BR2_PACKAGE_XLIB_LIBXRENDER),yy)
|
||||
PANGO_DEPENDENCIES += xlib_libXft xlib_libXrender
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
$(eval $(host-meson-package))
|
||||
Reference in New Issue
Block a user