|
|
1f83ba2 |
%global gittag 3.12
|
|
|
30b6161 |
%global dpf DPF
|
|
|
30b6161 |
|
|
|
1f83ba2 |
# DPF git submodule
|
|
|
9f51648 |
%global commit1 68b3a57a78d814810972584ed571662fe5cfb8f0
|
|
|
30b6161 |
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
|
|
|
30b6161 |
|
|
|
30b6161 |
Name: zam-plugins
|
|
|
30b6161 |
Version: %{gittag}
|
|
|
1f83ba2 |
Release: 1%{?dist}
|
|
|
30b6161 |
Summary: A collection of LV2/LADSPA/JACK audio plugins
|
|
|
30b6161 |
|
|
|
30b6161 |
License: GPLv2+ and ISC
|
|
|
30b6161 |
URL: http://www.zamaudio.com/
|
|
|
30b6161 |
Source0: https://github.com/zamaudio/%{name}/archive/%{gittag}/%{name}-%{version}.tar.gz
|
|
|
30b6161 |
Source1: https://github.com/DISTRHO/DPF/archive/%{commit1}/%{dpf}-%{shortcommit1}.tar.gz
|
|
|
30b6161 |
|
|
|
30b6161 |
BuildRequires: gcc
|
|
|
30b6161 |
BuildRequires: gcc-c++
|
|
|
30b6161 |
BuildRequires: jack-audio-connection-kit-devel
|
|
|
30b6161 |
BuildRequires: libX11-devel
|
|
|
30b6161 |
BuildRequires: mesa-libGL-devel
|
|
|
30b6161 |
BuildRequires: liblo-devel
|
|
|
30b6161 |
BuildRequires: lv2-devel >= 1.8.1
|
|
|
30b6161 |
BuildRequires: ladspa-devel
|
|
|
30b6161 |
BuildRequires: fftw-devel >= 3.3.5
|
|
|
30b6161 |
BuildRequires: libsamplerate-devel
|
|
|
9f51648 |
BuildRequires: zita-convolver-devel >= 4.0.0
|
|
|
30b6161 |
|
|
|
30b6161 |
%package -n lv2-zam-plugins
|
|
|
30b6161 |
Summary: A collection of LV2/LADSPA/JACK audio plugins. LV2 version
|
|
|
30b6161 |
Requires: lv2 >= 1.8.1
|
|
|
30b6161 |
|
|
|
30b6161 |
%package -n ladspa-zam-plugins
|
|
|
30b6161 |
Summary: A collection of LV2/LADSPA/JACK audio plugins. LADSPA version
|
|
|
30b6161 |
Requires: ladspa
|
|
|
30b6161 |
|
|
|
30b6161 |
%description
|
|
|
30b6161 |
zam-plugins is a collection of LV2/LADSPA/VST/JACK audio plugins
|
|
|
30b6161 |
for sound processing developed in-house at ZamAudio.
|
|
|
30b6161 |
|
|
|
30b6161 |
%description -n lv2-zam-plugins
|
|
|
30b6161 |
zam-plugins is a collection of LV2/LADSPA/VST/JACK audio plugins
|
|
|
30b6161 |
for sound processing developed in-house at ZamAudio.
|
|
|
30b6161 |
This is the LV2 version.
|
|
|
30b6161 |
|
|
|
30b6161 |
%description -n ladspa-zam-plugins
|
|
|
30b6161 |
zam-plugins is a collection of LV2/LADSPA/VST/JACK audio plugins
|
|
|
30b6161 |
for sound processing developed in-house at ZamAudio.
|
|
|
30b6161 |
This is the LADSPA version.
|
|
|
30b6161 |
|
|
|
30b6161 |
%prep
|
|
|
30b6161 |
%autosetup -a 1 -p 1
|
|
|
30b6161 |
# Move submodule DPF to main source directory
|
|
|
30b6161 |
rmdir dpf
|
|
|
30b6161 |
mv %{dpf}-%{commit1} dpf
|
|
|
30b6161 |
|
|
|
30b6161 |
%build
|
|
|
30b6161 |
# These are realtime audio plugins, so we need the fastest possible math,
|
|
|
30b6161 |
# flags for x86_64 are set to be compatible with most AMD and Intel CPUs,
|
|
|
30b6161 |
# and to use the best possible SIMD instruction set.
|
|
|
30b6161 |
flags=" -ffast-math"
|
|
|
30b6161 |
|
|
|
30b6161 |
%ifarch %{ix86}
|
|
|
30b6161 |
flags+=" -msse -mfpmath=sse"
|
|
|
30b6161 |
%endif
|
|
|
30b6161 |
|
|
|
30b6161 |
%ifarch x86_64
|
|
|
30b6161 |
flags+=" -msse2 -mfpmath=sse"
|
|
|
30b6161 |
%endif
|
|
|
30b6161 |
|
|
|
30b6161 |
%set_build_flags
|
|
|
30b6161 |
|
|
|
30b6161 |
%make_build PREFIX=%{_prefix} LIBDIR=%{_lib} USE_SYSTEM_LIBS=1 \
|
|
|
30b6161 |
BASE_OPTS="${flags}" LINK_OPTS="%{__global_ldflags}"
|
|
|
30b6161 |
|
|
|
30b6161 |
%install
|
|
|
30b6161 |
%make_install PREFIX=%{_prefix} LIBDIR=%{_lib} USE_SYSTEM_LIBS=1
|
|
|
30b6161 |
# We don't need VST and DSSI plugins
|
|
|
30b6161 |
rm -rf %{buildroot}%{_libdir}/vst %{buildroot}/*-dssi*
|
|
|
30b6161 |
|
|
|
30b6161 |
%files
|
|
|
30b6161 |
%{_bindir}/*
|
|
|
9f51648 |
%license COPYING
|
|
|
30b6161 |
%doc README.md
|
|
|
30b6161 |
|
|
|
30b6161 |
%files -n lv2-zam-plugins
|
|
|
30b6161 |
%{_libdir}/lv2/*
|
|
|
9f51648 |
%license COPYING
|
|
|
30b6161 |
%doc README.md
|
|
|
30b6161 |
|
|
|
30b6161 |
%files -n ladspa-zam-plugins
|
|
|
30b6161 |
%{_libdir}/ladspa/*
|
|
|
9f51648 |
%license COPYING
|
|
|
30b6161 |
%doc README.md
|
|
|
30b6161 |
|
|
|
30b6161 |
%changelog
|
|
|
1f83ba2 |
* Fri Dec 20 2019 Guido Aulisi <guido.aulisi@gmail.com> - 3.12-1
|
|
|
1f83ba2 |
- Version 3.12
|
|
|
1f83ba2 |
|
|
|
20c438d |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.11-2
|
|
|
20c438d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
20c438d |
|
|
|
9f51648 |
* Thu Jun 13 2019 Guido Aulisi <guido.aulisi@gmail.com> - 3.11-1
|
|
|
9f51648 |
- Version 3.11
|
|
|
9f51648 |
|
|
|
a42c40f |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.10-5
|
|
|
a42c40f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
a42c40f |
|
|
|
519a31f |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.10-4
|
|
|
519a31f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
519a31f |
|
|
|
ded0166 |
* Tue May 15 2018 Guido Aulisi <guido.aulisi@gmail.com> - 3.10-3
|
|
|
ded0166 |
- Escape macros in changelog
|
|
|
ded0166 |
|
|
|
30b6161 |
* Sun May 13 2018 Guido Aulisi <guido.aulisi@gmail.com> - 3.10-2
|
|
|
ded0166 |
- Use set_build_flags macro
|
|
|
30b6161 |
- Document Patch0
|
|
|
30b6161 |
|
|
|
30b6161 |
* Wed May 9 2018 Guido Aulisi <guido.aulisi@gmail.com> - 3.10-1
|
|
|
30b6161 |
- Version 3.10
|