2020-08-28 15:43:07 +00:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://libimobiledevice.org
|
2022-07-11 09:44:23 +00:00
|
|
|
TERMUX_PKG_DESCRIPTION="A small portable C library to handle Apple Property List files in binary or XML format"
|
2022-03-19 07:10:18 +00:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0, LGPL-2.1"
|
|
|
|
TERMUX_PKG_LICENSE_FILE="COPYING, COPYING.LESSER"
|
2020-12-20 13:16:34 +00:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2023-05-01 06:51:48 +00:00
|
|
|
TERMUX_PKG_VERSION=2.3.0
|
|
|
|
TERMUX_PKG_SRCURL=https://github.com/libimobiledevice/libplist/releases/download/${TERMUX_PKG_VERSION}/libplist-${TERMUX_PKG_VERSION}.tar.bz2
|
|
|
|
TERMUX_PKG_SHA256=4e8580d3f39d3dfa13cefab1a13f39ea85c4b0202e9305c5c8f63818182cac61
|
2021-10-04 10:43:31 +00:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2022-03-19 07:10:18 +00:00
|
|
|
TERMUX_PKG_DEPENDS="libc++"
|
2023-05-01 06:51:48 +00:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--without-cython
|
|
|
|
"
|
2020-08-28 15:43:07 +00:00
|
|
|
|
2022-12-29 17:01:13 +00:00
|
|
|
termux_step_post_get_source() {
|
|
|
|
# Do not forget to bump revision of reverse dependencies and rebuild them
|
|
|
|
# after SOVERSION is changed.
|
2023-05-01 06:51:48 +00:00
|
|
|
local _SOVERSION=4
|
2022-12-29 17:01:13 +00:00
|
|
|
|
|
|
|
local e=$(sed -En 's/^LIBPLIST_SO_VERSION="?([0-9]+):([0-9]+):([0-9]+).*/\1-\3/p' \
|
|
|
|
configure.ac)
|
|
|
|
if [ ! "${e}" ] || [ "${_SOVERSION}" != "$(( "${e}" ))" ]; then
|
|
|
|
termux_error_exit "SOVERSION guard check failed."
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2023-05-01 06:51:48 +00:00
|
|
|
termux_step_pre_configure() {
|
|
|
|
autoreconf -fi
|
2020-08-28 15:43:07 +00:00
|
|
|
}
|