2023-03-24 07:19:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, fetchpatch2, alsa-lib, boost, bzip2, fftw, fftwFloat, libfishsound
|
2020-03-22 23:18:53 +00:00
|
|
|
, libid3tag, liblo, libmad, liboggz, libpulseaudio, libsamplerate
|
2020-03-26 20:29:35 +00:00
|
|
|
, libsndfile, lrdf, opusfile, portaudio, rubberband, serd, sord, capnproto
|
2021-01-19 06:50:56 +00:00
|
|
|
, wrapQtAppsHook, pkg-config
|
2022-09-30 23:15:58 +00:00
|
|
|
, libjack2
|
2020-02-22 19:50:47 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sonic-lineup";
|
2020-09-19 12:58:07 +00:00
|
|
|
version = "1.1";
|
2020-02-22 19:50:47 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-09-19 12:58:07 +00:00
|
|
|
url = "https://code.soundsoftware.ac.uk/attachments/download/2765/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "0k45k9fawcm4s5yy05x00pgww7j8m7k2cxcc7g0fn9vqy7vcbq9h";
|
2020-02-22 19:50:47 +00:00
|
|
|
};
|
|
|
|
|
2023-03-24 07:19:13 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch2 {
|
|
|
|
url = "https://github.com/sonic-visualiser/svcore/commit/5a7b517e43b7f0b3f03b7fc3145102cf4e5b0ffc.patch";
|
|
|
|
stripLen = 1;
|
|
|
|
extraPrefix = "svcore/";
|
|
|
|
sha256 = "sha256-DOCdQqCihkR0g/6m90DbJxw00QTpyVmFzCxagrVWKiI=";
|
|
|
|
})
|
|
|
|
./match-vamp.patch
|
|
|
|
];
|
|
|
|
|
2020-02-22 19:50:47 +00:00
|
|
|
buildInputs =
|
2021-06-10 02:57:09 +00:00
|
|
|
[ alsa-lib boost bzip2 fftw fftwFloat libfishsound libid3tag liblo
|
2020-03-22 23:18:53 +00:00
|
|
|
libmad liboggz libpulseaudio libsamplerate libsndfile lrdf opusfile
|
2020-02-22 19:50:47 +00:00
|
|
|
portaudio rubberband serd sord capnproto
|
2022-09-30 23:15:58 +00:00
|
|
|
libjack2
|
2020-02-22 19:50:47 +00:00
|
|
|
];
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config wrapQtAppsHook ];
|
2020-02-22 19:50:47 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
# comment out the tests
|
|
|
|
preConfigure = ''
|
|
|
|
sed -i 's/sub_test_svcore_/#sub_test_svcore_/' sonic-lineup.pro
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-02-22 19:50:47 +00:00
|
|
|
description = "Comparative visualisation of related audio recordings";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.sonicvisualiser.org/sonic-lineup/";
|
2020-02-22 19:50:47 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.vandenoever ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|