termux-packages/packages/freetype/build.sh

17 lines
864 B
Bash
Raw Normal View History

2016-12-31 13:38:24 +01:00
TERMUX_PKG_HOMEPAGE=https://www.freetype.org
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DESCRIPTION="Software font engine capable of producing high-quality output"
2018-05-13 19:24:09 +02:00
TERMUX_PKG_VERSION=2.9.1
TERMUX_PKG_SHA256=db8d87ea720ea9d5edc5388fc7a0497bb11ba9fe972245e0f7f4c7e8b1e1e84d
2016-12-31 13:38:24 +01:00
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/freetype/freetype2/${TERMUX_PKG_VERSION}/freetype-${TERMUX_PKG_VERSION}.tar.bz2
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DEPENDS="libbz2, libpng"
TERMUX_PKG_REVISION=1
2017-08-07 22:25:29 +02:00
TERMUX_PKG_INCLUDE_IN_DEVPACKAGE="bin/freetype-config share/man/man1/freetype-config.1"
2015-06-13 01:03:31 +02:00
# 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/
}