2021-06-28 23:13:55 +00:00
|
|
|
{ lib, stdenv, fetchurl, alsa-lib, boost, bzip2, fftw, fftwFloat, libfishsound
|
2020-04-24 23:36:52 +00:00
|
|
|
, libid3tag, liblo, libmad, liboggz, libpulseaudio, libsamplerate
|
|
|
|
, libsndfile, lrdf, opusfile, portaudio, rubberband, serd, sord, capnproto
|
2021-02-05 17:12:51 +00:00
|
|
|
, wrapQtAppsHook, pkg-config
|
2022-10-06 18:32:54 +00:00
|
|
|
, libjack2
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sonic-lineup";
|
2020-09-25 04:45:31 +00:00
|
|
|
version = "1.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-09-25 04:45:31 +00:00
|
|
|
url = "https://code.soundsoftware.ac.uk/attachments/download/2765/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0k45k9fawcm4s5yy05x00pgww7j8m7k2cxcc7g0fn9vqy7vcbq9h";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs =
|
2021-06-28 23:13:55 +00:00
|
|
|
[ alsa-lib boost bzip2 fftw fftwFloat libfishsound libid3tag liblo
|
2020-04-24 23:36:52 +00:00
|
|
|
libmad liboggz libpulseaudio libsamplerate libsndfile lrdf opusfile
|
|
|
|
portaudio rubberband serd sord capnproto
|
2022-10-06 18:32:54 +00:00
|
|
|
libjack2
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wrapQtAppsHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
# comment out the tests
|
|
|
|
preConfigure = ''
|
|
|
|
sed -i 's/sub_test_svcore_/#sub_test_svcore_/' sonic-lineup.pro
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Comparative visualisation of related audio recordings";
|
|
|
|
homepage = "https://www.sonicvisualiser.org/sonic-lineup/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.vandenoever ];
|
|
|
|
platforms = platforms.linux;
|
2022-10-06 18:32:54 +00:00
|
|
|
# undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'
|
|
|
|
broken = true; # at 2022-09-30
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|