parent
cd2e6498f6
commit
41946a0b56
|
@ -10,6 +10,22 @@ TERMUX_PKG_AUTO_UPDATE=true
|
|||
TERMUX_PKG_DEPENDS="libc++"
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-sherlock265 --disable-arm --disable-encoder"
|
||||
|
||||
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 CURRENT AGE; do
|
||||
local _LT_${a}=$(sed -En 's/^LIBDE265_'"${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() {
|
||||
autoreconf -fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue