Enable tests

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9
Michel Alexandre Salim 2 years ago
parent 99a9f5bafe
commit d257b50f72
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

@ -1,3 +1,5 @@
%bcond_without check
%global so_version 2 %global so_version 2
Name: rubberband Name: rubberband
@ -13,10 +15,13 @@ BuildRequires: meson
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: ladspa-devel BuildRequires: ladspa-devel
BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(lv2)
BuildRequires: pkgconfig(samplerate) BuildRequires: pkgconfig(samplerate)
BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(lv2)
BuildRequires: vamp-plugin-sdk-devel BuildRequires: vamp-plugin-sdk-devel
%if %{with check}
BuildRequires: boost-devel
%endif
Requires: ladspa Requires: ladspa
Requires: lv2 Requires: lv2
@ -53,9 +58,10 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a rm -rf $RPM_BUILD_ROOT%{_libdir}/*.a
# no tests yet %if %{with check}
# check %check
# meson_test %meson_test
%endif
%files %files

Loading…
Cancel
Save