New snapshot
This commit is contained in:
parent
d3f9c88b01
commit
b4f41e070d
|
@ -3,10 +3,10 @@ index 7e02af7..224f1f8 100644
|
|||
--- a/SConstruct
|
||||
+++ b/SConstruct
|
||||
@@ -1069,11 +1069,6 @@ if platform in ['linux']:
|
||||
env.AppendUnique(LIBS=['rt', 'dl', 'm'])
|
||||
env.AddPkgConfigLibs(['log', 'android'])
|
||||
|
||||
if compiler in ['gcc', 'clang']:
|
||||
- if not platform in ['android']:
|
||||
if meta.compiler in ['gcc', 'clang']:
|
||||
- if not meta.platform in ['android']:
|
||||
- env.Append(CXXFLAGS=[
|
||||
- '-std=c++98',
|
||||
- ])
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
# git ls-remote https://github.com/roc-streaming/roc-toolkit.git
|
||||
%global git_commit 863a0227b78464c3a56fc0484bec73c891e4b7a8
|
||||
%global git_date 20220829
|
||||
%global git_commit 2017450a058eacb364c3a87620a32395e46a6e47
|
||||
%global git_date 20221224
|
||||
|
||||
%global git_short_commit %(echo %{git_commit} | cut -c -8)
|
||||
%global git_suffix %{git_date}git%{git_short_commit}
|
||||
|
||||
Name: roc-toolkit
|
||||
Version: 0.1.5^%{git_suffix}
|
||||
Release: 3%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Summary: Real-time audio streaming
|
||||
License: MPL-2.0 AND LGPL-2.1-or-later AND CECILL-C
|
||||
URL: https://github.com/roc-streaming/roc-toolkit
|
||||
|
@ -31,6 +31,8 @@ BuildRequires: cpputest-devel
|
|||
BuildRequires: sphinx
|
||||
BuildRequires: python3-sphinx
|
||||
BuildRequires: python3-breathe
|
||||
BuildRequires: speexdsp-devel
|
||||
BuildRequires: doxygen
|
||||
# https://github.com/roc-streaming/roc-toolkit/issues/481
|
||||
Patch0: roc-toolkit-0.1.5-no-explicit-cpp98.patch
|
||||
|
||||
|
@ -64,21 +66,18 @@ Documentation for roc-toolkit.
|
|||
%build
|
||||
scons %{?_smp_mflags} --with-openfec-includes=%{_includedir}/openfec \
|
||||
CFLAGS="%{build_cflags}" CXXFLAGS="%{build_cxxflags}" LDFLAGS="%{build_ldflags}"
|
||||
scons docs
|
||||
scons docs --enable-doxygen --enable-sphinx
|
||||
|
||||
%install
|
||||
scons install --with-openfec-includes=%{_includedir}/openfec --prefix=%{buildroot}%{_prefix} \
|
||||
--libdir=%{buildroot}%{_libdir}
|
||||
|
||||
%check
|
||||
# https://github.com/roc-streaming/roc-toolkit/issues/480
|
||||
%ifnarch i686 armv7hl
|
||||
scons test --with-openfec-includes=%{_includedir}/openfec
|
||||
%endif
|
||||
scons test --with-openfec-includes=%{_includedir}/openfec --enable-tests
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md CONTRIBUTING.md
|
||||
%doc README.md
|
||||
%{_libdir}/libroc.so.0*
|
||||
|
||||
%files devel
|
||||
|
@ -92,9 +91,12 @@ scons test --with-openfec-includes=%{_includedir}/openfec
|
|||
%{_mandir}/man1/*.1.gz
|
||||
|
||||
%files doc
|
||||
%doc html
|
||||
%doc docs/html
|
||||
|
||||
%changelog
|
||||
* Sat Dec 24 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 0.1.5^20221224git2017450a-1
|
||||
- New snapshot
|
||||
|
||||
* Tue Oct 11 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 0.1.5^20220829git863a0227-3
|
||||
- Disabled tests on 32 bit architectures (code is broken, use on own risk)
|
||||
|
||||
|
|
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (roc-toolkit-20220829git863a0227.tar.gz) = e02f4b868b2aaff860d34dc190439120fa46fbff34a829a9aadf1aff5d4c3cd3c72694a504981c52e92dbdaed9778a0c4f09e2e77e43ebeb9daae17acb128605
|
||||
SHA512 (roc-toolkit-20221224git2017450a.tar.gz) = 788a966b04c3a10e6de7978253213c6ce2985abca3dc8a6d52f2079ed3531041ea44f0ff822279ceb8f04b40153089d29371f0f6038ff67a454319dea584f651
|
||||
|
|
Loading…
Reference in New Issue