2015-05-05 23:23:26 +02:00
|
|
|
{ stdenv, fetchurl, fftwFloat }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "zita-convolver-${version}";
|
2018-06-17 17:55:26 +02:00
|
|
|
version = "4.0.0";
|
2015-05-05 23:23:26 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
|
2018-06-17 17:55:26 +02:00
|
|
|
sha256 = "0fx7f48ls0rlndqrmd4k7ifpnml39yxzc2f0n6xyysypgn06y673";
|
2015-05-05 23:23:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ fftwFloat ];
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
cd libs
|
|
|
|
sed -e "s@ldconfig@@" -i Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
make PREFIX="$out" SUFFIX="" install
|
|
|
|
|
|
|
|
# create lib link for building apps
|
|
|
|
ln -s $out/lib/libzita-convolver.so.$version $out/lib/libzita-convolver.so.3
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Convolution library by Fons Adriaensen";
|
|
|
|
version = "${version}";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html;
|
2015-05-05 23:23:26 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|