mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
Adding espeakedit, phoneme editor for espeak.
I've no idea how to use it still.
This commit is contained in:
parent
8c128db32e
commit
602fde4ad4
31
pkgs/applications/audio/espeak/edit.nix
Normal file
31
pkgs/applications/audio/espeak/edit.nix
Normal file
@ -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+";
|
||||
};
|
||||
}
|
@ -6791,6 +6791,8 @@ let
|
||||
|
||||
espeak = callPackage ../applications/audio/espeak { };
|
||||
|
||||
espeakedit = callPackage ../applications/audio/espeak/edit.nix { };
|
||||
|
||||
esniper = callPackage ../applications/networking/esniper { };
|
||||
|
||||
etherape = callPackage ../applications/networking/sniffers/etherape {
|
||||
|
Loading…
Reference in New Issue
Block a user