summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-11-03 06:58:40 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-11-07 21:50:38 +0100
commit3295a5ef4d41f91fbe9d8d2e690768c8056f3fd4 (patch)
tree4d607f5e42131d23590bde4fd61d4eb376902ee1
parentde45145d99ee3b4ffafd6632623262faafcb6fb9 (diff)
downloadbuildroot-3295a5ef4d41f91fbe9d8d2e690768c8056f3fd4.tar.gz
buildroot-3295a5ef4d41f91fbe9d8d2e690768c8056f3fd4.zip
gst1-plugins-bad: add srtp support
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>
-rw-r--r--package/gstreamer1/gst1-plugins-bad/Config.in4
-rw-r--r--package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk8
2 files changed, 11 insertions, 1 deletions
diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in
index 40bb2834e4..16c0b7e3f2 100644
--- a/package/gstreamer1/gst1-plugins-bad/Config.in
+++ b/package/gstreamer1/gst1-plugins-bad/Config.in
@@ -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"
diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
index 012b948b2c..098cf2b5da 100644
--- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
+++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
@@ -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
OpenPOWER on IntegriCloud