speechd: clean up

This commit is contained in:
Jan Tojnar 2020-01-30 19:02:04 +01:00
parent e59dcf8cce
commit 6d799c394c
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,6 +1,15 @@
{ stdenv, pkgconfig, fetchurl, python3Packages { stdenv
, intltool, itstool, libtool, texinfo, autoreconfHook , pkgconfig
, glib, dotconf, libsndfile , fetchurl
, python3Packages
, intltool
, itstool
, libtool
, texinfo
, autoreconfHook
, glib
, dotconf
, libsndfile
, withLibao ? true, libao , withLibao ? true, libao
, withPulse ? false, libpulseaudio , withPulse ? false, libpulseaudio
, withAlsa ? false, alsaLib , withAlsa ? false, alsaLib
@ -35,11 +44,29 @@ in stdenv.mkDerivation rec {
sha256 = "1wvck00w9ixildaq6hlhnf6wa576y02ac96lp6932h3k1n08jaiw"; sha256 = "1wvck00w9ixildaq6hlhnf6wa576y02ac96lp6932h3k1n08jaiw";
}; };
nativeBuildInputs = [ pkgconfig autoreconfHook intltool libtool itstool texinfo wrapPython ]; nativeBuildInputs = [
pkgconfig
autoreconfHook
intltool
libtool
itstool
texinfo
wrapPython
];
buildInputs = [ glib dotconf libsndfile libao libpulseaudio alsaLib python ] buildInputs = [
++ optionals withEspeak [ espeak sonic pcaudiolib ] glib
++ optional withFlite flite dotconf
libsndfile
libao
libpulseaudio
alsaLib
python
] ++ optionals withEspeak [
espeak
sonic
pcaudiolib
] ++ optional withFlite flite
++ optional withPico svox ++ optional withPico svox
# TODO: add flint/festival support with festival-freebsoft-utils package # TODO: add flint/festival support with festival-freebsoft-utils package
# ++ optional withFestival festival-freebsoft-utils # ++ optional withFestival festival-freebsoft-utils
@ -73,7 +100,7 @@ in stdenv.mkDerivation rec {
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Common interface to speech synthesis"; description = "Common interface to speech synthesis";
homepage = https://devel.freebsoft.org/speechd; homepage = "https://devel.freebsoft.org/speechd";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = with maintainers; [ berce ]; maintainers = with maintainers; [ berce ];
platforms = platforms.linux; platforms = platforms.linux;