fixes for F31+

This commit is contained in:
nucleo 2019-09-30 20:27:46 +03:00
parent a678a9e59d
commit e2ccee3aa7

View File

@ -114,7 +114,7 @@ Libraries and headers required to develop software with mediastreamer2.
autoreconf -i -f autoreconf -i -f
# remove bundled oRTP # remove bundled oRTP
rm -rf oRTP #rm -rf oRTP
# Fix encoding # Fix encoding
for f in share/cs/*.1; do for f in share/cs/*.1; do
@ -142,17 +142,20 @@ done
--enable-nonstandard-gsm \ --enable-nonstandard-gsm \
--enable-rsvp \ --enable-rsvp \
--enable-ssl \ --enable-ssl \
--enable-zrtp \
%ifarch i686 armv7hl %ifarch i686 armv7hl
--disable-upnp \ --disable-upnp \
%endif %endif
--enable-external-ortp # --enable-zrtp \
# --enable-external-ortp
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
# from oRTP install only %{_libdir}/libortp.so.9*
rm -rf $RPM_BUILD_ROOT%{_includedir}/ortp $RPM_BUILD_ROOT%{_datadir}/doc/ortp-0.22.0 $RPM_BUILD_ROOT%{_libdir}/pkgconfig/ortp.pc $RPM_BUILD_ROOT%{_libdir}/libortp.so
%find_lang %{name} %find_lang %{name}
%find_lang mediastreamer %find_lang mediastreamer
@ -185,6 +188,7 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/mediastreamer*/html doc/mediastreamer
%{_libdir}/liblinphone.so.5* %{_libdir}/liblinphone.so.5*
%{_libdir}/liblpc2xml.so.0* %{_libdir}/liblpc2xml.so.0*
%{_libdir}/libxml2lpc.so.0* %{_libdir}/libxml2lpc.so.0*
%{_libdir}/libortp.so.9*
%{_mandir}/man1/* %{_mandir}/man1/*
%lang(cs) %{_mandir}/cs/man1/* %lang(cs) %{_mandir}/cs/man1/*
%{_datadir}/applications/*%{name}.desktop %{_datadir}/applications/*%{name}.desktop
@ -217,6 +221,10 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/mediastreamer*/html doc/mediastreamer
%{_libdir}/pkgconfig/mediastreamer.pc %{_libdir}/pkgconfig/mediastreamer.pc
%changelog %changelog
* Mon Sep 30 2019 Alexey Kurov <nucleo@fedoraproject.org> - 3.6.1-34
- build bundled oRTP
- disabled zrtp support
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-33 * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild