adding sonic visualizer (music analysis app)
svn path=/nixpkgs/trunk/; revision=17325
This commit is contained in:
parent
b2791eaa70
commit
8cce0a0db4
45
pkgs/applications/audio/sonic-visualizer/default.nix
Normal file
45
pkgs/applications/audio/sonic-visualizer/default.nix
Normal file
@ -0,0 +1,45 @@
|
||||
# TODO add plugins having various licenses, see http://www.vamp-plugins.org/download.html
|
||||
|
||||
args: with args;
|
||||
stdenv.mkDerivation {
|
||||
|
||||
#TODO add plugins!
|
||||
|
||||
name = "sonic-visualizer";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://downloads.sourceforge.net/sv1/sonic-visualiser-1.6.tar.bz2;
|
||||
sha256 = "1dbqqa7anii2jnjpfwm4sr83nn4bwmz68xw4n6clycsz5iqk52f5";
|
||||
};
|
||||
|
||||
buildInputs = [libsndfile qt fftw /* should be fftw3f ??*/ bzip2 librdf rubberband
|
||||
libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland
|
||||
# optional
|
||||
jackaudio
|
||||
# portaudio
|
||||
pulseaudio
|
||||
libmad
|
||||
|
||||
libogg # ?
|
||||
# fishsound
|
||||
liblo
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
qmake -makefile PREFIX=$out && make
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out/{bin,share/sv}
|
||||
cp sv/sonic-visualiser $out/bin
|
||||
cp -r sv/samples $out/share/sv/samples
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "view and analyse contents of music audio files";
|
||||
homepage = http://www.sonicvisualiser.org/;
|
||||
license = "GPLv2";
|
||||
maintainers = [args.lib.maintainers.marcweber];
|
||||
platforms = args.lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -7349,6 +7349,14 @@ let
|
||||
inherit guile mesa libtool jackaudio alsaLib;
|
||||
};
|
||||
|
||||
sonicVisualizer = import ../applications/audio/sonic-visualizer {
|
||||
inherit fetchurl stdenv lib libsndfile libsamplerate bzip2 librdf
|
||||
rubberband jackaudio pulseaudio libmad
|
||||
libogg liblo alsaLib librdf_raptor librdf_rasqal redland fftw;
|
||||
inherit (vamp) vampSDK;
|
||||
qt = qt4;
|
||||
};
|
||||
|
||||
sox = import ../applications/misc/audio/sox {
|
||||
inherit fetchurl stdenv lib composableDerivation;
|
||||
# optional features
|
||||
|
Loading…
Reference in New Issue
Block a user