Files
Daniel Golle 0b52d667b8 pango: update to 1.56.4
Overview of changes in 1.56.4, 27-06-2025:

 * fontconfig: Improve the add_font_file implementation
 * fontconfig: Combine font features and style variants
 * fontconfig: Make sure font faces stay alive
 * win32: Drop some caching
 * win32: Make sure font faces stay alive
 * win32: Modernize and simplify the code
 * win32: Stop synthesizing fonts
 * win32: Implement list models
 * coretext: Support synthetic small caps
 * layout: Avoid assertions in line breaking
 * build: Require GLib 2.82

Link: https://gitlab.gnome.org/GNOME/pango/-/raw/1.56.4/NEWS
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-05-13 23:10:30 +01:00

58 lines
1.4 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=pango
PKG_VERSION:=1.56.4
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/$(basename $(PKG_VERSION))
PKG_HASH:=17065e2fcc5f5a5bdbffc884c956bfc7c451a96e8c4fb2f8ad837c6413cb5a01
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
PKG_LICENSE:=LGPL-2.0-or-later
PKG_LICENSE_FILES:=COPYING
PKG_CPE_ID:=cpe:/a:gnome:pango
PKG_BUILD_DEPENDS:=glib2/host
PKG_INSTALL:=1
PKG_FORTIFY_SOURCE:=0
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
include $(INCLUDE_DIR)/meson.mk
define Package/libpango
SECTION:=libs
CATEGORY:=Libraries
SUBMENU:=Video
TITLE:=libpango
URL:=https://www.pango.org/
DEPENDS:=+glib2 +fribidi +harfbuzz +libcairo $(ICONV_DEPENDS) $(INTL_DEPENDS)
endef
MESON_ARGS += \
-Dintrospection=disabled \
-Dgtk_doc=false \
-Dsysprof=disabled
define package/libpango/decription
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/include/pango-1.0/pango
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/pango-1.0/pango/*.h $(1)/usr/include/pango-1.0/pango/
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig/
endef
define Package/libpango/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libpango))