Bugfix and maintenance release of the font configuration and discovery library.
Changelog: https://gitlab.freedesktop.org/fontconfig/fontconfig/-/blob/2.16.0/NEWS
Signed-off-by: Alexandru Ardelean <redacted>
include $(TOPDIR)/rules.mk
PKG_NAME:=fontconfig
-PKG_VERSION:=2.15.0
+PKG_VERSION:=2.16.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://www.freedesktop.org/software/fontconfig/release/
-PKG_HASH:=63a0658d0e06e0fa886106452b58ef04f21f58202ea02a94c39de0d3335d7c0e
+PKG_HASH:=6a33dc555cc9ba8b10caf7695878ef134eeb36d0af366041f639b1da9b6ed220
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
PKG_LICENSE:=
--- /dev/null
+#!/bin/sh
+
+case "$1" in
+ fontconfig)
+ # Rebuild cache (succeeds even if no fonts are installed)
+ fc-cache 2>/dev/null
+ # List fonts; empty output is valid when no fonts are present
+ fc-list > /dev/null
+ ;;
+esac