From: Fabrice Fontaine Date: Sun, 2 Feb 2020 16:30:03 +0000 (+0100) Subject: package/libpjsip: add sdl2 support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8330cfe5c5f8cd820577b2abd24c90bc10116dae;p=buildroot.git package/libpjsip: add sdl2 support Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk index 655ab4498c..7736a005af 100644 --- a/package/libpjsip/libpjsip.mk +++ b/package/libpjsip/libpjsip.mk @@ -33,7 +33,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-g711-codec \ --disable-l16-codec \ --disable-g722-codec \ - --disable-sdl \ --disable-ffmpeg \ --disable-ipp \ --disable-silk \ @@ -122,6 +121,13 @@ else LIBPJSIP_CONF_OPTS += --disable-opus endif +ifeq ($(BR2_PACKAGE_SDL2),y) +LIBPJSIP_DEPENDENCIES += sdl2 +LIBPJSIP_CONF_OPTS += --with-sdl=$(STAGING_DIR)/usr +else +LIBPJSIP_CONF_OPTS += --disable-sdl +endif + ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy) LIBPJSIP_CONF_OPTS += \ --enable-speex-aec \