File lv2-infamousPlugins.spec of Package lv2-infamousPlugins

#
# spec file for package infamousPlugins
#
# 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/
#


%define realname infamousPlugins
Name:           lv2-infamousPlugins
Version:        0.3.2
Release:        0
Summary:        Audio plugins in the LV2 format, developed for linux
License:        GPL-2.0-or-later
Group:          Productivity/Multimedia/Sound/Utilities
URL:            https://github.com/ssj71/infamousPlugins
Source:         %{realname}-%{version}.tar.gz
BuildRequires:  cairo-devel
BuildRequires:  cmake
BuildRequires:  fftw3-devel
BuildRequires:  gcc-c++
BuildRequires:  lv2-devel
BuildRequires:  non-ntk-devel
BuildRequires:  non-ntk-fluid
BuildRequires:  zita-resampler-devel

%description
These are audio plugins in the LV2 format, developed for linux. Most are suitable for live use.

Currently this collection consists of:

Cellular Automaton Synth - an additive synthesizer, where 16 harmonics are added according to rules of elementary cellular automata
Envelope Follower - a fully featured envelope follower plugin
Hip2B - a distortion/destroyer plugin
cheap distortion - another distortion plugin, but this one as light as possible
stuck - a clone of the electro-harmonix freeze
power cut - this effect is commonly called tape stop
power up - this is the opposite of the power cut
ewham - a whammy style pitchshifter based on the algorithm in Fons Adriaensen's AT1 pitch corrector
duffer - a duffing oscillator driven by the input

AUTHOR: Spencer Jackson

%prep
%setup -q -n %{realname}-%{version}
%autopatch -p1

%build
cmake -DLIBDIR=%{_lib} -DCMAKE_INSTALL_PREFIX=%{_prefix} .
CFLAGS="%{optflags}" \
CPPFLAGS="%{optflags}" \
CXXFLAGS="%{optflags}" \
	make %{?_smp_mflags} pkglibdir=%{_libdir}/%{name}

%install
make DESTDIR=%{buildroot} LIBDIR=%{_lib} install

%files
%{_bindir}/infamous-rule
%dir /%{_libdir}/lv2
%{_libdir}/lv2/*

%changelog
openSUSE Build Service is sponsored by