File Mverb2020.spec of Package MVERB2020

#
# spec file for package Mverb2020
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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:           Mverb2020
Version:        1.1.0+git.20240902.79fb1dd
Release:        0
Summary:        Studio quality, open-source reverb (Mverb) with the standard SocaLabs UI
License:        GPL-3.0-only
Group:          Productivity/Multimedia/Sound/Midi
URL:            https://github.com/FigBug/mverb
Source0:        %{name}-%{version}.tar.gz
Patch0:         01-mverb-CMakeLists.patch
BuildRequires:  JUCE8_03-devel JUCE8_03-juceaide
BuildRequires:  Mesa-libGL-devel
BuildRequires:  cmake
%if 0%{?is_opensuse} && 0%{?suse_version} < 1600
BuildRequires:  gcc12
BuildRequires:  gcc12-c++
%else
BuildRequires:  gcc-c++
%endif
BuildRequires:  libXcursor-devel
BuildRequires:  libXrandr-devel
BuildRequires:  libcurl-devel
BuildRequires:  libjack-devel
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(alsa)
BuildRequires:  pkgconfig(fontconfig)
BuildRequires:  pkgconfig(freetype2)
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xext)
BuildRequires:  pkgconfig(xinerama)
%description
https://socalabs.com/effects/mverb2020/

Based on Mverb by Martin Eastwood Audio
Studio quality, open-source reverb. Its release is intended to provide a practical demonstration of Dattorro’s figure-of-eight reverb structure and provide the open source community with a high quality reverb.
Martin Eastwood’s version of this plugin is no longer updated, this is simply a 64 bit update of his plugin with the standard SocaLabs UI.
Free
Windows VST 32/64
Mac VST/AU 64
Linux VST/LV2

%package -n lv2-%{name}
Summary:        Studio quality, open-source reverb (Mverb) with the standard SocaLabs UI (LV2)
%description -n lv2-%{name}
https://socalabs.com/effects/mverb2020/

Based on Mverb by Martin Eastwood Audio
Studio quality, open-source reverb. Its release is intended to provide a practical demonstration of Dattorro’s figure-of-eight reverb structure and provide the open source community with a high quality reverb.
Martin Eastwood’s version of this plugin is no longer updated, this is simply a 64 bit update of his plugin with the standard SocaLabs UI.
Free
Windows VST 32/64
Mac VST/AU 64
Linux VST/LV2

%package -n vst-%{name}
Summary:        Studio quality, open-source reverb (Mverb) with the standard SocaLabs UI (VST)
%description -n vst-%{name}
https://socalabs.com/effects/mverb2020/

Based on Mverb by Martin Eastwood Audio
Studio quality, open-source reverb. Its release is intended to provide a practical demonstration of Dattorro’s figure-of-eight reverb structure and provide the open source community with a high quality reverb.
Martin Eastwood’s version of this plugin is no longer updated, this is simply a 64 bit update of his plugin with the standard SocaLabs UI.
Free
Windows VST 32/64
Mac VST/AU 64
Linux VST/LV2

%package -n vst3-%{name}
Summary:        Studio quality, open-source reverb (Mverb) with the standard SocaLabs UI (VST3)
%description -n vst3-%{name}
https://socalabs.com/effects/mverb2020/

Based on Mverb by Martin Eastwood Audio
Studio quality, open-source reverb. Its release is intended to provide a practical demonstration of Dattorro’s figure-of-eight reverb structure and provide the open source community with a high quality reverb.
Martin Eastwood’s version of this plugin is no longer updated, this is simply a 64 bit update of his plugin with the standard SocaLabs UI.
Free
Windows VST 32/64
Mac VST/AU 64
Linux VST/LV2

%prep
%setup -q
%autopatch -p1

%build
%cmake -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_STATIC_LIBS:BOOL=ON \
%if 0%{?is_opensuse} && 0%{?suse_version} < 1600
       -DCMAKE_CXX_COMPILER=g++-12
%endif

%cmake_build

%install
mkdir -p %{buildroot}%{_bindir}
install build/%{name}_artefacts/RelWithDebInfo/Standalone/%{name} %{buildroot}%{_bindir}/
mkdir -p %{buildroot}%{_libdir}/vst
install build/%{name}_artefacts/RelWithDebInfo/VST/*.so %{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/

%files
%{_bindir}/%{name}
%license LICENSE
%doc README.md

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

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

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


%changelog
openSUSE Build Service is sponsored by