File paulxstretch.spec of Package paulxstretch
#
# spec file for package _name_
#
# 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: paulxstretch
Version: 1.6.0
Release: 0
Summary: Extreme Audio Timestretching application and plugin
License: GPL-3.0-only
Group: Productivity/Multimedia/Sound/Midi
URL: https://github.com/essej/paulxstretch
Source0: %{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(fftw3f)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(freetype2)
BuildRequires: libjack-devel
BuildRequires: libcurl-devel
BuildRequires: Mesa-libGL-devel
BuildRequires: libXrandr-devel
BuildRequires: libXcursor-devel
BuildRequires: JUCE6-devel
BuildRequires: lv2-devel
BuildRequires: cmake
%description
PaulXStretch - Plugin for extreme time stretching and other spectral processing of audio
This application/plugin is based on the PaulStretch algorithm. (Paul’s Extreme Time Stretch, originally developed by Nasca Octavian Paul),
and specifically the PaulXStretch version from Xenakios. The UI has been updated and adapted for various screen sizes.
PaulXStretch is only suitable for radical transformation of sounds. It is not suitable at all for subtle time or pitch corrections and such.
Ambient music and sound design are probably the most suitable use cases. It can turn any short audio into an hours long ambient soundscape without batting an eye!
%package -n vst3-%{name}
Summary: Extreme Audio Timestretching application and plugin (VST3)
%description -n vst3-%{name}
PaulXStretch - Plugin for extreme time stretching and other spectral processing of audio
This application/plugin is based on the PaulStretch algorithm. (Paul’s Extreme Time Stretch, originally developed by Nasca Octavian Paul),
and specifically the PaulXStretch version from Xenakios. The UI has been updated and adapted for various screen sizes.
PaulXStretch is only suitable for radical transformation of sounds. It is not suitable at all for subtle time or pitch corrections and such.
Ambient music and sound design are probably the most suitable use cases. It can turn any short audio into an hours long ambient soundscape without batting an eye!
%package -n clap-%{name}
Summary: Extreme Audio Timestretching application and plugin (VST3)
%description -n clap-%{name}
PaulXStretch - Plugin for extreme time stretching and other spectral processing of audio
This application/plugin is based on the PaulStretch algorithm. (Paul’s Extreme Time Stretch, originally developed by Nasca Octavian Paul),
and specifically the PaulXStretch version from Xenakios. The UI has been updated and adapted for various screen sizes.
PaulXStretch is only suitable for radical transformation of sounds. It is not suitable at all for subtle time or pitch corrections and such.
Ambient music and sound design are probably the most suitable use cases. It can turn any short audio into an hours long ambient soundscape without batting an eye!
%prep
%setup -q
%build
cmake -B cmake-build -DCMAKE_BUILD_TYPE=Release
cmake --build cmake-build %{?_smp_mflags}
%install
mkdir -p %{buildroot}%{_bindir}
install cmake-build/PaulXStretch_artefacts/Release/Standalone/* %{buildroot}%{_bindir}/
mkdir -p %{buildroot}%{_libdir}/vst3
cp -r cmake-build/PaulXStretch_artefacts/Release/VST3/*.vst3 %{buildroot}%{_libdir}/vst3/
mkdir -p %{buildroot}%{_libdir}/clap
cp -r cmake-build/PaulXStretch_artefacts/Release/CLAP/*.clap %{buildroot}%{_libdir}/clap/
%files
%{_bindir}/*
%license LICENSE
%doc README.md
%files -n vst3-%{name}
%{_libdir}/vst3/
%doc README.md
%license LICENSE
%files -n clap-%{name}
%{_libdir}/clap/
%doc README.md
%license LICENSE
%changelog