Bootstrap may be needed to break circular dependencies between codec2 and lpcnetfreedv

epel9
Robert Scheck 3 years ago
parent 92daf9d0ef
commit 20647a929a

@ -1,6 +1,10 @@
%undefine __cmake_in_source_build
%{?rhel: %global cmake %cmake3}
# Bootstrap may be needed to break circular dependencies between
# codec2 and lpcnetfreedv
%bcond_with bootstrap
Name: codec2
Version: 1.0.3
Release: 1%{?dist}
@ -13,7 +17,9 @@ Source0: https://github.com/drowe67/codec2/archive/v%{version}/%{name}-%{
BuildRequires: cmake%{?rhel:3}
BuildRequires: gcc gcc-c++
BuildRequires: libsamplerate-devel
%if %{without bootstrap}
BuildRequires: lpcnetfreedv-devel
%endif
BuildRequires: speex-devel
%if ! 0%{?rhel} < 8
BuildRequires: speexdsp-devel
@ -50,7 +56,9 @@ Example code for Codec 2
%build
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
%if %{without bootstrap}
-DLPCNET=ON
%endif
%cmake_build

Loading…
Cancel
Save