X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/379db8b623ff6ea109b7f0e7a3c72abe09eb6b98..79191bb30c8f62fb094e054943a27e272074c130:/packages/fontconfig/build.sh diff --git a/packages/fontconfig/build.sh b/packages/fontconfig/build.sh index afc465ca..42a43bca 100644 --- a/packages/fontconfig/build.sh +++ b/packages/fontconfig/build.sh @@ -1,7 +1,20 @@ -TERMUX_PKG_HOMEPAGE=http://www.freedesktop.org/wiki/Software/fontconfig/ +TERMUX_PKG_HOMEPAGE=https://www.freedesktop.org/wiki/Software/fontconfig/ TERMUX_PKG_DESCRIPTION="Library for configuring and customizing font access" -TERMUX_PKG_VERSION=2.11.1 -TERMUX_PKG_BUILD_REVISION=2 -TERMUX_PKG_SRCURL=http://www.freedesktop.org/software/fontconfig/release/fontconfig-${TERMUX_PKG_VERSION}.tar.bz2 -TERMUX_PKG_DEPENDS="freetype, libxml2" -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-libxml2 --enable-iconv=no --disable-docs --with-default-fonts=/system/fonts --with-add-fonts=$TERMUX_PREFIX/share/fonts" +TERMUX_PKG_VERSION=2.12.4 +TERMUX_PKG_SHA256=668293fcc4b3c59765cdee5cee05941091c0879edcc24dfec5455ef83912e45c +TERMUX_PKG_SRCURL=https://www.freedesktop.org/software/fontconfig/release/fontconfig-${TERMUX_PKG_VERSION}.tar.bz2 +TERMUX_PKG_DEPENDS="freetype, libxml2, libpng" +TERMUX_PKG_DEVPACKAGE_DEPENDS="freetype-dev" +# TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" +--enable-libxml2 +--enable-iconv=no +--disable-docs +--with-default-fonts=/system/fonts +--with-add-fonts=$TERMUX_PREFIX/share/fonts +" + +termux_step_pre_configure() { + # https://bugs.freedesktop.org/show_bug.cgi?id=101280 + rm src/fcobjshash.h +}