2011-05-05 01:54:03 +02:00
|
|
|
# TODO add plugins having various licenses, see http://www.vamp-plugins.org/download.html
|
|
|
|
|
2015-06-27 09:17:52 +02:00
|
|
|
{ stdenv, fetchurl, alsaLib, bzip2, fftw, libjack2, libX11, liblo
|
2012-06-24 16:54:51 +02:00
|
|
|
, libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate
|
2020-02-16 23:52:24 +01:00
|
|
|
, libsndfile, pkgconfig, libpulseaudio, qtbase, qtsvg, redland
|
|
|
|
, rubberband, serd, sord, vampSDK, fftwFloat
|
|
|
|
, capnproto, liboggz, libfishsound, libid3tag, opusfile
|
|
|
|
, wrapQtAppsHook
|
2011-05-05 01:54:03 +02:00
|
|
|
}:
|
|
|
|
|
2012-06-24 16:51:42 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "sonic-visualiser";
|
2020-02-16 23:52:24 +01:00
|
|
|
version = "4.0.1";
|
2011-05-05 01:54:03 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-02-16 23:52:24 +01:00
|
|
|
url = "https://code.soundsoftware.ac.uk/attachments/download/2607/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "14674adzp3chilymna236qyvci3b1zmi3wyz696wk7bcd3ndpsg6";
|
2011-05-05 01:54:03 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs =
|
2020-02-16 23:52:24 +01:00
|
|
|
[ libsndfile qtbase qtsvg fftw fftwFloat bzip2 librdf rubberband
|
2011-05-05 01:54:03 +02:00
|
|
|
libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland
|
2014-02-19 00:13:26 +01:00
|
|
|
serd
|
|
|
|
sord
|
2011-05-05 01:54:03 +02:00
|
|
|
# optional
|
2015-06-27 09:17:52 +02:00
|
|
|
libjack2
|
2011-05-05 01:54:03 +02:00
|
|
|
# portaudio
|
2015-05-27 21:42:15 +02:00
|
|
|
libpulseaudio
|
2011-05-05 01:54:03 +02:00
|
|
|
libmad
|
|
|
|
libogg # ?
|
2020-02-16 23:52:24 +01:00
|
|
|
libfishsound
|
2011-05-05 01:54:03 +02:00
|
|
|
liblo
|
2011-05-06 00:01:20 +02:00
|
|
|
libX11
|
2020-02-16 23:52:24 +01:00
|
|
|
capnproto
|
|
|
|
liboggz
|
|
|
|
libid3tag
|
|
|
|
opusfile
|
2011-05-05 01:54:03 +02:00
|
|
|
];
|
|
|
|
|
2020-02-16 23:52:24 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig wrapQtAppsHook ];
|
2015-10-14 16:44:10 +02:00
|
|
|
|
2020-02-16 23:52:24 +01:00
|
|
|
enableParallelBuilding = true;
|
2011-05-05 01:54:03 +02:00
|
|
|
|
2020-02-16 23:52:24 +01:00
|
|
|
# comment out the tests
|
|
|
|
preConfigure = ''
|
|
|
|
sed -i 's/sub_test_svcore_/#sub_test_svcore_/' sonic-visualiser.pro
|
2011-05-05 01:54:03 +02:00
|
|
|
'';
|
|
|
|
|
2014-02-19 00:13:26 +01:00
|
|
|
meta = with stdenv.lib; {
|
2011-05-05 01:54:03 +02:00
|
|
|
description = "View and analyse contents of music audio files";
|
2020-01-22 11:26:22 +01:00
|
|
|
homepage = https://www.sonicvisualiser.org/;
|
2014-02-19 00:13:26 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.goibhniu maintainers.marcweber ];
|
|
|
|
platforms = platforms.linux;
|
2011-05-05 01:54:03 +02:00
|
|
|
};
|
|
|
|
}
|