1 Star 0 Fork 5

src-oepkgs-oE-rv/srt

forked from src-openEuler/srt 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
srt.spec 1.80 KB
一键复制 编辑 原始数据 按行查看 历史
weidongkl 提交于 2021-09-13 16:03 . Add installation dependencies
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.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-oepkgs-oe-rv/srt.git
git@gitee.com:src-oepkgs-oe-rv/srt.git
src-oepkgs-oe-rv
srt
srt
master

搜索帮助