freetype: update to 2.13.0.

This commit is contained in:
mhmdanas 2023-03-31 21:47:45 +01:00 committed by Duncan Overbruck
parent 32d77ad086
commit 1bd3280fdf

View file

@ -1,7 +1,7 @@
# Template file for 'freetype'
pkgname=freetype
version=2.12.1
revision=2
version=2.13.0
revision=1
build_style=gnu-configure
configure_args="--enable-freetype-config"
hostmakedepends="pkg-config"
@ -10,8 +10,10 @@ short_desc="Font rendering engine and library API"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, FTL"
homepage="https://www.freetype.org/"
distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=4766f20157cc4cf0cd292f80bf917f92d1c439b243ac3018debf6b9140c41a7f
# Should be using NONGNU_SITE instead, but that often redirects to outdated
# mirrors, causing fetching the distfile to fail.
distfiles="https://download-mirror.savannah.gnu.org/releases/freetype/freetype-${version}.tar.xz"
checksum=5ee23abd047636c24b2d43c6625dcafc66661d1aca64dec9e0d05df29592624c
post_patch() {
vsed -i -e "s/%PKG_CONFIG%/pkg-config/" builds/unix/freetype-config.in