0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 13:46:16 +00:00
termux-packages/x11-packages/fontforge-gtk/build.sh
Tee KOBAYASHI 43de184b3e *: Remove version specifier for libxml2 in dependency
Effectively reverts commit 0120a4048a66fa3447278e3f2688889895a0c06d.

%ci:no-build
2023-07-02 18:23:39 +09:00

24 lines
913 B
Bash

TERMUX_PKG_HOMEPAGE=https://fontforge.org/
TERMUX_PKG_DESCRIPTION="A free (libre) font editor"
TERMUX_PKG_LICENSE="GPL-3.0, BSD 3-Clause"
TERMUX_PKG_LICENSE_FILE="COPYING.gplv3, LICENSE"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=20230101
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/fontforge/fontforge/releases/download/${TERMUX_PKG_VERSION}/fontforge-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=ca82ec4c060c4dda70ace5478a41b5e7b95eb035fe1c4cf85c48f996d35c60f8
TERMUX_PKG_DEPENDS="freetype, giflib, glib, gtk3, libc++, libcairo, libiconv, libjpeg-turbo, libpng, libtiff, libxml2, pango, readline, woff2, zlib"
TERMUX_PKG_CONFLICTS="fontforge"
TERMUX_PKG_REPLACES="fontforge"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DENABLE_PYTHON_SCRIPTING=OFF
-DENABLE_PYTHON_EXTENSION=OFF
-DENABLE_LIBSPIRO=OFF
-DENABLE_DOCS=OFF
-DMathLib_IS_BUILT_IN=ON
"
termux_step_pre_configure() {
LDFLAGS+=" -lm"
}