speex: 1.2rc1 -> 1.2rc2

This commit is contained in:
William A. Kennington III 2015-04-25 15:04:54 -07:00
parent 6e2b9cf61a
commit f9afdf62b9
2 changed files with 27 additions and 5 deletions

View File

@ -1,12 +1,32 @@
{ stdenv, fetchurl, libogg }: { stdenv, fetchurl, autoreconfHook, pkgconfig, fftw, speexdsp }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "speex-1.2rc1"; name = "speex-1.2rc2";
src = fetchurl { src = fetchurl {
url = "http://downloads.us.xiph.org/releases/speex/${name}.tar.gz"; url = "http://downloads.us.xiph.org/releases/speex/${name}.tar.gz";
sha256 = "19mpkhbz3s08snvndn0h1dk2j139max6b0rr86nnsjmxazf30brl"; sha256 = "14g8ph39inkrif749lzjm089g7kwk0hymq1a3i9ch5gz8xr7r8na";
}; };
buildInputs = [ libogg ]; postPatch = ''
sed -i '/AC_CONFIG_MACRO_DIR/i PKG_PROG_PKG_CONFIG' configure.ac
'';
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ fftw speexdsp ];
# TODO: Remove this will help with immediate backward compatability
propagatedBuildInputs = [ speexdsp ];
configureFlags = [
"--with-fft=gpl-fftw3"
];
meta = with stdenv.lib; {
hompage = http://www.speex.org/;
description = "an Open Source/Free Software patent-free audio compression format designed for speech";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ wkennington ];
};
} }

View File

@ -7600,7 +7600,9 @@ let
speech_tools = callPackage ../development/libraries/speech-tools {}; speech_tools = callPackage ../development/libraries/speech-tools {};
speex = callPackage ../development/libraries/speex { }; speex = callPackage ../development/libraries/speex {
fftw = fftwFloat;
};
speexdsp = callPackage ../development/libraries/speexdsp { speexdsp = callPackage ../development/libraries/speexdsp {
fftw = fftwFloat; fftw = fftwFloat;