# Status: active # Tag: Audio, Effect, Tool # Type: Standalone, Plugin, VST # Category: Tool, Audio, Effect Name: sparta Version: 1.7.1 Release: 3%{?dist} Summary: A collection of spatial audio related VST plug-ins developed using JUCE and the Spatial_Audio_Framework License: GPL-3.0-or-later URL: https://leomccormack.github.io/sparta-site/ ExclusiveArch: x86_64 aarch64 Vendor: Audinux Distribution: Audinux # Usage: ./sparta-source.sh # ./sparta-source.sh v1.7.1 Source0: SPARTA.tar.gz # Source1: https://web.archive.org/web/20181016150224/https://download.steinberg.net/sdk_downloads/vstsdk3610_11_06_2018_build_37.zip Source1: http://ycollette.free.fr/LMMS/vstsdk3610_11_06_2018_build_37.zip Source2: sparta-source.sh BuildRequires: gcc gcc-c++ BuildRequires: cmake BuildRequires: git BuildRequires: cairo-devel BuildRequires: fontconfig-devel BuildRequires: freetype-devel BuildRequires: libX11-devel BuildRequires: xcb-util-keysyms-devel BuildRequires: xcb-util-devel BuildRequires: libXrandr-devel BuildRequires: xcb-util-cursor-devel BuildRequires: libxkbcommon-x11-devel BuildRequires: libXinerama-devel BuildRequires: libcurl-devel BuildRequires: alsa-lib-devel BuildRequires: pkgconfig(jack) BuildRequires: mesa-libGL-devel BuildRequires: libXcursor-devel BuildRequires: gtk3-devel BuildRequires: webkit2gtk3-devel BuildRequires: lapack-devel BuildRequires: openblas-devel BuildRequires: fftw-devel BuildRequires: netcdf-devel BuildRequires: chrpath %description Spatial Audio Real-Time Applications (SPARTA) [1]. A collection of VST audio plug-ins for spatial audio production, reproduction and visualisation %package -n vst-%{name} Summary: VST2 version of %{name} License: GPL-3.0-or-later Requires: %{name} %description -n vst-%{name} VST2 version of %{name} %package -n lv2-%{name} Summary: LV2 version of %{name} License: GPL-3.0-or-later Requires: %{name} %description -n lv2-%{name} LV2 version of %{name} %package -n vst3-%{name} Summary: VST3 version of %{name} License: GPL-3.0-or-later Requires: %{name} %description -n vst3-%{name} VST3 version of %{name} %prep %autosetup -n SPARTA # SPARTA/SDKs/VST2_SDK unzip %{SOURCE1} mv VST_SDK/VST2_SDK SDKs/ %build %set_build_flags %cmake -DCMAKE_CXX_FLAGS="-include utility -fPIC $CXXFLAGS" \ -DSAF_PERFORMANCE_LIB=SAF_USE_OPEN_BLAS_AND_LAPACKE \ -DSAF_ENABLE_SOFA_READER_MODULE=ON \ -DSAF_ENABLE_HADES_MODULE=ON \ -DSAF_ENABLE_TRACKER_MODULE=ON \ -DSAF_USE_FFTW=ON \ -DBUILD_PLUGIN_FORMAT_LV2=ON \ -DBUILD_PLUGIN_FORMAT_VST=ON \ -DBUILD_PLUGIN_FORMAT_VST3=ON \ -DBUILD_SHARED_LIBS=ON %cmake_build %install install -m 755 -d %{buildroot}/%{_libdir}/ cp -ra %{__cmake_builddir}/SDKs/Spatial_Audio_Framework/framework/libsaf.so.* %{buildroot}%{_libdir}/ install -m 755 -d %{buildroot}/%{_libdir}/vst/ install -m 755 -d %{buildroot}/%{_libdir}/vst3/ install -m 755 -d %{buildroot}/%{_libdir}/lv2/ MODULES="_SPARTA_binauraliser_nf_/sparta_binauraliser_nf_artefacts _SPARTA_binauraliser_/sparta_binauraliser_artefacts _SPARTA_array2sh_/sparta_array2sh_artefacts _SPARTA_panner_/sparta_panner_artefacts _SPARTA_ambiRoomSim_/sparta_ambiRoomSim_artefacts _SPARTA_ambiENC_/sparta_ambiENC_artefacts _SPARTA_rotator_/sparta_rotator_artefacts _SPARTA_6DoFconv_/sparta_6DoFconv_artefacts _SPARTA_beamformer_/sparta_beamformer_artefacts _SPARTA_ambiDEC_/sparta_ambiDEC_artefacts _SPARTA_matrixConv_/sparta_matrixconv_artefacts _SPARTA_pitchShifter_/sparta_pitchShifter_artefacts _SPARTA_ambiBIN_/sparta_ambiBIN_artefacts _SPARTA_spreader_/sparta_spreader_artefacts _SPARTA_ambiDRC_/sparta_ambiDRC_artefacts _SPARTA_decorrelator_/sparta_decorrelator_artefacts _SPARTA_multiConv_/sparta_multiconv_artefacts" # TrackerTest for MODULE in $MODULES do cp -ra %{__cmake_builddir}/audio_plugins/"$MODULE"/Release/VST/* %{buildroot}%{_libdir}/vst/ cp -ra %{__cmake_builddir}/audio_plugins/"$MODULE"/Release/VST3/* %{buildroot}%{_libdir}/vst3/ cp -ra %{__cmake_builddir}/audio_plugins/"$MODULE"/Release/LV2/* %{buildroot}%{_libdir}/lv2/ done # Fix rpath for Files in `find %{buildroot}%{_libdir}/lv2/ -name "*.so"` do chrpath --delete $Files done for Files in `find %{buildroot}%{_libdir}/vst/ -name "*.so"` do chrpath --delete $Files done for Files in `find %{buildroot}%{_libdir}/vst3/ -name "*.so"` do chrpath --delete $Files done %files %doc README.md %license LICENSE %{_libdir}/* %files -n vst-%{name} %{_libdir}/vst/* %files -n lv2-%{name} %{_libdir}/lv2/* %files -n vst3-%{name} %{_libdir}/vst3/* %changelog * Thu Sep 12 2024 Yann Collette - 1.7.1-3 - update to 1.7.1-3 - enable more plugins * Mon Sep 09 2024 Yann Collette - 1.7.1-2 - update to 1.7.1-2 - fix missing so file + enable VST3 / LV2 plugins * Fri Feb 02 2024 Yann Collette - 1.7.1-1 - update to 1.7.1-1 * Mon Jan 29 2024 Yann Collette - 1.7.0-1 - update to 1.7.0-1 * Tue Sep 19 2023 Yann Collette - 1.6.2-1 - Initial spec file