2016-12-31 07:38:24 -05: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 14:53:58 +02:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2020-12-20 15:16:34 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-07-21 12:21:09 +03:00
|
|
|
TERMUX_PKG_VERSION=2.11.0
|
2019-07-04 23:01:35 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://download.savannah.gnu.org/releases/freetype/freetype-$TERMUX_PKG_VERSION.tar.xz
|
2021-07-21 12:21:09 +03:00
|
|
|
TERMUX_PKG_SHA256=8bee39bd3968c4804b70614a0a3ad597299ad0e824bc8aad5ce8aaf48067bde7
|
2019-04-14 15:51:46 +03:00
|
|
|
TERMUX_PKG_DEPENDS="libbz2, libpng, zlib"
|
2019-07-20 11:42:33 +03:00
|
|
|
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"
|
2018-05-20 08:16:20 +10:00
|
|
|
# not install these files anymore so install them manually.
|
2019-02-08 17:37:29 +08:00
|
|
|
termux_step_post_make_install() {
|
2019-03-17 22:31:05 +02:00
|
|
|
install -Dm700 freetype-config $TERMUX_PREFIX/bin/freetype-config
|
|
|
|
install -Dm600 ../src/docs/freetype-config.1 $TERMUX_PREFIX/share/man/man1/freetype-config.1
|
2018-05-20 08:16:20 +10:00
|
|
|
}
|
|
|
|
|