代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/srt 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: srt
Version: 1.4.1
Release: 4
Summary: Secure Reliable Transport protocol tools
License: MPLv2.0
URL: https://www.srtalliance.org
Source0: https://github.com/Haivision/srt/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake gcc-c++
BuildRequires: gnutls-devel gmock-devel gtest-devel
Requires: srt-libs%{?_isa} = %{version}-%{release} ffmpeg
%description
Secure Reliable Transport (SRT) is an open source transport technology that
optimizes streaming performance across unpredictable networks, such as
the Internet.
%package libs
Summary: Secure Reliable Transport protocol libraries
%description libs
Secure Reliable Transport protocol libraries
%package devel
Summary: Secure Reliable Transport protocol development libraries and headers
Requires: srt-libs%{?_isa} = %{version}-%{release}
%description devel
Secure Reliable Transport protocol development libraries and header files
%prep
%autosetup
%build
%cmake \
-DENABLE_STATIC=OFF \
-DENABLE_UNITTESTS=ON \
-DENABLE_GETNAMEINFO=ON \
-DUSE_ENCLIB=gnutls \
.
%make_build
%install
%make_install
# remove old upstream temporary compatibility pc
rm -f %{buildroot}/%{_libdir}/pkgconfig/haisrt.pc
%check
# Fails with x390x
make test \
%ifarch s390x
|| :
%endif
%ldconfig_scriptlets libs
%files
%license LICENSE
%doc README.md docs
%{_bindir}/srt-ffplay
%{_bindir}/srt-file-transmit
%{_bindir}/srt-live-transmit
%{_bindir}/srt-tunnel
%{_bindir}/test-srt
%files libs
%license LICENSE
%{_libdir}/libsrt.so.1*
%files devel
%doc examples
%{_includedir}/srt
%{_libdir}/libsrt.so
%{_libdir}/pkgconfig/srt.pc
%changelog
* Mon Sep 13 2021 weidong <weidong@uniontech.com> - 1.4.1-4
- Add installation dependencies
* Fri May 07 2021 weidong <weidong@uniontech.com> - 1.4.1-3
- Initial package.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。