# Status: active # Tag: Modular # Type: Standalone # Category: Audio, Synthesizer %global commit0 1d0f0429d9b56f1b120b0b95f0a173cc02787e53 Name: BespokeSynth-weekly Version: 1.3.10 Release: 1%{?dist} Summary: A software modular synth License: GPL-3.0-or-later URL: https://github.com/BespokeSynth/BespokeSynth ExclusiveArch: x86_64 aarch64 Vendor: Audinux Distribution: Audinux # ./bespokesynth-sources.sh # ./bespokesynth-sources.sh main Source0: BespokeSynth.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: bespokesynth-sources.sh BuildRequires: gcc gcc-c++ BuildRequires: cmake BuildRequires: patchelf BuildRequires: alsa-lib-devel BuildRequires: pulseaudio-libs-devel BuildRequires: mesa-libGL-devel BuildRequires: pkgconfig(jack) BuildRequires: python3-devel BuildRequires: pybind11-devel BuildRequires: libcurl-devel BuildRequires: freetype-devel BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXrandr-devel BuildRequires: libXinerama-devel BuildRequires: libXcursor-devel BuildRequires: gtk3-devel BuildRequires: webkit2gtk3-devel BuildRequires: libglvnd-devel BuildRequires: libusbx-devel BuildRequires: libpng-devel BuildRequires: jsoncpp-devel BuildRequires: desktop-file-utils BuildRequires: libappstream-glib Requires: youtube-dl Requires: (ffmpeg or ffmpeg-free) Obsoletes: BespokeSynth < 1.3.9 %description Bespoke is a software modular synthesizer. It contains a bunch of modules, which you can connect together to create sounds. Bespoke is like a DAW in some ways, but with less of a focus on a global timeline. Instead, it has a design more optimized for jamming and exploration. %prep %autosetup -p1 -n BespokeSynth sed -i -e "s/\.\.\/\.\.\/MacOSX\/build\/Release\/data/\/usr\/share\/BespokeSynth\/data/g" Source/OpenFrameworksPort.cpp unzip %{SOURCE1} # Manage VST path sed -i -e "s/lib\/vst/%{_lib}\/vst/g" libs/JUCE/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp sed -i -e "s/lib\/vst3/%{_lib}\/vst3/g" libs/JUCE/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp sed -i -e "s/lib\/vst3/%{_lib}\/vst3/g" VST_SDK/VST3_SDK/public.sdk/source/vst/hosting/module_linux.cpp # Work around with an incompatibility with pybind11 %if 0%{?fedora} >= 37 rm -rf libs/pybind11/include/pybind11/ ln -s /usr/include/pybind11 libs/pybind11/include/pybind11 %endif %build %set_build_flags export CXXFLAGS="$CXXFLAGS -include memory" %cmake \ -DBESPOKE_VST2_SDK_LOCATION=`pwd`/VST_SDK/VST2_SDK \ -DBESPOKE_SYSTEM_PYBIND11=ON \ -DBESPOKE_SYSTEM_JSONCPP=ON %cmake_build %install %cmake_install # Install manually some thirdparty libraries mkdir -p %{buildroot}/%{_libdir}/bespokesynth/ cp %{__cmake_builddir}/libs/push2/libpush2.so %{buildroot}/%{_libdir}/bespokesynth/ cp %{__cmake_builddir}/libs/psmove/libpsmove.so %{buildroot}/%{_libdir}/bespokesynth/ cp %{__cmake_builddir}/libs/freeverb/libfreeverb.so %{buildroot}/%{_libdir}/bespokesynth/ cp %{__cmake_builddir}/libs/oddsound-mts/liboddsound-mts.so %{buildroot}/%{_libdir}/bespokesynth/ cp %{__cmake_builddir}/libs/xwax/libxwax.so %{buildroot}/%{_libdir}/bespokesynth/ cp %{__cmake_builddir}/libs/nanovg/libnanovg.so %{buildroot}/%{_libdir}/bespokesynth/ patchelf --set-rpath '$ORIGIN/../%{_lib}/bespokesynth/' %{buildroot}/%{_bindir}/BespokeSynth # Install desktop file desktop-file-install \ --add-category="Audio" \ --delete-original \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}/%{_datadir}/applications/BespokeSynth.desktop %check desktop-file-validate %{buildroot}%{_datadir}/applications/BespokeSynth.desktop appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/com.bespokesynth.BespokeSynth.metainfo.xml %files %doc README.md %license LICENSE %{_bindir}/* %{_libdir}/bespokesynth/* %{_datadir}/applications/* %{_datadir}/BespokeSynth/* %{_datadir}/icons/* %{_datadir}/metainfo/com.bespokesynth.BespokeSynth.metainfo.xml %changelog * Sun Dec 22 2024 Yann Collette - 1.3.10-1 - Update to 1.3.10-1 - 1d0f0429d9b56f1b120b0b95f0a173cc02787e53 * Sun Dec 01 2024 Yann Collette - 1.2.10-3 - Update to 1.2.10-3 - update to bc9dd72176ec469e20f978d1cae31503593ebe86 * Thu Nov 28 2024 Yann Collette - 1.2.10-2 - Update to 1.2.10-2 - update to 09738d3fa21cf54326e7a75efe8dd2bc4183d47e * Sat Nov 02 2024 Yann Collette - 1.2.10-1 - Update to 1.2.10-1 - fix requires * Thu Sep 05 2024 Yann Collette - 1.2.9-1 - Initial spec file