parent
674e829410
commit
6a5cf54263
|
@ -13,6 +13,22 @@ TERMUX_PKG_BREAKS="opusfile-dev"
|
|||
TERMUX_PKG_REPLACES="opusfile-dev"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-http"
|
||||
|
||||
termux_step_post_get_source() {
|
||||
# Do not forget to bump revision of reverse dependencies and rebuild them
|
||||
# after SOVERSION is changed.
|
||||
local _SOVERSION=0
|
||||
|
||||
local a
|
||||
for a in LT_CURRENT LT_AGE; do
|
||||
local _${a}=$(sed -En 's/^OP_'"${a}"'=([0-9]+).*/\1/p' \
|
||||
configure.ac)
|
||||
done
|
||||
local v=$(( _LT_CURRENT - _LT_AGE ))
|
||||
if [ ! "${_LT_CURRENT}" ] || [ "${v}" != "${_SOVERSION}" ]; then
|
||||
termux_error_exit "SOVERSION guard check failed."
|
||||
fi
|
||||
}
|
||||
|
||||
termux_step_pre_configure() {
|
||||
echo "PACKAGE_VERSION=$TERMUX_PKG_VERSION" > package_version
|
||||
./autogen.sh
|
||||
|
|
Loading…
Reference in New Issue