flite: 2.0 -> 2.1, switch to fetchFromGitHub, enable ALSA
This commit is contained in:
parent
d4be6b330e
commit
e6c63e9fc7
@ -1,16 +1,21 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchFromGitHub, alsaLib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "flite-2.0.0";
|
name = "flite-2.1.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "http://www.festvox.org/flite/packed/flite-2.0/${name}-release.tar.bz2";
|
owner = "festvox";
|
||||||
sha256 = "04g4r83jh4cl0irc8bg7njngcah7749956v9s6sh552kzmh3i337";
|
repo = "flite";
|
||||||
|
rev = "d673f65b2c4a8cd3da7447079309a6dc4bcf1a5e";
|
||||||
|
sha256 = "1kx43jvdln370590gfjhxxz3chxfi6kq18504wmdpljib2l0grjq";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./fix-rpath.patch ];
|
buildInputs = [ alsaLib ];
|
||||||
|
|
||||||
configureFlags = [ "--enable-shared" ];
|
configureFlags = [
|
||||||
|
"--enable-shared"
|
||||||
|
"--with-audio=alsa"
|
||||||
|
];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
--- a/main/Makefile
|
|
||||||
+++ b/main/Makefile
|
|
||||||
@@ -81 +80,1 @@ ifdef SHFLAGS
|
|
||||||
-flite_LIBS_flags += -Wl,-rpath $(LIBDIR)
|
|
||||||
+flite_LIBS_flags += -Wl,-rpath,$(INSTALLLIBDIR)
|
|
Loading…
Reference in New Issue
Block a user