TT#31197 include libbcg729 build dependency

Change-Id: Id6b8d360bf0680bf6900166076aa59c46c8648b5
changes/64/19464/4
Richard Fuchs 8 years ago
parent 4538af32b4
commit f1808e2f2d

@ -60,8 +60,7 @@ On a Debian system, everything can be built and packaged into Debian packages
by executing `dpkg-buildpackage` (which can be found in the `dpkg-dev` package) in the main directory.
This script will issue an error and stop if any of the dependency packages are
not installed. The script `dpkg-checkbuilddeps` can be used to check missing dependencies.
Before that, run `./debian/flavors/no_ngcp` in order to remove any NGCP dependencies.
(See the note about G.729 at the end of this section.)
This will produce a number of `.deb` files, which can then be installed using the
`dpkg -i` command.
@ -107,7 +106,10 @@ for additional codecs.
To support the G.729 codec for transcoding purposes, the external library *bcg729* is required. To
include this in a Debian build environment, a Debian-packaged version is required, which is available
from [GitHub](https://github.com/ossobv/bcg729-deb).
from [GitHub](https://github.com/ossobv/bcg729-deb). If G.729 support is not needed, the build
dependency can be removed by using a different Debian build profile. Set the environment variable
`export DEB_BUILD_PROFILES="pkg.ngcp-rtpengine.nobcg729"` (or use the `-P` flag to the *dpkg* tools)
and then build the *rtpengine* packages.
Manual Compilation
------------------
@ -938,6 +940,14 @@ via the [bcg729](https://www.linphone.org/technical-corner/bcg729/overview) libr
the *bcg729* headers in a few locations and uses the library if found. If the library is located
elsewhere, see `daemon/Makefile` to control where the build system is looking for it.
In a Debian build environment, `debian/control` lists a build-time dependency on *bcg729*. Since
Debian proper does not currently include a *bcg729* package, one can be built locally using these
instructions on [GitHub](https://github.com/ossobv/bcg729-deb). Alternatively the build dependency
can be removed from `debian/control` switching to a different Debian build profile.
Set the environment variable
`export DEB_BUILD_PROFILES="pkg.ngcp-rtpengine.nobcg729"` (or use the `-P` flag to the *dpkg* tools)
and then build the *rtpengine* packages.
The *ng* Control Protocol
=========================

1
debian/control vendored

@ -13,6 +13,7 @@ Build-Depends:
libavformat-dev (>= 6:10),
libavresample-dev (>= 6:10),
libavutil-dev (>= 6:10),
libbcg729-dev <!pkg.ngcp-rtpengine.nobcg729>,
libcurl4-openssl-dev | libcurl4-gnutls-dev | libcurl3-openssl-dev | libcurl3-gnutls-dev,
libevent-dev (>= 2.0),
libglib2.0-dev (>= 2.30),

@ -1,6 +0,0 @@
#!/bin/bash
# remove ngcp-system-tools Pre-Depends
sed -i -e '/^Pre-Depends: ngcp-system-tools\s*$/d' debian/control
exit 0
Loading…
Cancel
Save