puredata: 0.47-1 -> 0.48-0

This commit is contained in:
Bart Brouns 2017-12-07 13:43:06 +01:00
parent 11d0cccf56
commit 3aab3198f8

View file

@ -1,30 +1,31 @@
{ stdenv, fetchurl, autoreconfHook, gettext, makeWrapper
, alsaLib, libjack2, tk
, alsaLib, libjack2, tk, fftw
}:
stdenv.mkDerivation rec {
name = "puredata-${version}";
version = "0.47-1";
version = "0.48-0";
src = fetchurl {
url = "http://msp.ucsd.edu/Software/pd-${version}.src.tar.gz";
sha256 = "0k5s949kqd7yw97h3m8z81bjz32bis9m4ih8df1z0ymipnafca67";
sha256 = "0wy9kl2v00fl27x4mfzhbca415hpaisp6ls8a6mkl01qbw20krny";
};
patchPhase = ''
rm portaudio/configure.in
'';
nativeBuildInputs = [ autoreconfHook gettext makeWrapper ];
buildInputs = [ alsaLib libjack2 ];
buildInputs = [ alsaLib libjack2 fftw ];
configureFlags = ''
--enable-alsa
--enable-jack
--enable-fftw
--disable-portaudio
'';
# https://github.com/pure-data/pure-data/issues/188
# --disable-oss
postInstall = ''
wrapProgram $out/bin/pd --prefix PATH : ${tk}/bin
'';