Merge pull request #7715 from magnetophon/ir.lv2-master

add ir.lv2, a convolution plugin.
This commit is contained in:
cillianderoiste 2015-05-06 19:01:29 +02:00
commit cb9a681131
4 changed files with 78 additions and 1 deletions

View File

@ -0,0 +1,40 @@
{ stdenv, fetchurl, gtk, lv2, libsamplerate, libsndfile, pkgconfig, zita-convolver }:
stdenv.mkDerivation rec {
name = "ir.lv2-${version}";
version = "1.2.2";
src = fetchurl {
url = "http://factorial.hu/system/files/${name}.tar.gz";
sha256 = "17a6h2mv9xv41jpbx6bdakkngin4kqzh2v67l4076ddq609k5a7v";
};
buildInputs = [ gtk lv2 libsamplerate libsndfile pkgconfig zita-convolver ];
buildPhase = ''
make
make convert4chan
'';
installPhase = ''
mkdir "$out/bin"
mkdir "$out/include"
mkdir "$out/share"
mkdir "$out/share/doc"
make PREFIX="$out" install
install -Dm755 convert4chan "$out/bin/convert4chan"
# fixed location
sed -i 's/, but seem like its gone://' README
sed -i 's@rhythminmind.net/1313@rhythminmind.net/STN@' README
install -Dm644 README "$out/share/doc/README"
'';
meta = with stdenv.lib; {
homepage = http://factorial.hu/plugins/lv2/ir;
description = "Zero-latency, realtime, high performance signal convolver especially for creating reverb effects";
license = licenses.gpl2;
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
};
}

View File

@ -0,0 +1,33 @@
{ stdenv, fetchurl, fftwFloat }:
stdenv.mkDerivation rec {
name = "zita-convolver-${version}";
version = "3.1.0";
src = fetchurl {
url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
sha256 = "14qrnczhp5mbwhky64il7kxc4hl1mmh495v60va7i2qnhasr6zmz";
};
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}";
homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.magnetophon ];
platforms = stdenv.lib.platforms.linux;
};
}

View File

@ -7994,7 +7994,9 @@ let
czmq = callPackage ../development/libraries/czmq { };
zita-alsa-pcmi = callPackage ../development/libraries/zita-alsa-pcmi { };
zita-convolver = callPackage ../development/libraries/audio/zita-convolver { };
zita-alsa-pcmi = callPackage ../development/libraries/audio/zita-alsa-pcmi { };
zziplib = callPackage ../development/libraries/zziplib { };
@ -11198,6 +11200,8 @@ let
irssi_otr = callPackage ../applications/networking/irc/irssi/otr { };
ir.lv2 = callPackage ../applications/audio/ir.lv2 { };
bip = callPackage ../applications/networking/irc/bip { };
jabref = callPackage ../applications/office/jabref/default.nix { };