diff options
author | William A. Kennington III <william@wkennington.com> | 2015-04-25 15:04:54 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-04-25 21:27:53 -0700 |
commit | f9afdf62b9fb4a4aaf3cbaf815608582f9b85397 (patch) | |
tree | d2973d2014acb1ff95802e76d91f7869b7314421 /pkgs/development/libraries/speex | |
parent | 6e2b9cf61a85a8532cb132b4c5c3b677d9eb74fb (diff) |
speex: 1.2rc1 -> 1.2rc2
Diffstat (limited to 'pkgs/development/libraries/speex')
-rw-r--r-- | pkgs/development/libraries/speex/default.nix | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/pkgs/development/libraries/speex/default.nix b/pkgs/development/libraries/speex/default.nix index 93a01a3d2bcba..9a1c00e63b9d3 100644 --- a/pkgs/development/libraries/speex/default.nix +++ b/pkgs/development/libraries/speex/default.nix @@ -1,12 +1,32 @@ -{ stdenv, fetchurl, libogg }: +{ stdenv, fetchurl, autoreconfHook, pkgconfig, fftw, speexdsp }: stdenv.mkDerivation rec { - name = "speex-1.2rc1"; + name = "speex-1.2rc2"; src = fetchurl { url = "http://downloads.us.xiph.org/releases/speex/${name}.tar.gz"; - sha256 = "19mpkhbz3s08snvndn0h1dk2j139max6b0rr86nnsjmxazf30brl"; + sha256 = "14g8ph39inkrif749lzjm089g7kwk0hymq1a3i9ch5gz8xr7r8na"; }; + + postPatch = '' + sed -i '/AC_CONFIG_MACRO_DIR/i PKG_PROG_PKG_CONFIG' configure.ac + ''; - buildInputs = [ libogg ]; + 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 ]; + }; } |