[packages/mediastreamer] - started update to 2.11.2 (note: new sonames)
qboosh
qboosh at pld-linux.org
Tue Jul 7 17:36:26 CEST 2015
commit 574e0d829e9e4ac1a39c82ce373ff6406865504c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Jul 7 17:38:28 2015 +0200
- started update to 2.11.2 (note: new sonames)
mediastreamer.spec | 52 +++++++++++++++++++++++++++++++++++++++-------------
1 file changed, 39 insertions(+), 13 deletions(-)
---
diff --git a/mediastreamer.spec b/mediastreamer.spec
index 542fa68..44e78e8 100644
--- a/mediastreamer.spec
+++ b/mediastreamer.spec
@@ -1,25 +1,37 @@
+# TODO:
+# - libebml2, libmatroska2 (Matroska support)
+# - libbzrtp >= 1.0.0 (ZRTP support)
+# - dtls (polarssl/mbedtls >= 1.4 when released)
#
# Conditional build:
+%bcond_without bcg729 # support for G279AnnexB in RTC3389 implementation of Comfort Noise Payload
%bcond_without opengl # X11+OpenGL rendering support
%bcond_with pcap # audio playing from PCAP files
-%bcond_without pulseaudio # PulseAudio support
+%bcond_without srtp # SRTP (secure RTP) support
+# audio I/O
+%bcond_without alsa # ALSA sound I/O support
+%bcond_with arts # aRts sound I/O support
+%bcond_with portaudio # PortAudio sound I/O support
+%bcond_without pulseaudio # PulseAudio sound I/O support
#
Summary: Audio/Video real-time streaming
Summary(pl.UTF-8): Przesyłanie strumieni audio/video w czasie rzeczywistym
Name: mediastreamer
-Version: 2.10.0
-Release: 4
+Version: 2.11.2
+Release: 1
License: GPL v2+
Group: Libraries
Source0: http://download-mirror.savannah.gnu.org/releases/linphone/mediastreamer/%{name}-%{version}.tar.gz
-# Source0-md5: 5a4e7545e212068534b56fdf41c961e9
+# Source0-md5: 8b654c3e8938d50df9e83d2e353888a6
Patch0: %{name}-imagedir.patch
URL: http://www.linphone.org/eng/documentation/dev/mediastreamer2.html
%{?with_opengl:BuildRequires: OpenGL-GLX-devel}
BuildRequires: SDL-devel >= 1.2.0
-BuildRequires: alsa-lib-devel
+%{?with_alsa:BuildRequires: alsa-lib-devel}
+%{?with_arts:BuildRequires: artsc-devel}
BuildRequires: autoconf >= 2.53
BuildRequires: automake >= 1:1.9
+%{?with_bcg729:BuildRequires: bcg729-devel >= 1.0}
BuildRequires: doxygen
# libavcodec >= 51.0.0, libswscale >= 0.7.0
BuildRequires: ffmpeg-devel
@@ -36,22 +48,26 @@ BuildRequires: libupnp-devel < 1.7
BuildRequires: libv4l-devel
BuildRequires: libvpx-devel >= 0.9.6
BuildRequires: opus-devel >= 0.9.0
-BuildRequires: ortp-devel >= 0.23.0
+BuildRequires: ortp-devel >= 0.24.0
BuildRequires: pkgconfig
+BuildRequires: polarssl-devel
+%{?with_portaudio:BuildRequires: portaudio-devel}
%{?with_pulseaudio:BuildRequires: pulseaudio-devel >= 0.9.21}
BuildRequires: sed >= 4.0
BuildRequires: spandsp-devel >= 0.0.6
BuildRequires: speex-devel >= 1:1.2-beta3
BuildRequires: speexdsp-devel >= 1.2-beta3
+%{?with_srtp:BuildRequires: srtp-devel}
BuildRequires: xorg-lib-libX11-devel
BuildRequires: xorg-lib-libXv-devel
BuildRequires: xxd
+%{?with_bcg729:Requires: bcg729 >= 1.0}
%{?with_opengl:Requires: glew >= 1.5}
Requires: libtheora >= 1.0-0.alpha7
Requires: libupnp >= 1.6
Requires: libvpx >= 0.9.6
Requires: opus >= 0.9.0
-Requires: ortp >= 0.23.0
+Requires: ortp >= 0.24.0
%{?with_pulseaudio:Requires: pulseaudio-libs >= 0.9.21}
Requires: spandsp >= 0.0.6
Requires: speex >= 1:1.2-beta3
@@ -74,7 +90,8 @@ Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do biblioteki mediastreamer
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%{?with_opengl:Requires: OpenGL-devel}
-Requires: alsa-lib-devel
+%{?with_alsa:Requires: alsa-lib-devel}
+%{?with_bcg729:Requires: bcg729-devel >= 1.0}
Requires: ffmpeg-devel
%{?with_opengl:Requires: glew-devel >= 1.5}
Requires: libtheora-devel >= 1.0-0.alpha7
@@ -83,11 +100,14 @@ Requires: libupnp-devel < 1.7
Requires: libv4l-devel
Requires: libvpx-devel >= 0.9.6
Requires: opus-devel >= 0.9.0
-Requires: ortp-devel >= 0.23.0
+Requires: ortp-devel >= 0.24.0
+Requires: polarssl-devel
+%{?with_portaudio:Requires: portaudio-devel}
%{?with_pulseaudio:Requires: pulseaudio-devel >= 0.9.21}
Requires: spandsp-devel >= 0.0.6
Requires: speex-devel >= 1:1.2-beta3
Requires: speexdsp-devel >= 1.2-beta3
+%{?with_srtp:Requires: srtp-devel}
Requires: xorg-lib-libX11-devel
Requires: xorg-lib-libXv-devel
@@ -120,12 +140,17 @@ Statyczna biblioteka mediastreamer.
%{__autoheader}
%{__automake}
%configure \
+ --enable-alsa%{!?with_alsa:=no} \
+ %{?with_arts:--enable-artsc} \
+ %{?with_bcg729:--enable-bcg729} \
--enable-external-ortp \
%{!?with_opengl:--disable-glx} \
%{?with_pcap:--enable-pcap} \
- %{?with_pulseaudio:--enable-pulseaudio} \
+ %{?with_portaudio:--enable-portaudio} \
+ --enable-pulseaudio%{!?with_pulseaudio:=no} \
--disable-silent-rules \
- --enable-static
+ --enable-static \
+ %{!?with_srtp:--with-srtp=none}
%{__make}
@@ -153,11 +178,12 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/mediastream
+%attr(755,root,root) %{_bindir}/msaudiocmp
%{?with_pcap:%attr(755,root,root) %{_bindir}/pcap_playback}
%attr(755,root,root) %{_libdir}/libmediastreamer_base.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libmediastreamer_base.so.3
+%attr(755,root,root) %ghost %{_libdir}/libmediastreamer_base.so.4
%attr(755,root,root) %{_libdir}/libmediastreamer_voip.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libmediastreamer_voip.so.3
+%attr(755,root,root) %ghost %{_libdir}/libmediastreamer_voip.so.4
%dir %{_libdir}/mediastreamer
%dir %{_libdir}/mediastreamer/plugins
%{_pixmapsdir}/%{name}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mediastreamer.git/commitdiff/574e0d829e9e4ac1a39c82ce373ff6406865504c
More information about the pld-cvs-commit
mailing list