sonic-visualiser: upgrade from 1.9 to 2.3
remove obsolete patch, add new inputs
This commit is contained in:
parent
058ed07fb8
commit
845f30aa6a
@ -2,27 +2,25 @@
|
|||||||
|
|
||||||
{ stdenv, fetchurl, alsaLib, bzip2, fftw, jackaudio, libX11, liblo
|
{ stdenv, fetchurl, alsaLib, bzip2, fftw, jackaudio, libX11, liblo
|
||||||
, libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate
|
, libmad, libogg, librdf, librdf_raptor, librdf_rasqal, libsamplerate
|
||||||
, libsndfile, makeWrapper, pkgconfig, pulseaudio, qt4, redland
|
, libsndfile, pkgconfig, pulseaudio, qt5, redland
|
||||||
, rubberband, vampSDK
|
, rubberband, serd, sord, vampSDK
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "sonic-visualiser-${version}";
|
name = "sonic-visualiser-${version}";
|
||||||
version = "1.9";
|
version = "2.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://code.soundsoftware.ac.uk/attachments/download/194/${name}.tar.gz";
|
|
||||||
sha256 = "00igf7j6s8xfyxnlkbqma0yby9pknxqzy8cmh0aw95ix80cw56fq";
|
url = "http://code.soundsoftware.ac.uk/attachments/download/918/${name}.tar.gz";
|
||||||
|
sha256 = "1f06w2rin4r2mbi00bg3nmqdi2xdy9vq4jcmfanxzj3ld66ik40c";
|
||||||
};
|
};
|
||||||
patches = [(fetchurl {
|
|
||||||
url = http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/sonic-visualiser/files/sonic-visualiser-1.9-gcc47.patch;
|
|
||||||
sha256 = "0dhh111crvjvhcjqp7j9jqnvs8zmd6xrcirmzqrrnca1h0vbpkay";
|
|
||||||
name = "gcc47.patch";
|
|
||||||
})];
|
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ libsndfile qt4 fftw /* should be fftw3f ??*/ bzip2 librdf rubberband
|
[ libsndfile qt5 fftw /* should be fftw3f ??*/ bzip2 librdf rubberband
|
||||||
libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland
|
libsamplerate vampSDK alsaLib librdf_raptor librdf_rasqal redland
|
||||||
|
serd
|
||||||
|
sord
|
||||||
pkgconfig
|
pkgconfig
|
||||||
# optional
|
# optional
|
||||||
jackaudio
|
jackaudio
|
||||||
@ -33,11 +31,10 @@ stdenv.mkDerivation rec {
|
|||||||
# fishsound
|
# fishsound
|
||||||
liblo
|
liblo
|
||||||
libX11
|
libX11
|
||||||
makeWrapper
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
for i in sonic-visualiser svapp svcore svgui;
|
for i in sonic-visualiser svapp svcore svgui;
|
||||||
do cd $i && qmake -makefile PREFIX=$out && cd ..;
|
do cd $i && qmake -makefile PREFIX=$out && cd ..;
|
||||||
done
|
done
|
||||||
make
|
make
|
||||||
@ -45,19 +42,15 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/{bin,share/sonic-visualiser}
|
mkdir -p $out/{bin,share/sonic-visualiser}
|
||||||
cp sonic-visualiser/sonic-visualiser $out/bin
|
cp sonic-visualiser $out/bin/
|
||||||
cp -r sonic-visualiser/samples $out/share/sonic-visualiser/samples
|
cp -r samples $out/share/sonic-visualiser/
|
||||||
wrapProgram $out/bin/sonic-visualiser --prefix LD_LIBRARY_PATH : ${libX11}/lib
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "View and analyse contents of music audio files";
|
description = "View and analyse contents of music audio files";
|
||||||
homepage = http://www.sonicvisualiser.org/;
|
homepage = http://www.sonicvisualiser.org/;
|
||||||
license = "GPLv2";
|
license = licenses.gpl2Plus;
|
||||||
maintainers =
|
maintainers = [ maintainers.goibhniu maintainers.marcweber ];
|
||||||
[ stdenv.lib.maintainers.marcweber
|
platforms = platforms.linux;
|
||||||
stdenv.lib.maintainers.goibhniu
|
|
||||||
];
|
|
||||||
platforms = stdenv.lib.platforms.linux;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user