[packages/gstreamer-plugins-bad] unconditionally require srtp

atler atler at pld-linux.org
Tue Aug 5 19:07:21 CEST 2025


commit e69990a1b183a051ff45b66937402b0bc677f08c
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Aug 5 19:01:21 2025 +0200

    unconditionally require srtp
    
    required by unconditional webrtc

 gstreamer-plugins-bad.spec | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/gstreamer-plugins-bad.spec b/gstreamer-plugins-bad.spec
index cb90c6d..b810d91 100644
--- a/gstreamer-plugins-bad.spec
+++ b/gstreamer-plugins-bad.spec
@@ -37,7 +37,6 @@
 %bcond_without	librsvg		# RSVG SVG decoder/overlay plugin
 %bcond_without	sbc		# SBC bluetooth audio codec plugin
 %bcond_without	sndfile		# sndfile audio files encoder/decoder plugin
-%bcond_without	srtp		# SRTP decoder/encoder plugin
 %bcond_without	svthevc		# SvtHevc encoder plugin
 %bcond_without	svtjpegxs	# SVT JPEG-XS plugin
 %bcond_without	tinyalsa	# ALSA audiosink using tinyalsa library
@@ -181,7 +180,7 @@ BuildRequires:	librtmp-devel
 BuildRequires:	libssh2-devel >= 1.4.3
 %{?with_sndfile:BuildRequires:	libsndfile-devel >= 1.0.16}
 # or srtp >= 1.6.0, libsrtp2 is preferred
-%{?with_srtp:BuildRequires:	libsrtp2-devel >= 2.1.0}
+BuildRequires:	libsrtp2-devel >= 2.1.0
 %if %{with zxing} || %{with gcloud}
 BuildRequires:	libstdc++-devel >= 6:7
 %else
@@ -2737,11 +2736,9 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{gstlibdir}/libgstsrt.so
 
-%if %{with srtp}
 %files -n gstreamer-srtp
 %defattr(644,root,root,755)
 %attr(755,root,root) %{gstlibdir}/libgstsrtp.so
-%endif
 
 %files -n gstreamer-svtav1
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gstreamer-plugins-bad.git/commitdiff/e54a8a81eca5216b55254f51b3badfa7bcdc1df0



More information about the pld-cvs-commit mailing list