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