spandsp3: new package 563/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Wed, 19 Aug 2020 19:43:23 +0000 (21:43 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Wed, 19 Aug 2020 20:07:29 +0000 (22:07 +0200)
commit2bcd4e23c6744f7ba66f217dfca16ba59c433a52
treeff5220133bafdad9d71bbbd3ec947f75821a1433
parent061140e8ec8d9b80ed8a60b7f23722e527f07ac9
spandsp3: new package

This commit adds an updated spandsp library. This is not a drop-in
replacement for the "old" spandsp library. Applications that want to use
it need to be updated a bit, according to upstream info [1].

In an effort to not cause any problems for OpenWrt, this package
installs the library and headers in the staging directory into
non-standard paths:

Library: $(STAGING_DIR/usr/lib/spandsp3/lib
Headers: $(STAGING_DIR/usr/lib/spandsp3/include

This way they are hidden aways from all normal users (like asterisk,
baresip etc.) and won't interfere.

To use the new spandsp library users can look for the spandsp3
pkg-config file (the regular spandsp installs spandsp.pc, this package
installs spandsp3.pc). This should be enough. The first such user will
likely be the freeswitch package, once it gets updated to 1.10.5.

[1] https://github.com/freeswitch/spandsp/issues/5

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
libs/spandsp3/Makefile [new file with mode: 0644]
libs/spandsp3/patches/01-spandsp3-pkg-config.patch [new file with mode: 0644]