linphone: update to 5.0.56.

This commit is contained in:
John 2021-12-06 18:39:19 +01:00
parent 9d9b9abff3
commit f24f60384e

View file

@ -1,13 +1,17 @@
# Template file for 'linphone'
pkgname=linphone
version=4.4.0
version=5.0.56
# 5.0.57 requires an unreleased mediastreamer2
revision=1
build_style="cmake"
wrksrc="liblinphone-${version}"
configure_args="-DENABLE_STRICT=0 -DENABLE_GTK_UI=$(vopt_if gui true false)
configure_args="-DENABLE_STRICT=FALSE
-DENABLE_ADVANCED_IM=FALSE -DENABLE_DB_STORAGE=FALSE
-DENABLE_LIME=NO -DENABLE_LIME_X3DH=NO -DENABLE_UNIT_TESTS=NO"
hostmakedepends="doxygen graphviz python-pystache python-six"
-DENABLE_LIME=NO -DENABLE_LIME_X3DH=NO -DENABLE_UNIT_TESTS=NO
-DENABLE_STATIC=OFF -DENABLE_FLEXIAPI=OFF"
# FLEXIAPI disabled because their cmake script doesn't find jsoncpp
hostmakedepends="doxygen graphviz python3-pystache python3-six
pkg-config"
makedepends="sqlite-devel readline-devel mediastreamer-devel
belle-sip-devel speex-devel libxml2-devel libnotify-devel
bctoolbox-devel ortp-devel bzrtp-devel gettext-devel ortp-devel
@ -17,7 +21,7 @@ maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later"
homepage="https://www.linphone.org"
distfiles="https://gitlab.linphone.org/BC/public/liblinphone/-/archive/${version}/liblinphone-${version}.tar.gz"
checksum=a9a468e7e15ad59062d6460b7d2f6b1f1cd74c15d54a7b5dae6bad28a489cf40
checksum=56bc789cda2507644477c1fad84169b3a39b9c26bad859763c6be66fb705c2db
pre_build() {
echo "#define MS2_GIT_VERSION=unknown" > coreapi/gitversion.h
@ -44,7 +48,7 @@ linphone-tools_package() {
for i in lp-auto-answer\
lp-sendmsg lp-test-ecc lpc2xml_test \
xml2lpc_test; do
vmove usr/bin/$i;
vmove "usr/bin/$i";
done
vmove "usr/bin/*test"
}
@ -55,7 +59,6 @@ linphone-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libxml2-devel ortp-devel"
pkg_install() {
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/include
vmove usr/share/LinphoneCxx/cmake
vmove usr/share/Linphone/cmake