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