Репозиторий Sisyphus
Последнее обновление: 21 октября 2019 | Пакетов: 17510 | Посещений: 15371829
en ru br
Репозитории ALT

Группа :: Звук
Пакет: 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: alt2
License: GPLv2+
Group: Sound
Url: https://kokkinizita.linuxaudio.org
Packager: Anton Midyukov <antohami at altlinux.org>

Source: https://kokkinizita.linuxaudio.org/downloads/%name-%version.tar.bz2

Obsoletes: jace <= 0.2.0
Provides: jace = %EVR
Obsoletes: jconv <= 0.8.1
Provides: jconv = %EVR

BuildRequires: gcc-c++
BuildRequires: clthreads-devel
BuildRequires: jackit-devel
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

# 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

%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 можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin