mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/mediastreamer: add optional support for libvpx
When libvpx was compiled before, mediastreamer will use it as optional dependency: $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libmediastreamer_voip.so.3.0.0 | grep NEEDED 0x0000000000000001 (NEEDED) Shared library: [libmediastreamer_base.so.3] 0x0000000000000001 (NEEDED) Shared library: [libopus.so.0] 0x0000000000000001 (NEEDED) Shared library: [libvpx.so.2] [...] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
63311a52c8
commit
a93d7c8da7
@@ -27,6 +27,13 @@ else
|
|||||||
MEDIASTREAMER_CONF_OPTS += --disable-upnp
|
MEDIASTREAMER_CONF_OPTS += --disable-upnp
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBVPX),y)
|
||||||
|
MEDIASTREAMER_CONF_OPTS += --enable-vp8
|
||||||
|
MEDIASTREAMER_DEPENDENCIES += libvpx
|
||||||
|
else
|
||||||
|
MEDIASTREAMER_CONF_OPTS += --disable-vp8
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_OPUS),y)
|
ifeq ($(BR2_PACKAGE_OPUS),y)
|
||||||
MEDIASTREAMER_CONF_OPTS += --enable-opus
|
MEDIASTREAMER_CONF_OPTS += --enable-opus
|
||||||
MEDIASTREAMER_DEPENDENCIES += opus
|
MEDIASTREAMER_DEPENDENCIES += opus
|
||||||
|
|||||||
Reference in New Issue
Block a user