Группа :: Звук
Пакет: jconvolver
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# Unpackaged files in buildroot should terminate build
%define _unpackaged_files_terminate_build 1
%define _localstatedir %_var
Summary: Real-time Convolution Engine
Name: jconvolver
Version: 1.0.3
Release: alt3
License: GPLv2+
Group: Sound
Url: https://kokkinizita.linuxaudio.org
Source: https://kokkinizita.linuxaudio.org/downloads/%name-%version.tar.bz2
Patch: jconvolver-1.0.3-get_ldflags_from_jack_pc.patch
Obsoletes: jace <= 0.2.0
Provides: jace = %EVR
Obsoletes: jconv <= 0.8.1
Provides: jconv = %EVR
BuildRequires: gcc-c++
BuildRequires: clthreads-devel
BuildRequires: pkgconfig(jack)
BuildRequires: libsndfile-devel
BuildRequires: zita-convolver-devel >= 4.0.0
%description
Jconvolver is a real-time convolution engine. It can execute up to a 64 by 64
convolution matrix (i.e. 4096 simultaneous convolutions) as long as your CPU(s)
can handle the load. It is designed to be efficient also for sparse (e.g.
diagonal) matrices. Unused matrix elements do not take any CPY time.
%prep
%setup
%autopatch -p1
# fix paths of configuration files
find config-files/ -name \*.conf \
-exec sed -i -e "s|/audio/reverbs|%_datadir/%name/reverbs|g" {} \; \
-exec sed -i -e "s|^#/cd |/cd |g" {} \;
# Fix optflags
%__subst 's|-march=native|%optflags|' source/Makefile
# Fix for build with pipewire
%__subst "s|-ljack|$(pkg-config --libs jack)|" source/Makefile
%build
%make_build -C source
%install
%makeinstall_std PREFIX=%prefix -C source
# install configuration files and demo reverbs
mkdir -p %buildroot%_datadir/%name
cp -a config-files/* %buildroot%_datadir/%name
%files
%doc AUTHORS README* COPYING
%_bindir/*
%_datadir/%name/
%changelog
…
Полный changelog можно просмотреть здесь
%define _unpackaged_files_terminate_build 1
%define _localstatedir %_var
Summary: Real-time Convolution Engine
Name: jconvolver
Version: 1.0.3
Release: alt3
License: GPLv2+
Group: Sound
Url: https://kokkinizita.linuxaudio.org
Source: https://kokkinizita.linuxaudio.org/downloads/%name-%version.tar.bz2
Patch: jconvolver-1.0.3-get_ldflags_from_jack_pc.patch
Obsoletes: jace <= 0.2.0
Provides: jace = %EVR
Obsoletes: jconv <= 0.8.1
Provides: jconv = %EVR
BuildRequires: gcc-c++
BuildRequires: clthreads-devel
BuildRequires: pkgconfig(jack)
BuildRequires: libsndfile-devel
BuildRequires: zita-convolver-devel >= 4.0.0
%description
Jconvolver is a real-time convolution engine. It can execute up to a 64 by 64
convolution matrix (i.e. 4096 simultaneous convolutions) as long as your CPU(s)
can handle the load. It is designed to be efficient also for sparse (e.g.
diagonal) matrices. Unused matrix elements do not take any CPY time.
%prep
%setup
%autopatch -p1
# fix paths of configuration files
find config-files/ -name \*.conf \
-exec sed -i -e "s|/audio/reverbs|%_datadir/%name/reverbs|g" {} \; \
-exec sed -i -e "s|^#/cd |/cd |g" {} \;
# Fix optflags
%__subst 's|-march=native|%optflags|' source/Makefile
# Fix for build with pipewire
%__subst "s|-ljack|$(pkg-config --libs jack)|" source/Makefile
%build
%make_build -C source
%install
%makeinstall_std PREFIX=%prefix -C source
# install configuration files and demo reverbs
mkdir -p %buildroot%_datadir/%name
cp -a config-files/* %buildroot%_datadir/%name
%files
%doc AUTHORS README* COPYING
%_bindir/*
%_datadir/%name/
%changelog
…
Полный changelog можно просмотреть здесь