Group :: Sound
RPM: zam-plugins
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_enable snapshot
Name: zam-plugins
Version: 3.14
Release: alt1
Summary: A collection of LV2/LADSPA/JACK audio plugins
Group: Sound
License: GPL-2.0-only and ISC
Url: http://www.zamaudio.com/
%if_disabled snapshot
Source: https://github.com/zamaudio/%name/archive/%version/%name-%version.tar.gz
%else
Source: %name-%version.tar
%endif
BuildRequires: gcc-c++
BuildRequires: libjack-devel liblo-devel
BuildRequires: lv2-devel >= 1.8.1 ladspa_sdk
BuildRequires: libfftw3-devel >= 3.3.5
BuildRequires: libsamplerate-devel
BuildRequires: zita-convolver-devel >= 3.1.0
BuildRequires: libX11-devel libGL-devel
%description
zam-plugins is a collection of LV2/LADSPA/VST/JACK audio plugins
for sound processing developed in-house at ZamAudio.
%package -n lv2-zam-plugins
Summary: A collection of LV2/LADSPA/JACK audio plugins. LV2 version
Group: Sound
Requires: lv2 >= 1.8.1
%description -n lv2-zam-plugins
zam-plugins is a collection of LV2/LADSPA/VST/JACK audio plugins
for sound processing developed in-house at ZamAudio.
This is the LV2 version.
%package -n ladspa-zam-plugins
Summary: A collection of LV2/LADSPA/JACK audio plugins. LADSPA version
Group: Sound
Requires: ladspa_sdk
%description -n ladspa-zam-plugins
zam-plugins is a collection of LV2/LADSPA/VST/JACK audio plugins
for sound processing developed in-house at ZamAudio.
This is the LADSPA version.
%prep
%setup
%build
# dpf/Makefile.base.mk
# BASE_OPTS = -O3 -ffast-math -mtune=generic -msse -msse2 -fdata-sections -ffunction-sections
base_opts=" -ffast-math -fdata-sections -ffunction-sections"
%ifarch %ix86
base_opts+=" -msse -mfpmath=sse"
%endif
%ifarch x86_64
base_opts+=" -msse2 -mfpmath=sse"
%endif
export HAVE_ZITA_CONVOLVER=true
%define opts PREFIX=%_prefix LIBDIR=%_lib SKIP_STRIPPING=true
%make_build BASE_OPTS="$base_opts" %opts
%install
export HAVE_ZITA_CONVOLVER=true
%makeinstall_std %opts
# remove VST and DSSI plugins
rm -rf %buildroot%_libdir/vst %buildroot/*-dssi*
%files
%_bindir/*
%doc README.md NOTICE.*
%files -n lv2-zam-plugins
%_libdir/lv2/*
%doc README.md
%files -n ladspa-zam-plugins
%_libdir/ladspa/*
%doc README.md NOTICE.*
%changelog
…
Full changelog you can see here
Name: zam-plugins
Version: 3.14
Release: alt1
Summary: A collection of LV2/LADSPA/JACK audio plugins
Group: Sound
License: GPL-2.0-only and ISC
Url: http://www.zamaudio.com/
%if_disabled snapshot
Source: https://github.com/zamaudio/%name/archive/%version/%name-%version.tar.gz
%else
Source: %name-%version.tar
%endif
BuildRequires: gcc-c++
BuildRequires: libjack-devel liblo-devel
BuildRequires: lv2-devel >= 1.8.1 ladspa_sdk
BuildRequires: libfftw3-devel >= 3.3.5
BuildRequires: libsamplerate-devel
BuildRequires: zita-convolver-devel >= 3.1.0
BuildRequires: libX11-devel libGL-devel
%description
zam-plugins is a collection of LV2/LADSPA/VST/JACK audio plugins
for sound processing developed in-house at ZamAudio.
%package -n lv2-zam-plugins
Summary: A collection of LV2/LADSPA/JACK audio plugins. LV2 version
Group: Sound
Requires: lv2 >= 1.8.1
%description -n lv2-zam-plugins
zam-plugins is a collection of LV2/LADSPA/VST/JACK audio plugins
for sound processing developed in-house at ZamAudio.
This is the LV2 version.
%package -n ladspa-zam-plugins
Summary: A collection of LV2/LADSPA/JACK audio plugins. LADSPA version
Group: Sound
Requires: ladspa_sdk
%description -n ladspa-zam-plugins
zam-plugins is a collection of LV2/LADSPA/VST/JACK audio plugins
for sound processing developed in-house at ZamAudio.
This is the LADSPA version.
%prep
%setup
%build
# dpf/Makefile.base.mk
# BASE_OPTS = -O3 -ffast-math -mtune=generic -msse -msse2 -fdata-sections -ffunction-sections
base_opts=" -ffast-math -fdata-sections -ffunction-sections"
%ifarch %ix86
base_opts+=" -msse -mfpmath=sse"
%endif
%ifarch x86_64
base_opts+=" -msse2 -mfpmath=sse"
%endif
export HAVE_ZITA_CONVOLVER=true
%define opts PREFIX=%_prefix LIBDIR=%_lib SKIP_STRIPPING=true
%make_build BASE_OPTS="$base_opts" %opts
%install
export HAVE_ZITA_CONVOLVER=true
%makeinstall_std %opts
# remove VST and DSSI plugins
rm -rf %buildroot%_libdir/vst %buildroot/*-dssi*
%files
%_bindir/*
%doc README.md NOTICE.*
%files -n lv2-zam-plugins
%_libdir/lv2/*
%doc README.md
%files -n ladspa-zam-plugins
%_libdir/ladspa/*
%doc README.md NOTICE.*
%changelog
…
Full changelog you can see here