From: Fabrice Fontaine Date: Sun, 2 Feb 2020 13:53:52 +0000 (+0100) Subject: package/libpjsip: add openh264 support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ed187bf15b7dd6d9945211d1c0671ebba905d64;p=buildroot.git package/libpjsip: add openh264 support Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk index 86cd31fc81..655ab4498c 100644 --- a/package/libpjsip/libpjsip.mk +++ b/package/libpjsip/libpjsip.mk @@ -35,7 +35,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-g722-codec \ --disable-sdl \ --disable-ffmpeg \ - --disable-openh264 \ --disable-ipp \ --disable-silk \ --with-external-srtp @@ -69,6 +68,13 @@ LIBPJSIP_CONF_OPTS += \ --disable-gsm-codec endif +ifeq ($(BR2_PACKAGE_LIBOPENH264),y) +LIBPJSIP_DEPENDENCIES += libopenh264 +LIBPJSIP_CONF_OPTS += --with-openh264=$(STAGING_DIR)/usr +else +LIBPJSIP_CONF_OPTS += --disable-openh264 +endif + ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) LIBPJSIP_DEPENDENCIES += libopenssl LIBPJSIP_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr