gst1-plugins-bad: add srtp support
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Thu, 3 Nov 2016 09:58:40 +0000 (06:58 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 7 Nov 2016 20:50:38 +0000 (21:50 +0100)
It's not new for 1.10.0 but hasn't been enabled when libsrtp was added
to buildroot.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gstreamer1/gst1-plugins-bad/Config.in
package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk

index 40bb2834e4eb4e25bd6278aa15c1cc537a6c993e..16c0b7e3f2d134cfc52c7ccc4a073693ff6a04c4 100644 (file)
@@ -665,6 +665,10 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SNDFILE
        bool "sndfile"
        select BR2_PACKAGE_LIBSNDFILE
 
+config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SRTP
+       bool "srtp"
+       select BR2_PACKAGE_LIBSRTP
+
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VCD
        bool "vcd"
 
index 012b948b2cfdcb0d27dd5edc51d6560b8f0d96db..098cf2b5daf846cb0fdc742d3f6dad71f3bed2da 100644 (file)
@@ -44,7 +44,6 @@ GST1_PLUGINS_BAD_CONF_OPTS += \
        --disable-ladspa \
        --disable-lv2 \
        --disable-libde265 \
-       --disable-srtp \
        --disable-linsys \
        --disable-modplug \
        --disable-mimic \
@@ -780,6 +779,13 @@ else
 GST1_PLUGINS_BAD_CONF_OPTS += --disable-sndfile
 endif
 
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SRTP),y)
+GST1_PLUGINS_BAD_CONF_OPTS += --enable-srtp
+GST1_PLUGINS_BAD_DEPENDENCIES += libsrtp
+else
+GST1_PLUGINS_BAD_CONF_OPTS += --disable-srtp
+endif
+
 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VCD),y)
 GST1_PLUGINS_BAD_CONF_OPTS += --enable-vcd
 else