File lv2-EQ10Q-plugins.spec of Package lv2-EQ10Q-plugins
Name: lv2-EQ10Q-plugins
Version: 2.2
Release: 0
Summary: LV2 Plugin: Parametric audio equalizer with 12 different filter types
# The vuwidget class is under GPLv3+. The rest is under GPLv2+. The GPLv3+ is
# only only included in the parameq_gui.so library. The other library,
# paramEQ.so, contains only GPLv2+ code.
License: GPL-2.0-or-later AND GPL-3.0-or-later
URL: https://eq10q.sourceforge.net/
Source0: eq10q-%{version}.tar.gz
# customuzible paths and flags, upstreamable.
Patch0: lv2-EQ10Q-plugins-path-and-flags.patch
# use exp10 instead of pow10 (newer glibc), upstreamable.
Patch1: lv2-EQ10Q-plugins-exp10.patch
Patch2: eq10q-lv2-descriptor.patch
BuildRequires: cmake
BuildRequires: fftw-devel
BuildRequires: gcc-c++
BuildRequires: gtkmm24-devel
BuildRequires: lv2-devel
BuildRequires: pkgconfig
Requires: lv2
%description
EQ10Q is an audio plug-in using the LV2 standard implementing a powerful and
flexible parametric equalizer.
The goal is to create an equalizer plug-in that includes parametric equalization
with different filter types like peaking, HPF, LPF, Shelving and Notch with IIR
algorithms and a nice GUI displaying the equalization curve.
At the moment we have implemented second order biquadratic filters (Peaking,
Low Shelving, High Shelving and Notch), and configurable order (1, 2, 3, 4) HPF
and LPF filters. All with IIR algorithms.
%prep
%setup -q -n eq10q-%{version}
%autopatch -p1
# Get rid of warnings about spurious exec permissions in debuginfo package
chmod -x gui/widgets/templatewidget.cpp gui/widgets/templatewidget.h *.c *.h */*.c */*.h
# Disable SSE on unsupported architectures
%ifnarch %{ix86} x86_64
sed -i 's|-msse -mfpmath=sse||g' CMakeLists.txt
%endif
%build
%cmake -DCMAKE_INSTALL_PREFIX="%{_libdir}/lv2"
%cmake_build
%install
%cmake_install
%files
%doc README
%{_libdir}/lv2/*
%changelog