2021-02-16 14:00:01 +00:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://abiword.github.io/enchant/
|
2022-07-11 09:44:23 +00:00
|
|
|
TERMUX_PKG_DESCRIPTION="Wraps a number of different spelling libraries and programs with a consistent interface"
|
2021-02-16 14:00:01 +00:00
|
|
|
TERMUX_PKG_LICENSE="LGPL-2.1"
|
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2024-05-04 12:16:09 +00:00
|
|
|
TERMUX_PKG_VERSION="2.7.3"
|
2024-04-20 15:02:56 +00:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/AbiWord/enchant/releases/download/v${TERMUX_PKG_VERSION}/enchant-${TERMUX_PKG_VERSION}.tar.gz
|
2024-05-04 12:16:09 +00:00
|
|
|
TERMUX_PKG_SHA256=fe6ad4cbe8c71b9384ffdef962be52d4d2bd5ebfb6351435bb390543d4f78b1e
|
2021-10-04 10:43:31 +00:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2024-04-22 22:33:16 +00:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-relocatable"
|
2022-04-16 18:37:09 +00:00
|
|
|
TERMUX_PKG_DEPENDS="aspell, glib, hunspell, libc++"
|
2021-02-16 14:00:01 +00:00
|
|
|
|
2022-04-16 18:37:09 +00:00
|
|
|
termux_step_pre_configure() {
|
|
|
|
LDFLAGS+=" $($CC -print-libgcc-file-name)"
|
|
|
|
}
|
2022-12-27 17:39:51 +00:00
|
|
|
|
|
|
|
termux_step_post_massage() {
|
|
|
|
# Do not forget to bump revision of reverse dependencies and rebuild them
|
|
|
|
# after SOVERSION is changed.
|
|
|
|
local _SOVERSION_GUARD_FILES="lib/libenchant-2.so"
|
|
|
|
local f
|
|
|
|
for f in ${_SOVERSION_GUARD_FILES}; do
|
|
|
|
if [ ! -e "${f}" ]; then
|
|
|
|
termux_error_exit "SOVERSION guard check failed."
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
}
|