termux-packages/packages/freetype/build.sh

19 lines
902 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"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
2020-10-18 09:02:24 +02:00
TERMUX_PKG_VERSION=2.10.3
2020-10-18 10:53:30 +02:00
TERMUX_PKG_REVISION=1
2019-07-04 23:01:35 +02:00
TERMUX_PKG_SRCURL=https://download.savannah.gnu.org/releases/freetype/freetype-$TERMUX_PKG_VERSION.tar.xz
2020-10-18 09:02:24 +02:00
TERMUX_PKG_SHA256=c22244bc766b2d8152f22db7370965431dcb1e408260428208c24984f78e6659
2019-04-14 14:51:46 +02:00
TERMUX_PKG_DEPENDS="libbz2, libpng, zlib"
TERMUX_PKG_BREAKS="freetype-dev"
TERMUX_PKG_REPLACES="freetype-dev"
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() {
install -Dm700 freetype-config $TERMUX_PREFIX/bin/freetype-config
install -Dm600 ../src/docs/freetype-config.1 $TERMUX_PREFIX/share/man/man1/freetype-config.1
}