Skip to content
Snippets Groups Projects
Commit efdf2026 authored by Sertonix's avatar Sertonix Committed by Patrycja Rosa
Browse files

main/pjproject: add minor and patch version to soname

Upstream doesn't provide a stable ABI so any minor or patch version
change can break it. Forcing a rebuild of packages linking against
pjproject on every upgrade is the safest option then.

Ref https://github.com/pjsip/pjproject/issues/3420
parent a15f8909
No related branches found
No related tags found
1 merge request!71839main/pjproject: add minor and patch version to soname
......@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pjproject
pkgver=2.14.1
pkgrel=2
pkgrel=3
pkgdesc="Open source multimedia communication library"
url="https://www.pjsip.org/pjsua.htm"
arch="all"
......@@ -65,6 +65,9 @@ prepare() {
sed -i -e "s/resample//" third_party/build/Makefile
sed -i -e "s#../../third_party/libsamplerate/src/samplerate.h#samplerate.h#" pjmedia/src/pjmedia/resample_libsamplerate.c
# Add minor and patch version to soname to better handle ABI changes
sed -i -e 's/$(PJ_VERSION_MAJOR)/$(PJ_VERSION)/' build.mak.in ./*/build/Makefile third_party/build/*/Makefile
# Enable IPv6
printf "#define PJ_HAS_IPV6 1\n" >> pjlib/include/pj/config_site.h
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment