sonic-visualiser: 2.4.1 -> 4.0.1

The program is no longer broken.
This commit is contained in:
Jos van den Oever 2020-02-16 23:52:24 +01:00
parent eb1ffda13c
commit 528e27b33c

View File

@ -2,21 +2,23 @@
{ stdenv, fetchurl, alsaLib, bzip2, fftw, libjack2, libX11, liblo { stdenv, fetchurl, alsaLib, bzip2, fftw, libjack2, libX11, liblo
, libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate , libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate
, libsndfile, pkgconfig, libpulseaudio, qtbase, redland , libsndfile, pkgconfig, libpulseaudio, qtbase, qtsvg, redland
, qmake, rubberband, serd, sord, vampSDK, fftwFloat , rubberband, serd, sord, vampSDK, fftwFloat
, capnproto, liboggz, libfishsound, libid3tag, opusfile
, wrapQtAppsHook
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "sonic-visualiser"; pname = "sonic-visualiser";
version = "2.4.1"; version = "4.0.1";
src = fetchurl { src = fetchurl {
url = "https://code.soundsoftware.ac.uk/attachments/download/1185/${pname}-${version}.tar.gz"; url = "https://code.soundsoftware.ac.uk/attachments/download/2607/${pname}-${version}.tar.gz";
sha256 = "06nlha70kgrby16nyhngrv5q846xagnxdinv608v7ga7vpywwmyb"; sha256 = "14674adzp3chilymna236qyvci3b1zmi3wyz696wk7bcd3ndpsg6";
}; };
buildInputs = buildInputs =
[ libsndfile qtbase fftw fftwFloat bzip2 librdf rubberband [ libsndfile qtbase qtsvg fftw fftwFloat bzip2 librdf rubberband
libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland
serd serd
sord sord
@ -26,23 +28,22 @@ stdenv.mkDerivation rec {
libpulseaudio libpulseaudio
libmad libmad
libogg # ? libogg # ?
# fishsound libfishsound
liblo liblo
libX11 libX11
capnproto
liboggz
libid3tag
opusfile
]; ];
nativeBuildInputs = [ pkgconfig qmake ]; nativeBuildInputs = [ pkgconfig wrapQtAppsHook ];
configurePhase = '' enableParallelBuilding = true;
for i in sonic-visualiser svapp svcore svgui;
do cd $i && qmake PREFIX=$out && cd ..;
done
'';
installPhase = '' # comment out the tests
mkdir -p $out/{bin,share/sonic-visualiser} preConfigure = ''
cp sonic-visualiser $out/bin/ sed -i 's/sub_test_svcore_/#sub_test_svcore_/' sonic-visualiser.pro
cp -r samples $out/share/sonic-visualiser/
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
@ -51,6 +52,5 @@ stdenv.mkDerivation rec {
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = [ maintainers.goibhniu maintainers.marcweber ]; maintainers = [ maintainers.goibhniu maintainers.marcweber ];
platforms = platforms.linux; platforms = platforms.linux;
broken = true;
}; };
} }