2022-09-30 11:47:45 +00:00
|
|
|
{ qtModule
|
2022-12-17 10:02:37 +00:00
|
|
|
, lib
|
|
|
|
, stdenv
|
2022-09-30 11:47:45 +00:00
|
|
|
, qtbase
|
|
|
|
, qtmultimedia
|
|
|
|
, pkg-config
|
|
|
|
, flite
|
|
|
|
, alsa-lib
|
2024-07-31 10:19:44 +00:00
|
|
|
, speechd-minimal
|
2022-12-17 10:02:37 +00:00
|
|
|
, Cocoa
|
2022-09-30 11:47:45 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
qtModule {
|
|
|
|
pname = "qtspeech";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2024-07-31 10:19:44 +00:00
|
|
|
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ flite alsa-lib speechd-minimal ];
|
2023-11-16 04:20:00 +00:00
|
|
|
propagatedBuildInputs = [ qtbase qtmultimedia ]
|
2024-02-29 20:09:43 +00:00
|
|
|
++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa ];
|
2022-09-30 11:47:45 +00:00
|
|
|
}
|