File lv2-sorcer.spec of Package lv2-sorcer

Name:           lv2-sorcer
Version:        1.1.3
Release:        1
Summary:        A wavetable synthesizer

Group:          Productivity/Multimedia/Other
License:        GPL-3.0
URL:            http://openavproductions.com/sorcer/
Source0:        openAV-Sorcer-release-1.1.tar.gz
Patch0:         %{name}-lv2dir.patch
Patch1:         %{name}-LV2.patch

%if %{defined fedora}
BuildRequires:  python2
%else
BuildRequires:  python
%endif

BuildRequires:  gcc-c++
BuildRequires:  lv2-devel
BuildRequires:  faust
BuildRequires:  gtkmm24-devel
BuildRequires:  cairo-devel
BuildRequires:  boost-devel
BuildRequires:  fltk-devel
BuildRequires:  non-ntk-devel
BuildRequires:  libntk1
BuildRequires:  libsndfile-devel

%description
Sorcer is a polyphonic wavetable synth LV2 plugin. Its sonic fingerprint is 
one of harsh modulated sub-bass driven walls of sound. Two morphing wavetable
oscillators and one sine oscillator provide the generation routines. The LFO
can be mapped to wavetable modulation as well as filter cutoff. An ADSR allows
for shaping the resulting sound, while a master volume finishes the signal
chain. Easily creating a variety of dubstep basslines and harsh pad sounds.

Additional presets can be found here:
 https://github.com/harryhaaren/openAV-presets

%prep
%setup -q -n openAV-Sorcer-release-1.1
%patch0 -p1
%patch1 -p1
sed -i -e "s|-O3 -Wall|%{optflags}|"\
       -e "s|main.cpp|%{optflags} main.cpp|"  \
  makefile

%build
make %{?_smp_mflags} CFLAGS="%{optflags}"

%install
make install DESTDIR=%{buildroot}%{_prefix}/lib/lv2 
chmod 644 %{buildroot}%{_prefix}/lib/lv2/*/*.ttl

%files
%defattr(-,root,root)
%doc README LICENSE
%dir %{_prefix}/lib/lv2
%{_prefix}/lib/lv2/*

%changelog
openSUSE Build Service is sponsored by