]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
janus-gateway: make voicemail plugin optional
authorAdam Duskett <Aduskett@gmail.com>
Wed, 25 Jan 2017 13:42:45 +0000 (08:42 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 28 Jan 2017 08:39:41 +0000 (21:39 +1300)
commit7ea01e10ee4346e7f884790fdd71d2d636e54cb4
treecf2ab1d60c8314d5fb99fc4cf603e78e70567635
parent955f2e6d1ce71c7168f05e28f66daf645f782dc2
janus-gateway: make voicemail plugin optional

Currently janus-gateway's voicemail plugin is only built if
libogg is selected, and even then there is no way to disable the plugin from
being built. This causes a example config file to be placed on
the target filing system that the user may not need or want, creates a 33K .so
file on the target directory, and janus will also generate a warning when
ran if the plugin does not have a matching configuration file setup by
the user, as it will not use the example config file by default.

This patch makes the voicemail plugin optional, removes the check for libogg,
adds libogg as a dependency to the voicemail plugin, and selects the libogg
package automatically when the user selects the plugin.

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/janus-gateway/Config.in
package/janus-gateway/janus-gateway.mk