2011-05-05 01:54:03 +02:00
|
|
|
# TODO add plugins having various licenses, see http://www.vamp-plugins.org/download.html
|
|
|
|
|
2021-06-10 04:57:09 +02:00
|
|
|
{ lib, stdenv, fetchurl, alsa-lib, bzip2, fftw, libjack2, libX11, liblo
|
2020-08-31 04:55:58 +02:00
|
|
|
, libmad, lrdf, librdf_raptor, librdf_rasqal, libsamplerate
|
|
|
|
, libsndfile, pkg-config, libpulseaudio, qtbase, qtsvg, redland
|
2020-03-26 21:29:35 +01:00
|
|
|
, rubberband, serd, sord, vamp-plugin-sdk, fftwFloat
|
2020-02-16 23:52:24 +01:00
|
|
|
, 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-08-31 04:55:58 +02:00
|
|
|
version = "4.2";
|
2011-05-05 01:54:03 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-08-31 04:55:58 +02:00
|
|
|
url = "https://code.soundsoftware.ac.uk/attachments/download/2755/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1wsvranhvdl21ksbinbgb55qvs3g2d4i57ssj1vx2aln6m01ms9q";
|
2011-05-05 01:54:03 +02:00
|
|
|
};
|
|
|
|
|
2020-08-31 04:55:58 +02:00
|
|
|
nativeBuildInputs = [ pkg-config wrapQtAppsHook ];
|
2011-05-05 01:54:03 +02:00
|
|
|
buildInputs =
|
2020-03-23 00:18:53 +01:00
|
|
|
[ libsndfile qtbase qtsvg fftw fftwFloat bzip2 lrdf rubberband
|
2021-06-10 04:57:09 +02:00
|
|
|
libsamplerate vamp-plugin-sdk alsa-lib 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
|
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
|
|
|
# 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
|
|
|
'';
|
|
|
|
|
2020-08-31 04:55:58 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2011-05-05 01:54:03 +02:00
|
|
|
description = "View and analyse contents of music audio files";
|
2020-04-01 03:11:51 +02: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
|
|
|
};
|
|
|
|
}
|