|
@ -5,11 +5,11 @@ TERMUX_PKG_LICENSE="GPL-2.0" |
|
|
# See https://github.com/espeak-ng/espeak-ng/issues/180 |
|
|
# See https://github.com/espeak-ng/espeak-ng/issues/180 |
|
|
# about cross compilation of espeak-ng. |
|
|
# about cross compilation of espeak-ng. |
|
|
TERMUX_PKG_VERSION=1.49.2 |
|
|
TERMUX_PKG_VERSION=1.49.2 |
|
|
TERMUX_PKG_REVISION=2 |
|
|
TERMUX_PKG_REVISION=3 |
|
|
|
|
|
TERMUX_PKG_SRCURL=https://github.com/espeak-ng/espeak-ng/releases/download/${TERMUX_PKG_VERSION}/espeak-ng-${TERMUX_PKG_VERSION}.tar.gz |
|
|
TERMUX_PKG_SHA256=cf7ed86850b99bafe819548c73a6651a74300980dd15f319ff22e2bd72ea20b4 |
|
|
TERMUX_PKG_SHA256=cf7ed86850b99bafe819548c73a6651a74300980dd15f319ff22e2bd72ea20b4 |
|
|
TERMUX_PKG_BREAKS="espeak-dev" |
|
|
TERMUX_PKG_BREAKS="espeak-dev" |
|
|
TERMUX_PKG_REPLACES="espeak-dev" |
|
|
TERMUX_PKG_REPLACES="espeak-dev" |
|
|
TERMUX_PKG_SRCURL=https://github.com/espeak-ng/espeak-ng/releases/download/${TERMUX_PKG_VERSION}/espeak-ng-${TERMUX_PKG_VERSION}.tar.gz |
|
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true |
|
|
TERMUX_PKG_BUILD_IN_SRC=true |
|
|
TERMUX_PKG_HOSTBUILD=true |
|
|
TERMUX_PKG_HOSTBUILD=true |
|
|
TERMUX_PKG_RM_AFTER_INSTALL="lib/*ng-test*" |
|
|
TERMUX_PKG_RM_AFTER_INSTALL="lib/*ng-test*" |
|
@ -40,6 +40,11 @@ termux_step_host_build() { |
|
|
make install |
|
|
make install |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
termux_step_pre_configure() { |
|
|
|
|
|
# Oz flag causes problems. See https://github.com/termux/termux-packages/issues/1680: |
|
|
|
|
|
CFLAGS=${CFLAGS/Oz/Os} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
termux_step_make() { |
|
|
termux_step_make() { |
|
|
# Prevent caching of host build: |
|
|
# Prevent caching of host build: |
|
|
rm -Rf $TERMUX_PKG_HOSTBUILD_DIR |
|
|
rm -Rf $TERMUX_PKG_HOSTBUILD_DIR |
|
|