File RoomReverb.spec of Package RoomReverb

#
# spec file for package RoomReverb
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


Name:           RoomReverb
Version:        1.2.0
Release:        0
Summary:        Mono/stereo to stereo algorithmic reverb audio plugin with many presets
License:        GPL-3.0-only
Group:          Productivity/Multimedia/Sound/Midi
URL:            https://github.com/cvde/RoomReverb
Source0:        https://github.com/cvde/RoomReverb/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  JUCE8_01-source
BuildRequires:  Mesa-libGL-devel
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  libXcursor-devel
BuildRequires:  libXrandr-devel
BuildRequires:  libcurl-devel
BuildRequires:  libjack-devel
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(alsa)
BuildRequires:  pkgconfig(freetype2)
BuildRequires:  pkgconfig(webkit2gtk-4.1)
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xext)
BuildRequires:  pkgconfig(xinerama)

%description

Room Reverb is a mono/stereo to stereo algorithmic reverb audio plugin with many presets.
It uses the implementation of Moorer's early reflection model and Jon Dattorro's Progenitor Reverb from the Freeverb3 signal processing library.
https://www.elephantdsp.com/products/room-reverb/

%package -n vst-%{name}
Summary:        Mono/stereo to stereo algorithmic reverb audio plugin with many presets (VST)

%description -n vst-%{name}

Room Reverb is a mono/stereo to stereo algorithmic reverb audio plugin with many presets.
It uses the implementation of Moorer's early reflection model and Jon Dattorro's Progenitor Reverb from the Freeverb3 signal processing library.
https://www.elephantdsp.com/products/room-reverb/

%package -n vst3-%{name}
Summary:        Mono/stereo to stereo algorithmic reverb audio plugin with many presets (VST3)

%description -n vst3-%{name}

Room Reverb is a mono/stereo to stereo algorithmic reverb audio plugin with many presets.
It uses the implementation of Moorer's early reflection model and Jon Dattorro's Progenitor Reverb from the Freeverb3 signal processing library.
https://www.elephantdsp.com/products/room-reverb/

%package -n lv2-%{name}
Summary:        Mono/stereo to stereo algorithmic reverb audio plugin with many presets (LV2)

%description -n lv2-%{name}

Room Reverb is a mono/stereo to stereo algorithmic reverb audio plugin with many presets.
It uses the implementation of Moorer's early reflection model and Jon Dattorro's Progenitor Reverb from the Freeverb3 signal processing library.
https://www.elephantdsp.com/products/room-reverb/

%package -n clap-%{name}
Summary:        Mono/stereo to stereo algorithmic reverb audio plugin with many presets (CLAP)

%description -n clap-%{name}

Room Reverb is a mono/stereo to stereo algorithmic reverb audio plugin with many presets.
It uses the implementation of Moorer's early reflection model and Jon Dattorro's Progenitor Reverb from the Freeverb3 signal processing library.
https://www.elephantdsp.com/products/room-reverb/

%prep
%setup -q

ln -s %{_prefix}/src/JUCE8* Libs/JUCE
sed -i -e 's/FORMATS\ VST3\ AU/FORMATS\ VST3\ VST/' CMakeLists.txt

%build
%cmake
%cmake_build

%install
mkdir -p %{buildroot}%{_libdir}/vst
install build/%{name}_artefacts/RelWithDebInfo/VST/* %{buildroot}%{_libdir}/vst/
mkdir -p %{buildroot}%{_libdir}/vst3
cp -r build/%{name}_artefacts/RelWithDebInfo/VST3/*.vst3 %{buildroot}%{_libdir}/vst3/
mkdir -p %{buildroot}%{_libdir}/lv2
cp -r build/%{name}_artefacts/RelWithDebInfo/LV2/*.lv2 %{buildroot}%{_libdir}/lv2/
mkdir -p %{buildroot}%{_libdir}/clap
cp -r build/%{name}_artefacts/RelWithDebInfo/CLAP/*.clap %{buildroot}%{_libdir}/clap/

%files -n vst-%{name}
%dir %{_libdir}/vst
%{_libdir}/vst/
%doc README.md
%license LICENSE

%files -n vst3-%{name}
%{_libdir}/vst3/
%doc README.md
%license LICENSE

%files -n lv2-%{name}
%{_libdir}/lv2/
%doc README.md

%files -n clap-%{name}
%{_libdir}/clap/
%doc README.md

%license LICENSE

%changelog
openSUSE Build Service is sponsored by