17 lines
871 B
Bash
17 lines
871 B
Bash
TERMUX_PKG_HOMEPAGE=https://www.freetype.org
|
|
TERMUX_PKG_DESCRIPTION="Software font engine capable of producing high-quality output"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_VERSION=2.10.0
|
|
TERMUX_PKG_SHA256=fccc62928c65192fff6c98847233b28eb7ce05f12d2fea3f6cc90e8b4e5fbe06
|
|
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/freetype/freetype2/${TERMUX_PKG_VERSION}/freetype-${TERMUX_PKG_VERSION}.tar.bz2
|
|
TERMUX_PKG_DEPENDS="libbz2, libpng"
|
|
TERMUX_PKG_INCLUDE_IN_DEVPACKAGE="bin/freetype-config share/man/man1/freetype-config.1"
|
|
# Use with-harfbuzz=no to avoid circular dependency between freetype and harfbuzz:
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-harfbuzz=no"
|
|
# not install these files anymore so install them manually.
|
|
termux_step_post_make_install() {
|
|
cp freetype-config $TERMUX_PREFIX/bin
|
|
cp ../src/docs/freetype-config.1 $TERMUX_PREFIX/share/man/man1/
|
|
}
|
|
|