telephony/net/baresip/Config.in
Sebastian Kemper 23b3363a5e baresip: add symbol to prevent FFmpeg dependency by default
Currently baresip often fails to build because the FFmpeg compile was
not successful:

  CC [M]  build-mipsel/modules/avcodec/avcodec.o
modules/avcodec/avcodec.c:9:32: fatal error: libavcodec/avcodec.h: No such file or directory
compilation terminated.

Address this by adding a configuration symbol that prevents the
FFmpeg-depending modules from being selected by default, except on i386
and x86_64.

It is better having baresip packages without these video modules than
not having baresip packages at all.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2017-12-13 19:37:13 +01:00

16 lines
509 B
Text

menu "bareSIP configuration"
depends on PACKAGE_baresip
config BARESIP_WITH_FFMPEG
bool "Compile with FFmpeg support"
default y if (i386||x86_64)
help
The sole purpose of this symbol is to prevent that the bareSIP
video modules, the ones which depend on FFmpeg, are built by
default. The reason is that FFmpeg often fails to compile for
some targets, causing the bareSIP compile to fail as well.
If you want the modules which depend on FFmpeg to become
available, select 'y'.
endmenu