2011-05-04 23:54:03 +00:00
|
|
|
# TODO add plugins having various licenses, see http://www.vamp-plugins.org/download.html
|
|
|
|
|
2021-06-10 02:57:09 +00:00
|
|
|
{ lib, stdenv, fetchurl, alsa-lib, bzip2, fftw, libjack2, libX11, liblo
|
2020-08-31 02:55:58 +00: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
|
2023-03-19 15:16:06 +00:00
|
|
|
, wrapQtAppsHook, meson, ninja, cmake
|
2011-05-04 23:54:03 +00:00
|
|
|
}:
|
|
|
|
|
2012-06-24 14:51:42 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "sonic-visualiser";
|
2023-03-19 15:16:06 +00:00
|
|
|
version = "4.5.1";
|
2011-05-04 23:54:03 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-03-19 15:16:06 +00:00
|
|
|
url = "https://code.soundsoftware.ac.uk/attachments/download/2841/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1sgg4m3035a03ldipgysz7zqfa9pqaqa4j024gyvvcwh4ml8iasr";
|
2011-05-04 23:54:03 +00:00
|
|
|
};
|
|
|
|
|
2023-03-19 15:16:06 +00:00
|
|
|
nativeBuildInputs = [ meson ninja cmake pkg-config wrapQtAppsHook ];
|
2011-05-04 23:54:03 +00:00
|
|
|
buildInputs =
|
2020-03-22 23:18:53 +00:00
|
|
|
[ libsndfile qtbase qtsvg fftw fftwFloat bzip2 lrdf rubberband
|
2021-06-10 02:57:09 +00:00
|
|
|
libsamplerate vamp-plugin-sdk alsa-lib librdf_raptor librdf_rasqal redland
|
2014-02-18 23:13:26 +00:00
|
|
|
serd
|
|
|
|
sord
|
2011-05-04 23:54:03 +00:00
|
|
|
# optional
|
2015-06-27 07:17:52 +00:00
|
|
|
libjack2
|
2011-05-04 23:54:03 +00:00
|
|
|
# portaudio
|
2015-05-27 19:42:15 +00:00
|
|
|
libpulseaudio
|
2011-05-04 23:54:03 +00:00
|
|
|
libmad
|
2020-02-16 22:52:24 +00:00
|
|
|
libfishsound
|
2011-05-04 23:54:03 +00:00
|
|
|
liblo
|
2011-05-05 22:01:20 +00:00
|
|
|
libX11
|
2020-02-16 22:52:24 +00:00
|
|
|
capnproto
|
|
|
|
liboggz
|
|
|
|
libid3tag
|
|
|
|
opusfile
|
2011-05-04 23:54:03 +00:00
|
|
|
];
|
|
|
|
|
2020-08-31 02:55:58 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2011-05-04 23:54:03 +00:00
|
|
|
description = "View and analyse contents of music audio files";
|
2020-04-01 01:11:51 +00: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-04 23:54:03 +00:00
|
|
|
};
|
|
|
|
}
|