diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2012-08-27 19:42:05 +0200 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2012-08-27 20:26:32 +0200 |
commit | 602fde4ad48d3ed21c245a804b4f64477d4126f9 (patch) | |
tree | 4a4872c38802d72cedeacc7bcea513af9b9438ce /pkgs/applications/audio/espeak | |
parent | 8c128db32e473115669a9955f16093f7ff605558 (diff) | |
download | nixlib-602fde4ad48d3ed21c245a804b4f64477d4126f9.tar nixlib-602fde4ad48d3ed21c245a804b4f64477d4126f9.tar.gz nixlib-602fde4ad48d3ed21c245a804b4f64477d4126f9.tar.bz2 nixlib-602fde4ad48d3ed21c245a804b4f64477d4126f9.tar.lz nixlib-602fde4ad48d3ed21c245a804b4f64477d4126f9.tar.xz nixlib-602fde4ad48d3ed21c245a804b4f64477d4126f9.tar.zst nixlib-602fde4ad48d3ed21c245a804b4f64477d4126f9.zip |
Adding espeakedit, phoneme editor for espeak.
I've no idea how to use it still.
Diffstat (limited to 'pkgs/applications/audio/espeak')
-rw-r--r-- | pkgs/applications/audio/espeak/edit.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/audio/espeak/edit.nix b/pkgs/applications/audio/espeak/edit.nix new file mode 100644 index 000000000000..eb34335721f0 --- /dev/null +++ b/pkgs/applications/audio/espeak/edit.nix @@ -0,0 +1,31 @@ +{stdenv, fetchurl, unzip, portaudio, wxGTK}: + +stdenv.mkDerivation { + name = "espeakedit-1.46.02"; + src = fetchurl { + url = mirror://sourceforge/espeak/espeakedit-1.46.02.zip; + sha256 = "1cc5r89sn8zz7b8wj4grx9xb7aqyi0ybj0li9hpy7hd67r56kqkl"; + }; + + buildInputs = [ unzip portaudio wxGTK ]; + + patchPhase = if portaudio.api_version == 19 then '' + cp src/portaudio19.h src/portaudio.h + '' else ""; + + buildPhase = '' + cd src + gcc -o espeakedit *.cpp `wx-config --cxxflags --libs` + ''; + + installPhase = '' + ensureDir $out/bin + cp espeakedit $out/bin + ''; + + meta = { + description = "Phoneme editor for espeak"; + homepage = http://espeak.sourceforge.net/; + license = "GPLv3+"; + }; +} |