File oi-grandad.spec of Package oi-grandad
#
# spec file for package oi-grandad
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2022 Konstantin Voinov konstantin.voinov@google.com
#
# 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: oi-grandad
Version: 1.1.5
Release: 0
Summary: 4 Voice Granular Synth
License: GPL-3.0-only
URL: https://github.com/publicsamples/Oi-Grandad
Source0: %{name}-%{version}.tar.gz
BuildRequires: HISE
BuildRequires: gcc-c++
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(freetype2)
BuildRequires: Mesa-libGL-devel
BuildRequires: libXrandr-devel
BuildRequires: libXcursor-devel
BuildRequires: libjack-devel
BuildRequires: libcurl-devel
BuildRequires: ladspa-devel
%description
Oi, Grandad! is a 4 voice granular synthesiser inspired by modular synthesis and certain, "lazy" DAW compositon workflows.
Oi, Grandad! is built with HISE.
It features:
- 4 independant granular voices with extensive controls
- 12 indepentantly triggered complex modulation sources
- Tracking modulation
- Drone button for sustained playback
- Delay per voice
Presets & Samples:
https://github.com/publicsamples/Oi-Grandad/releases/download/0.9.4/Sounds.Presets.zip
unzip it into ~/.config directory
%package -n vst3-%{name}
Summary: 4 Voice Granular Synth (VST3)
%description -n vst3-%{name}
Oi, Grandad! is a 4 voice granular synthesiser inspired by modular synthesis and certain, "lazy" DAW compositon workflows.
Oi, Grandad! is built with HISE.
It features:
- 4 independant granular voices with extensive controls
- 12 indepentantly triggered complex modulation sources
- Tracking modulation
- Drone button for sustained playback
- Delay per voice
Presets & Samples:
https://github.com/publicsamples/Oi-Grandad/releases/download/0.9.4/Sounds.Presets.zip
unzip it into ~/.config directory
%prep
%setup -q
%build
cd oi\ grandad/
%define CURDIR `pwd`
HISE set_hise_folder -p:/usr/lib64/HISE
sed -i 's/UseIPP value="Yes"/UseIPP value="No"/' ~/.hise/compilerSettings.xml
HISE set_project_folder -p:"%{CURDIR}"
HISE export_ci XmlPresetBackups/oi\ grandad.xml -p:VST3 -a:x86x64 -t:instrument
/usr/lib64/HISE/tools/projucer/Projucer --resave Binaries/AutogeneratedProject.jucer
CONFIG=Release make %{?_smp_mflags} -C Binaries/Builds/LinuxMakefile/
%install
cd oi\ grandad/
mkdir -p %{buildroot}%{_libdir}/vst3
cp -r Binaries/Builds/LinuxMakefile/build/*.vst3 %{buildroot}%{_libdir}/vst3/
%files -n vst3-%{name}
%license LICENSE
%doc README.md
%{_libdir}/vst3/
%changelog