pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/espeak-ng



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Mar 11 08:03:45 UTC 2024

Added Files:
        pkgsrc/audio/espeak-ng: DESCR Makefile PLIST buildlink3.mk distinfo
            options.mk
        pkgsrc/audio/espeak-ng/patches: patch-src_libespeak-ng_spect.c
            patch-src_libespeak-ng_speech.c

Log Message:
audio/espeak-ng: import espeak-ng-1.51

Packaged for wip by adr.

The eSpeak NG is a compact open source software text-to-speech
synthesizer for Linux, Windows, Android and other operating
systems. It supports more than 100 languages and accents. It is based
on the eSpeak engine created by Jonathan Duddington.

eSpeak NG uses a "formant synthesis" method. This allows many
languages to be provided in a small size. The speech is clear, and can
be used at high speeds, but is not as natural or smooth as larger
synthesizers which are based on human speech recordings. It also
supports Klatt formant synthesis, and the ability to use MBROLA as
backend speech synthesizer.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/espeak-ng/DESCR \
    pkgsrc/audio/espeak-ng/Makefile pkgsrc/audio/espeak-ng/PLIST \
    pkgsrc/audio/espeak-ng/buildlink3.mk pkgsrc/audio/espeak-ng/distinfo \
    pkgsrc/audio/espeak-ng/options.mk
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/audio/espeak-ng/patches/patch-src_libespeak-ng_spect.c \
    pkgsrc/audio/espeak-ng/patches/patch-src_libespeak-ng_speech.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/audio/espeak-ng/DESCR
diff -u /dev/null pkgsrc/audio/espeak-ng/DESCR:1.1
--- /dev/null   Mon Mar 11 08:03:45 2024
+++ pkgsrc/audio/espeak-ng/DESCR        Mon Mar 11 08:03:45 2024
@@ -0,0 +1,11 @@
+The eSpeak NG is a compact open source software text-to-speech
+synthesizer for Linux, Windows, Android and other operating
+systems. It supports more than 100 languages and accents. It is based
+on the eSpeak engine created by Jonathan Duddington.
+
+eSpeak NG uses a "formant synthesis" method. This allows many
+languages to be provided in a small size. The speech is clear, and can
+be used at high speeds, but is not as natural or smooth as larger
+synthesizers which are based on human speech recordings. It also
+supports Klatt formant synthesis, and the ability to use MBROLA as
+backend speech synthesizer.
Index: pkgsrc/audio/espeak-ng/Makefile
diff -u /dev/null pkgsrc/audio/espeak-ng/Makefile:1.1
--- /dev/null   Mon Mar 11 08:03:45 2024
+++ pkgsrc/audio/espeak-ng/Makefile     Mon Mar 11 08:03:45 2024
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1 2024/03/11 08:03:45 wiz Exp $
+
+DISTNAME=      espeak-ng-1.51
+CATEGORIES=    audio
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=espeak-ng/}
+GITHUB_TAG=    refs/tags/1.51
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/espeak-ng/espeak-ng/
+COMMENT=       Open source speech synthesizer
+LICENSE=       gnu-gpl-v3 AND apache-2.0 AND 2-clause-bsd AND unicode
+
+DEPENDS+=      mbrola-[0-9]*:../../audio/mbrola
+
+WRKSRC=                ${WRKDIR}/${DISTNAME}
+
+USE_TOOLS+=    autoconf automake autoreconf gmake
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_LANGUAGES= c c++
+
+.include "../../mk/bsd.prefs.mk"
+
+# -D_NETBSD_SOURCE for mkstemp in /usr/include/stdlib.h
+.if ${OPSYS} == "NetBSD"
+CFLAGS+=       -D_NETBSD_SOURCE
+.endif
+
+CONFIGURE_ARGS+=       CFLAGS=${CFLAGS:M*:Q}
+
+PKGCONFIG_OVERRIDE+=   espeak-ng.pc.in
+
+SUBST_CLASSES+=                mbrola
+SUBST_STAGE.mbrola=    pre-configure
+SUBST_FILES.mbrola=    src/libespeak-ng/synth_mbrola.c
+SUBST_SED.mbrola=      -e s,/usr/share/mbrola/%s/%s,${PREFIX}/share/mbrola/voices/%s/%s,g
+SUBST_MESSAGE.mbrola=  Fixing hardcoded mbrola path.
+
+# Makefile.am: error: required file './AUTHORS' not found
+pre-configure:
+       set -e; cd ${WRKSRC} && touch AUTHORS NEWS && autoreconf -fi
+
+.include "options.mk"
+.include "../../audio/pcaudiolib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/espeak-ng/PLIST
diff -u /dev/null pkgsrc/audio/espeak-ng/PLIST:1.1
--- /dev/null   Mon Mar 11 08:03:45 2024
+++ pkgsrc/audio/espeak-ng/PLIST        Mon Mar 11 08:03:45 2024
@@ -0,0 +1,504 @@
+@comment $NetBSD: PLIST,v 1.1 2024/03/11 08:03:45 wiz Exp $
+bin/espeak
+bin/espeak-ng
+bin/speak
+bin/speak-ng
+include/espeak-ng/encoding.h
+include/espeak-ng/espeak_ng.h
+include/espeak-ng/speak_lib.h
+include/espeak/speak_lib.h
+lib/libespeak-ng.la
+lib/libespeak.la
+lib/pkgconfig/espeak-ng.pc
+share/espeak-ng-data/af_dict
+share/espeak-ng-data/am_dict
+share/espeak-ng-data/an_dict
+share/espeak-ng-data/ar_dict
+share/espeak-ng-data/as_dict
+share/espeak-ng-data/az_dict
+share/espeak-ng-data/ba_dict
+share/espeak-ng-data/be_dict
+share/espeak-ng-data/bg_dict
+share/espeak-ng-data/bn_dict
+share/espeak-ng-data/bpy_dict
+share/espeak-ng-data/bs_dict
+share/espeak-ng-data/ca_dict
+share/espeak-ng-data/chr_dict
+share/espeak-ng-data/cmn_dict
+share/espeak-ng-data/cs_dict
+share/espeak-ng-data/cv_dict
+share/espeak-ng-data/cy_dict
+share/espeak-ng-data/da_dict
+share/espeak-ng-data/de_dict
+share/espeak-ng-data/el_dict
+share/espeak-ng-data/en_dict
+share/espeak-ng-data/eo_dict
+share/espeak-ng-data/es_dict
+share/espeak-ng-data/et_dict
+share/espeak-ng-data/eu_dict
+share/espeak-ng-data/fa_dict
+share/espeak-ng-data/fi_dict
+share/espeak-ng-data/fr_dict
+share/espeak-ng-data/ga_dict
+share/espeak-ng-data/gd_dict
+share/espeak-ng-data/gn_dict
+share/espeak-ng-data/grc_dict
+share/espeak-ng-data/gu_dict
+share/espeak-ng-data/hak_dict
+share/espeak-ng-data/haw_dict
+share/espeak-ng-data/he_dict
+share/espeak-ng-data/hi_dict
+share/espeak-ng-data/hr_dict
+share/espeak-ng-data/ht_dict
+share/espeak-ng-data/hu_dict
+share/espeak-ng-data/hy_dict
+share/espeak-ng-data/ia_dict
+share/espeak-ng-data/id_dict
+share/espeak-ng-data/intonations
+share/espeak-ng-data/io_dict
+share/espeak-ng-data/is_dict
+share/espeak-ng-data/it_dict
+share/espeak-ng-data/ja_dict
+share/espeak-ng-data/jbo_dict
+share/espeak-ng-data/ka_dict
+share/espeak-ng-data/kk_dict
+share/espeak-ng-data/kl_dict
+share/espeak-ng-data/kn_dict
+share/espeak-ng-data/ko_dict
+share/espeak-ng-data/kok_dict
+share/espeak-ng-data/ku_dict
+share/espeak-ng-data/ky_dict
+share/espeak-ng-data/la_dict
+share/espeak-ng-data/lang/aav/vi
+share/espeak-ng-data/lang/aav/vi-VN-x-central
+share/espeak-ng-data/lang/aav/vi-VN-x-south
+share/espeak-ng-data/lang/art/eo
+share/espeak-ng-data/lang/art/ia
+share/espeak-ng-data/lang/art/io
+share/espeak-ng-data/lang/art/jbo
+share/espeak-ng-data/lang/art/lfn
+share/espeak-ng-data/lang/art/piqd
+share/espeak-ng-data/lang/art/py
+share/espeak-ng-data/lang/art/qdb
+share/espeak-ng-data/lang/art/qya
+share/espeak-ng-data/lang/art/sjn
+share/espeak-ng-data/lang/azc/nci
+share/espeak-ng-data/lang/bat/lt
+share/espeak-ng-data/lang/bat/ltg
+share/espeak-ng-data/lang/bat/lv
+share/espeak-ng-data/lang/bnt/sw
+share/espeak-ng-data/lang/bnt/tn
+share/espeak-ng-data/lang/ccs/ka
+share/espeak-ng-data/lang/cel/cy
+share/espeak-ng-data/lang/cel/ga
+share/espeak-ng-data/lang/cel/gd
+share/espeak-ng-data/lang/cus/om
+share/espeak-ng-data/lang/dra/kn
+share/espeak-ng-data/lang/dra/ml
+share/espeak-ng-data/lang/dra/ta
+share/espeak-ng-data/lang/dra/te
+share/espeak-ng-data/lang/esx/kl
+share/espeak-ng-data/lang/eu
+share/espeak-ng-data/lang/gmq/da
+share/espeak-ng-data/lang/gmq/is
+share/espeak-ng-data/lang/gmq/nb
+share/espeak-ng-data/lang/gmq/sv
+share/espeak-ng-data/lang/gmw/af
+share/espeak-ng-data/lang/gmw/de
+share/espeak-ng-data/lang/gmw/en
+share/espeak-ng-data/lang/gmw/en-029
+share/espeak-ng-data/lang/gmw/en-GB-scotland
+share/espeak-ng-data/lang/gmw/en-GB-x-gbclan
+share/espeak-ng-data/lang/gmw/en-GB-x-gbcwmd
+share/espeak-ng-data/lang/gmw/en-GB-x-rp
+share/espeak-ng-data/lang/gmw/en-US
+share/espeak-ng-data/lang/gmw/en-US-nyc
+share/espeak-ng-data/lang/gmw/lb
+share/espeak-ng-data/lang/gmw/nl
+share/espeak-ng-data/lang/grk/el
+share/espeak-ng-data/lang/grk/grc
+share/espeak-ng-data/lang/inc/as
+share/espeak-ng-data/lang/inc/bn
+share/espeak-ng-data/lang/inc/bpy
+share/espeak-ng-data/lang/inc/gu
+share/espeak-ng-data/lang/inc/hi
+share/espeak-ng-data/lang/inc/kok
+share/espeak-ng-data/lang/inc/mr
+share/espeak-ng-data/lang/inc/ne
+share/espeak-ng-data/lang/inc/or
+share/espeak-ng-data/lang/inc/pa
+share/espeak-ng-data/lang/inc/sd
+share/espeak-ng-data/lang/inc/si
+share/espeak-ng-data/lang/inc/ur
+share/espeak-ng-data/lang/ine/hy
+share/espeak-ng-data/lang/ine/hyw
+share/espeak-ng-data/lang/ine/sq
+share/espeak-ng-data/lang/ira/fa
+share/espeak-ng-data/lang/ira/fa-Latn
+share/espeak-ng-data/lang/ira/ku
+share/espeak-ng-data/lang/iro/chr
+share/espeak-ng-data/lang/itc/la
+share/espeak-ng-data/lang/jpx/ja
+share/espeak-ng-data/lang/ko
+share/espeak-ng-data/lang/map/haw
+share/espeak-ng-data/lang/myn/quc
+share/espeak-ng-data/lang/poz/id
+share/espeak-ng-data/lang/poz/mi
+share/espeak-ng-data/lang/poz/ms
+share/espeak-ng-data/lang/qu
+share/espeak-ng-data/lang/roa/an
+share/espeak-ng-data/lang/roa/ca
+share/espeak-ng-data/lang/roa/es
+share/espeak-ng-data/lang/roa/es-419
+share/espeak-ng-data/lang/roa/fr
+share/espeak-ng-data/lang/roa/fr-BE
+share/espeak-ng-data/lang/roa/fr-CH
+share/espeak-ng-data/lang/roa/ht
+share/espeak-ng-data/lang/roa/it
+share/espeak-ng-data/lang/roa/pap
+share/espeak-ng-data/lang/roa/pt
+share/espeak-ng-data/lang/roa/pt-BR
+share/espeak-ng-data/lang/roa/ro
+share/espeak-ng-data/lang/sai/gn
+share/espeak-ng-data/lang/sem/am
+share/espeak-ng-data/lang/sem/ar
+share/espeak-ng-data/lang/sem/he
+share/espeak-ng-data/lang/sem/mt
+share/espeak-ng-data/lang/sit/cmn
+share/espeak-ng-data/lang/sit/cmn-Latn-pinyin
+share/espeak-ng-data/lang/sit/hak
+share/espeak-ng-data/lang/sit/my
+share/espeak-ng-data/lang/sit/yue
+share/espeak-ng-data/lang/sit/yue-Latn-jyutping
+share/espeak-ng-data/lang/tai/shn
+share/espeak-ng-data/lang/tai/th
+share/espeak-ng-data/lang/trk/az
+share/espeak-ng-data/lang/trk/ba
+share/espeak-ng-data/lang/trk/cv
+share/espeak-ng-data/lang/trk/kk
+share/espeak-ng-data/lang/trk/ky
+share/espeak-ng-data/lang/trk/nog
+share/espeak-ng-data/lang/trk/tk
+share/espeak-ng-data/lang/trk/tr
+share/espeak-ng-data/lang/trk/tt
+share/espeak-ng-data/lang/trk/ug
+share/espeak-ng-data/lang/trk/uz
+share/espeak-ng-data/lang/urj/et
+share/espeak-ng-data/lang/urj/fi
+share/espeak-ng-data/lang/urj/hu
+share/espeak-ng-data/lang/urj/smj
+share/espeak-ng-data/lang/zle/be
+share/espeak-ng-data/lang/zle/ru
+share/espeak-ng-data/lang/zle/ru-LV
+share/espeak-ng-data/lang/zle/uk
+share/espeak-ng-data/lang/zls/bg
+share/espeak-ng-data/lang/zls/bs
+share/espeak-ng-data/lang/zls/hr
+share/espeak-ng-data/lang/zls/mk
+share/espeak-ng-data/lang/zls/sl
+share/espeak-ng-data/lang/zls/sr
+share/espeak-ng-data/lang/zlw/cs
+share/espeak-ng-data/lang/zlw/pl
+share/espeak-ng-data/lang/zlw/sk
+share/espeak-ng-data/lb_dict
+share/espeak-ng-data/lfn_dict
+share/espeak-ng-data/lt_dict
+share/espeak-ng-data/lv_dict
+share/espeak-ng-data/mbrola_ph/af1_phtrans
+share/espeak-ng-data/mbrola_ph/ar1_phtrans
+share/espeak-ng-data/mbrola_ph/ar2_phtrans
+share/espeak-ng-data/mbrola_ph/ca_phtrans
+share/espeak-ng-data/mbrola_ph/cmn_phtrans
+share/espeak-ng-data/mbrola_ph/cr1_phtrans
+share/espeak-ng-data/mbrola_ph/cs_phtrans
+share/espeak-ng-data/mbrola_ph/de2_phtrans
+share/espeak-ng-data/mbrola_ph/de4_phtrans
+share/espeak-ng-data/mbrola_ph/de6_phtrans
+share/espeak-ng-data/mbrola_ph/de8_phtrans
+share/espeak-ng-data/mbrola_ph/ee1_phtrans
+share/espeak-ng-data/mbrola_ph/en1_phtrans
+share/espeak-ng-data/mbrola_ph/es3_phtrans
+share/espeak-ng-data/mbrola_ph/es4_phtrans
+share/espeak-ng-data/mbrola_ph/es_phtrans
+share/espeak-ng-data/mbrola_ph/fr_phtrans
+share/espeak-ng-data/mbrola_ph/gr1_phtrans
+share/espeak-ng-data/mbrola_ph/gr2_phtrans
+share/espeak-ng-data/mbrola_ph/grc-de6_phtrans
+share/espeak-ng-data/mbrola_ph/he_phtrans
+share/espeak-ng-data/mbrola_ph/hn1_phtrans
+share/espeak-ng-data/mbrola_ph/hu1_phtrans
+share/espeak-ng-data/mbrola_ph/ic1_phtrans
+share/espeak-ng-data/mbrola_ph/id1_phtrans
+share/espeak-ng-data/mbrola_ph/in_phtrans
+share/espeak-ng-data/mbrola_ph/ir1_phtrans
+share/espeak-ng-data/mbrola_ph/it1_phtrans
+share/espeak-ng-data/mbrola_ph/it3_phtrans
+share/espeak-ng-data/mbrola_ph/jp_phtrans
+share/espeak-ng-data/mbrola_ph/la1_phtrans
+share/espeak-ng-data/mbrola_ph/lt_phtrans
+share/espeak-ng-data/mbrola_ph/ma1_phtrans
+share/espeak-ng-data/mbrola_ph/mx1_phtrans
+share/espeak-ng-data/mbrola_ph/mx2_phtrans
+share/espeak-ng-data/mbrola_ph/nl_phtrans
+share/espeak-ng-data/mbrola_ph/nz1_phtrans
+share/espeak-ng-data/mbrola_ph/pl1_phtrans
+share/espeak-ng-data/mbrola_ph/pt1_phtrans
+share/espeak-ng-data/mbrola_ph/ptbr4_phtrans
+share/espeak-ng-data/mbrola_ph/ptbr_phtrans
+share/espeak-ng-data/mbrola_ph/ro1_phtrans
+share/espeak-ng-data/mbrola_ph/sv2_phtrans
+share/espeak-ng-data/mbrola_ph/sv_phtrans
+share/espeak-ng-data/mbrola_ph/tl1_phtrans
+share/espeak-ng-data/mbrola_ph/tr1_phtrans
+share/espeak-ng-data/mbrola_ph/us3_phtrans
+share/espeak-ng-data/mbrola_ph/us_phtrans
+share/espeak-ng-data/mbrola_ph/vz_phtrans
+share/espeak-ng-data/mi_dict
+share/espeak-ng-data/mk_dict
+share/espeak-ng-data/ml_dict
+share/espeak-ng-data/mr_dict
+share/espeak-ng-data/ms_dict
+share/espeak-ng-data/mt_dict
+share/espeak-ng-data/my_dict
+share/espeak-ng-data/nci_dict
+share/espeak-ng-data/ne_dict
+share/espeak-ng-data/nl_dict
+share/espeak-ng-data/no_dict
+share/espeak-ng-data/nog_dict
+share/espeak-ng-data/om_dict
+share/espeak-ng-data/or_dict
+share/espeak-ng-data/pa_dict
+share/espeak-ng-data/pap_dict
+share/espeak-ng-data/phondata
+share/espeak-ng-data/phondata-manifest
+share/espeak-ng-data/phonindex
+share/espeak-ng-data/phontab
+share/espeak-ng-data/piqd_dict
+share/espeak-ng-data/pl_dict
+share/espeak-ng-data/pt_dict
+share/espeak-ng-data/py_dict
+share/espeak-ng-data/qdb_dict
+share/espeak-ng-data/qu_dict
+share/espeak-ng-data/quc_dict
+share/espeak-ng-data/qya_dict
+share/espeak-ng-data/ro_dict
+share/espeak-ng-data/ru_dict
+share/espeak-ng-data/sd_dict
+share/espeak-ng-data/shn_dict
+share/espeak-ng-data/si_dict
+share/espeak-ng-data/sjn_dict
+share/espeak-ng-data/sk_dict
+share/espeak-ng-data/sl_dict
+share/espeak-ng-data/smj_dict
+share/espeak-ng-data/sq_dict
+share/espeak-ng-data/sr_dict
+share/espeak-ng-data/sv_dict
+share/espeak-ng-data/sw_dict
+share/espeak-ng-data/ta_dict
+share/espeak-ng-data/te_dict
+share/espeak-ng-data/th_dict
+share/espeak-ng-data/tk_dict
+share/espeak-ng-data/tn_dict
+share/espeak-ng-data/tr_dict
+share/espeak-ng-data/tt_dict
+share/espeak-ng-data/ug_dict
+share/espeak-ng-data/uk_dict
+share/espeak-ng-data/ur_dict
+share/espeak-ng-data/uz_dict
+share/espeak-ng-data/vi_dict
+share/espeak-ng-data/voices/!v/Alex
+share/espeak-ng-data/voices/!v/Alicia
+share/espeak-ng-data/voices/!v/Andrea
+share/espeak-ng-data/voices/!v/Andy
+share/espeak-ng-data/voices/!v/Annie
+share/espeak-ng-data/voices/!v/AnxiousAndy
+share/espeak-ng-data/voices/!v/Demonic
+share/espeak-ng-data/voices/!v/Denis
+share/espeak-ng-data/voices/!v/Diogo
+share/espeak-ng-data/voices/!v/Gene
+share/espeak-ng-data/voices/!v/Gene2
+share/espeak-ng-data/voices/!v/Henrique
+share/espeak-ng-data/voices/!v/Hugo
+share/espeak-ng-data/voices/!v/Jacky
+share/espeak-ng-data/voices/!v/Lee
+share/espeak-ng-data/voices/!v/Marco
+share/espeak-ng-data/voices/!v/Mario
+share/espeak-ng-data/voices/!v/Michael
+share/espeak-ng-data/voices/!v/Mike
+share/espeak-ng-data/voices/!v/Mr serious
+share/espeak-ng-data/voices/!v/Nguyen
+share/espeak-ng-data/voices/!v/RicishayMax
+share/espeak-ng-data/voices/!v/RicishayMax2
+share/espeak-ng-data/voices/!v/RicishayMax3
+share/espeak-ng-data/voices/!v/Storm
+share/espeak-ng-data/voices/!v/Tweaky
+share/espeak-ng-data/voices/!v/UniRobot
+share/espeak-ng-data/voices/!v/adam
+share/espeak-ng-data/voices/!v/anika
+share/espeak-ng-data/voices/!v/anikaRobot
+share/espeak-ng-data/voices/!v/announcer
+share/espeak-ng-data/voices/!v/antonio
+share/espeak-ng-data/voices/!v/aunty
+share/espeak-ng-data/voices/!v/belinda
+share/espeak-ng-data/voices/!v/benjamin
+share/espeak-ng-data/voices/!v/boris
+share/espeak-ng-data/voices/!v/caleb
+share/espeak-ng-data/voices/!v/croak
+share/espeak-ng-data/voices/!v/david
+share/espeak-ng-data/voices/!v/ed
+share/espeak-ng-data/voices/!v/edward
+share/espeak-ng-data/voices/!v/edward2
+share/espeak-ng-data/voices/!v/f1
+share/espeak-ng-data/voices/!v/f2
+share/espeak-ng-data/voices/!v/f3
+share/espeak-ng-data/voices/!v/f4
+share/espeak-ng-data/voices/!v/f5
+share/espeak-ng-data/voices/!v/fast
+share/espeak-ng-data/voices/!v/grandma
+share/espeak-ng-data/voices/!v/grandpa
+share/espeak-ng-data/voices/!v/gustave
+share/espeak-ng-data/voices/!v/iven
+share/espeak-ng-data/voices/!v/iven2
+share/espeak-ng-data/voices/!v/iven3
+share/espeak-ng-data/voices/!v/iven4
+share/espeak-ng-data/voices/!v/john
+share/espeak-ng-data/voices/!v/kaukovalta
+share/espeak-ng-data/voices/!v/klatt
+share/espeak-ng-data/voices/!v/klatt2
+share/espeak-ng-data/voices/!v/klatt3
+share/espeak-ng-data/voices/!v/klatt4
+share/espeak-ng-data/voices/!v/klatt5
+share/espeak-ng-data/voices/!v/klatt6
+share/espeak-ng-data/voices/!v/linda
+share/espeak-ng-data/voices/!v/m1
+share/espeak-ng-data/voices/!v/m2
+share/espeak-ng-data/voices/!v/m3
+share/espeak-ng-data/voices/!v/m4
+share/espeak-ng-data/voices/!v/m5
+share/espeak-ng-data/voices/!v/m6
+share/espeak-ng-data/voices/!v/m7
+share/espeak-ng-data/voices/!v/m8
+share/espeak-ng-data/voices/!v/marcelo
+share/espeak-ng-data/voices/!v/max
+share/espeak-ng-data/voices/!v/michel
+share/espeak-ng-data/voices/!v/miguel
+share/espeak-ng-data/voices/!v/norbert
+share/espeak-ng-data/voices/!v/pablo
+share/espeak-ng-data/voices/!v/paul
+share/espeak-ng-data/voices/!v/pedro
+share/espeak-ng-data/voices/!v/quincy
+share/espeak-ng-data/voices/!v/rob
+share/espeak-ng-data/voices/!v/robert
+share/espeak-ng-data/voices/!v/robosoft
+share/espeak-ng-data/voices/!v/robosoft2
+share/espeak-ng-data/voices/!v/robosoft3
+share/espeak-ng-data/voices/!v/robosoft4
+share/espeak-ng-data/voices/!v/robosoft5
+share/espeak-ng-data/voices/!v/robosoft6
+share/espeak-ng-data/voices/!v/robosoft7
+share/espeak-ng-data/voices/!v/robosoft8
+share/espeak-ng-data/voices/!v/sandro
+share/espeak-ng-data/voices/!v/shelby
+share/espeak-ng-data/voices/!v/steph
+share/espeak-ng-data/voices/!v/steph2
+share/espeak-ng-data/voices/!v/steph3
+share/espeak-ng-data/voices/!v/travis
+share/espeak-ng-data/voices/!v/victor
+share/espeak-ng-data/voices/!v/whisper
+share/espeak-ng-data/voices/!v/whisperf
+share/espeak-ng-data/voices/!v/zac
+share/espeak-ng-data/voices/mb/mb-af1
+share/espeak-ng-data/voices/mb/mb-af1-en
+share/espeak-ng-data/voices/mb/mb-ar1
+share/espeak-ng-data/voices/mb/mb-ar2
+share/espeak-ng-data/voices/mb/mb-br1
+share/espeak-ng-data/voices/mb/mb-br2
+share/espeak-ng-data/voices/mb/mb-br3
+share/espeak-ng-data/voices/mb/mb-br4
+share/espeak-ng-data/voices/mb/mb-ca1
+share/espeak-ng-data/voices/mb/mb-ca2
+share/espeak-ng-data/voices/mb/mb-cn1
+share/espeak-ng-data/voices/mb/mb-cr1
+share/espeak-ng-data/voices/mb/mb-cz1
+share/espeak-ng-data/voices/mb/mb-cz2
+share/espeak-ng-data/voices/mb/mb-de1
+share/espeak-ng-data/voices/mb/mb-de1-en
+share/espeak-ng-data/voices/mb/mb-de2
+share/espeak-ng-data/voices/mb/mb-de2-en
+share/espeak-ng-data/voices/mb/mb-de3
+share/espeak-ng-data/voices/mb/mb-de3-en
+share/espeak-ng-data/voices/mb/mb-de4
+share/espeak-ng-data/voices/mb/mb-de4-en
+share/espeak-ng-data/voices/mb/mb-de5
+share/espeak-ng-data/voices/mb/mb-de5-en
+share/espeak-ng-data/voices/mb/mb-de6
+share/espeak-ng-data/voices/mb/mb-de6-en
+share/espeak-ng-data/voices/mb/mb-de6-grc
+share/espeak-ng-data/voices/mb/mb-de7
+share/espeak-ng-data/voices/mb/mb-de8
+share/espeak-ng-data/voices/mb/mb-ee1
+share/espeak-ng-data/voices/mb/mb-en1
+share/espeak-ng-data/voices/mb/mb-es1
+share/espeak-ng-data/voices/mb/mb-es2
+share/espeak-ng-data/voices/mb/mb-es3
+share/espeak-ng-data/voices/mb/mb-es4
+share/espeak-ng-data/voices/mb/mb-fr1
+share/espeak-ng-data/voices/mb/mb-fr1-en
+share/espeak-ng-data/voices/mb/mb-fr2
+share/espeak-ng-data/voices/mb/mb-fr3
+share/espeak-ng-data/voices/mb/mb-fr4
+share/espeak-ng-data/voices/mb/mb-fr4-en
+share/espeak-ng-data/voices/mb/mb-fr5
+share/espeak-ng-data/voices/mb/mb-fr6
+share/espeak-ng-data/voices/mb/mb-fr7
+share/espeak-ng-data/voices/mb/mb-gr1
+share/espeak-ng-data/voices/mb/mb-gr2
+share/espeak-ng-data/voices/mb/mb-gr2-en
+share/espeak-ng-data/voices/mb/mb-hb1
+share/espeak-ng-data/voices/mb/mb-hb2
+share/espeak-ng-data/voices/mb/mb-hu1
+share/espeak-ng-data/voices/mb/mb-hu1-en
+share/espeak-ng-data/voices/mb/mb-ic1
+share/espeak-ng-data/voices/mb/mb-id1
+share/espeak-ng-data/voices/mb/mb-in1
+share/espeak-ng-data/voices/mb/mb-in2
+share/espeak-ng-data/voices/mb/mb-ir1
+share/espeak-ng-data/voices/mb/mb-it1
+share/espeak-ng-data/voices/mb/mb-it2
+share/espeak-ng-data/voices/mb/mb-it3
+share/espeak-ng-data/voices/mb/mb-it4
+share/espeak-ng-data/voices/mb/mb-jp1
+share/espeak-ng-data/voices/mb/mb-jp2
+share/espeak-ng-data/voices/mb/mb-jp3
+share/espeak-ng-data/voices/mb/mb-la1
+share/espeak-ng-data/voices/mb/mb-lt1
+share/espeak-ng-data/voices/mb/mb-lt2
+share/espeak-ng-data/voices/mb/mb-ma1
+share/espeak-ng-data/voices/mb/mb-mx1
+share/espeak-ng-data/voices/mb/mb-mx2
+share/espeak-ng-data/voices/mb/mb-nl1
+share/espeak-ng-data/voices/mb/mb-nl2
+share/espeak-ng-data/voices/mb/mb-nl2-en
+share/espeak-ng-data/voices/mb/mb-nl3
+share/espeak-ng-data/voices/mb/mb-nz1
+share/espeak-ng-data/voices/mb/mb-pl1
+share/espeak-ng-data/voices/mb/mb-pl1-en
+share/espeak-ng-data/voices/mb/mb-pt1
+share/espeak-ng-data/voices/mb/mb-ro1
+share/espeak-ng-data/voices/mb/mb-ro1-en
+share/espeak-ng-data/voices/mb/mb-sw1
+share/espeak-ng-data/voices/mb/mb-sw1-en
+share/espeak-ng-data/voices/mb/mb-sw2
+share/espeak-ng-data/voices/mb/mb-sw2-en
+share/espeak-ng-data/voices/mb/mb-tl1
+share/espeak-ng-data/voices/mb/mb-tr1
+share/espeak-ng-data/voices/mb/mb-tr2
+share/espeak-ng-data/voices/mb/mb-us1
+share/espeak-ng-data/voices/mb/mb-us2
+share/espeak-ng-data/voices/mb/mb-us3
+share/espeak-ng-data/voices/mb/mb-vz1
+share/espeak-ng-data/yue_dict
+share/vim/addons/ftdetect/espeakfiletype.vim
+share/vim/addons/syntax/espeaklist.vim
+share/vim/addons/syntax/espeakrules.vim
+share/vim/registry/espeak.yaml
Index: pkgsrc/audio/espeak-ng/buildlink3.mk
diff -u /dev/null pkgsrc/audio/espeak-ng/buildlink3.mk:1.1
--- /dev/null   Mon Mar 11 08:03:45 2024
+++ pkgsrc/audio/espeak-ng/buildlink3.mk        Mon Mar 11 08:03:45 2024
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1 2024/03/11 08:03:45 wiz Exp $
+
+BUILDLINK_TREE+=       espeak-ng
+
+.if !defined(ESPEAK_NG_BUILDLINK3_MK)
+ESPEAK_NG_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.espeak-ng+=      espeak-ng>=1.51
+BUILDLINK_ABI_DEPENDS.espeak-ng+=      espeak-ng>=1.51
+BUILDLINK_PKGSRCDIR.espeak-ng?=                ../../audio/espeak-ng
+BUILDLINK_INCDIRS.espeak-ng?=          include/espeak-ng
+
+.include "../../audio/pcaudiolib/buildlink3.mk"
+
+pkgbase := espeak-ng
+.include "../../mk/pkg-build-options.mk"
+.if ${PKG_BUILD_OPTIONS.espeak-ng:Msonic}
+.  include "../../audio/sonic/buildlink3.mk"
+.endif
+
+.endif # ESPEAK_NG_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -espeak-ng
Index: pkgsrc/audio/espeak-ng/distinfo
diff -u /dev/null pkgsrc/audio/espeak-ng/distinfo:1.1
--- /dev/null   Mon Mar 11 08:03:45 2024
+++ pkgsrc/audio/espeak-ng/distinfo     Mon Mar 11 08:03:45 2024
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2024/03/11 08:03:45 wiz Exp $
+
+BLAKE2s (espeak-ng-1.51.tar.gz) = 7e95a1f9619984f4b349c48146a4a7a3f50f359d7043366edb1c447089b1e383
+SHA512 (espeak-ng-1.51.tar.gz) = 6c29275706d21de2d5fa393702d2f173fc05d2ce4e2f46f3bf9a2742b0a8f294177663df0d079188e31cc2541f2c21a64e09e8afffe95befab667a4d00429fd2
+Size (espeak-ng-1.51.tar.gz) = 14260788 bytes
+SHA1 (patch-src_libespeak-ng_spect.c) = 33f69d7ba5621796628477f5596e147db76e38e1
+SHA1 (patch-src_libespeak-ng_speech.c) = e4f906157b1fce54c19a740274573310b3f276fb
Index: pkgsrc/audio/espeak-ng/options.mk
diff -u /dev/null pkgsrc/audio/espeak-ng/options.mk:1.1
--- /dev/null   Mon Mar 11 08:03:45 2024
+++ pkgsrc/audio/espeak-ng/options.mk   Mon Mar 11 08:03:45 2024
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2024/03/11 08:03:45 wiz Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.espeak-ng
+PKG_SUPPORTED_OPTIONS+=        sonic
+PKG_SUGGESTED_OPTIONS+=        sonic
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Msonic)
+.  include "../../audio/sonic/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-sonic
+.else
+CONFIGURE_ARGS+=       --without-sonic
+.endif

Index: pkgsrc/audio/espeak-ng/patches/patch-src_libespeak-ng_spect.c
diff -u /dev/null pkgsrc/audio/espeak-ng/patches/patch-src_libespeak-ng_spect.c:1.1
--- /dev/null   Mon Mar 11 08:03:45 2024
+++ pkgsrc/audio/espeak-ng/patches/patch-src_libespeak-ng_spect.c       Mon Mar 11 08:03:45 2024
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_libespeak-ng_spect.c,v 1.1 2024/03/11 08:03:45 wiz Exp $
+
+Fix endian.h inclusion on NetBSD
+
+--- src/libespeak-ng/spect.c.orig      2022-04-02 19:24:41.000000000 +0000
++++ src/libespeak-ng/spect.c
+@@ -25,7 +25,12 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++
++#ifdef HAVE_SYS_ENDIAN_H
++#include <sys/endian.h>
++#else
+ #include <endian.h>
++#endif
+ 
+ #include <espeak-ng/espeak_ng.h>
+ #include <espeak-ng/speak_lib.h>
Index: pkgsrc/audio/espeak-ng/patches/patch-src_libespeak-ng_speech.c
diff -u /dev/null pkgsrc/audio/espeak-ng/patches/patch-src_libespeak-ng_speech.c:1.1
--- /dev/null   Mon Mar 11 08:03:45 2024
+++ pkgsrc/audio/espeak-ng/patches/patch-src_libespeak-ng_speech.c      Mon Mar 11 08:03:45 2024
@@ -0,0 +1,26 @@
+$NetBSD: patch-src_libespeak-ng_speech.c,v 1.1 2024/03/11 08:03:45 wiz Exp $
+
+* fifo_stop() creates a noticeable delay, call audio_object_flush() first.
+
+--- src/libespeak-ng/speech.c.orig     2022-04-02 19:24:41.000000000 +0000
++++ src/libespeak-ng/speech.c
+@@ -881,15 +881,14 @@ ESPEAK_API const char *espeak_TextToPhon
+ 
+ ESPEAK_NG_API espeak_ng_STATUS espeak_ng_Cancel(void)
+ {
+-#ifdef USE_ASYNC
+-      fifo_stop();
+-      event_clear_all();
+-#endif
+-
+ #ifdef HAVE_PCAUDIOLIB_AUDIO_H
+       if ((my_mode & ENOUTPUT_MODE_SPEAK_AUDIO) == ENOUTPUT_MODE_SPEAK_AUDIO)
+               audio_object_flush(my_audio);
+ #endif
++#ifdef USE_ASYNC
++      fifo_stop();
++      event_clear_all();
++#endif
+       embedded_value[EMBED_T] = 0; // reset echo for pronunciation announcements
+ 
+       for (int i = 0; i < N_SPEECH_PARAM; i++)



Home | Main Index | Thread Index | Old Index