Merge #18648: freetts: fix build
This commit is contained in:
commit
edcaebf1d9
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, apacheAnt, unzip, sharutils, lib}:
|
{stdenv, fetchurl, apacheAnt, unzip, sharutils, lib, jdk}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "freetts-1.2.2";
|
name = "freetts-1.2.2";
|
||||||
@ -6,11 +6,11 @@ stdenv.mkDerivation {
|
|||||||
url = mirror://sourceforge/freetts/freetts-1.2.2-src.zip;
|
url = mirror://sourceforge/freetts/freetts-1.2.2-src.zip;
|
||||||
sha256 = "0mnikqhpf4f4jdr0irmibr8yy0dnffx1i257y22iamxi7a6by2r7";
|
sha256 = "0mnikqhpf4f4jdr0irmibr8yy0dnffx1i257y22iamxi7a6by2r7";
|
||||||
};
|
};
|
||||||
buildInputs = [ apacheAnt unzip sharutils ];
|
buildInputs = [ apacheAnt unzip sharutils jdk ];
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
unzip $src -x META-INF/*
|
unzip $src -x META-INF/*
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
cd */lib
|
cd */lib
|
||||||
sed -i -e "s/more/cat/" jsapi.sh
|
sed -i -e "s/more/cat/" jsapi.sh
|
||||||
@ -23,7 +23,7 @@ stdenv.mkDerivation {
|
|||||||
install -v -m755 -d $out/{lib,docs/{audio,images}}
|
install -v -m755 -d $out/{lib,docs/{audio,images}}
|
||||||
install -v -m644 lib/*.jar $out/lib
|
install -v -m644 lib/*.jar $out/lib
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Text to speech system based on Festival written in Java";
|
description = "Text to speech system based on Festival written in Java";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user