2f2039b4d4
noticed by: kris
102 lines
4.6 KiB
Bash
102 lines
4.6 KiB
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
|
|
echo ${WRKDIR}/voices.conf
|
|
if [ -f ${WRKDIR}/voices.conf ]; then
|
|
exit
|
|
fi
|
|
|
|
tempfile=`/usr/bin/mktemp -t checklist`
|
|
|
|
if [ -z "${BATCH}" ]; then
|
|
|
|
/usr/bin/dialog --title "MBROLA voice selection" --clear \
|
|
--checklist "\n\
|
|
Choose voices to download and install. \n\
|
|
Press the space bar to toggle selections." -1 -1 18 \
|
|
us1-980512.zip "American English female (6.8 MB) by Babel Technology" OFF \
|
|
us2-980812.zip "American English male (6.3 MB) by Babel Technology" OFF \
|
|
us3-990208.zip "American English male (6.1 MB) by Mike Macon" OFF \
|
|
ar1-981103.zip "Arabic male (5.1 MB) by Faculte Polytech. de Mons" OFF \
|
|
ar2-001015.zip "Arabic male (5.6 MB) by Abdel Muez Abukhalaf" OFF \
|
|
br1-971105.zip "Brazilian Portuguese male (5.0 MB) by Denis R. Costa" OFF \
|
|
br2-000119.zip "Brazilian Portuguese male (8.3 MB) by Denis R. Costa" OFF \
|
|
br3-000119.zip "Brazilian Portuguese male (8.6 MB) by Denis R. Costa" OFF \
|
|
bz1-980116.zip "Breton female (25.0 MB) by Jean Pierre Messager" OFF \
|
|
en1-980910.zip "British English male (5.7 MB) by Alan V. Black" OFF \
|
|
ca1.zip "Canadian French male (12.8 MB) by Vincent Arnaud" OFF \
|
|
cr1-981028.zip "Croation male (2.9 MB) by Juraj Bakran" OFF \
|
|
cz1-991020.zip "Czech female (2.2 MB) by Mikulas Pinos" OFF \
|
|
cz2-001009.zip "Czech male (8 MB) by Mikulas Pinos" OFF \
|
|
nl1-980609.zip "Dutch male (0.4 MB) by Arthur Dirksen" OFF \
|
|
nl2-990507.zip "Dutch male (13 MB) by Arthur Dirksen" OFF \
|
|
nl3-001013.zip "Dutch female (8.6 MB) by Raymond Veldhuis" OFF \
|
|
nz1-000911.zip "Maori male (2.3 MB) by Mark R. Laws" OFF \
|
|
ee1.zip "Estonian male (9.2 MB) by Meelis Mihkla" OFF \
|
|
pt1-000509.zip "Portuguese female (7.8 MB) by Babel Technology" OFF \
|
|
fr1-990204.zip "French male (4.4 MB) by Faculte Polytech. de Mons" OFF \
|
|
fr2-980806.zip "French female (4.8 MB) by Celine Egea" OFF \
|
|
fr3-990324.zip "French male (4.8 MB) by Babel Technology" OFF \
|
|
fr4-990521.zip "French female (5.4 MB) by Babel Technology" OFF \
|
|
fr5-991020.zip "French Belgian (4.8 MB) by Faculte Polytech. de Mons" OFF \
|
|
fr6-010330.zip "French male (4.4 MB) by Faculte Polytech. de Mons" OFF \
|
|
fr7-010330.zip "French Belgian (3.7 MB) by Faculte Polytech. de Mons" OFF \
|
|
de1-980227.zip "German female (9.9 MB) by Fred Englert" OFF \
|
|
de2-990106.zip "German male (9.3 MB) by ATIP" OFF \
|
|
de3-000307.zip "German female (10.4 MB) by ATIP" OFF \
|
|
de4.zip "German male (18.6 MB) by University of Stuttgart" OFF \
|
|
de5.zip "German female (13.3 MB) by ATIP" OFF \
|
|
de6.zip "German male (48.5 MB) by Saarland University" OFF \
|
|
gr1-990610.zip "Greek male (1.6 MB) by George Sergiadis" OFF \
|
|
gr2-010521.zip "Greek male (5.6 MB) by ]Gerasimos Xydas" OFF \
|
|
hb1-000308.zip "Hebrew male (3.4 MB) by Yoram Meron" OFF \
|
|
id1-001010.zip "Indonesian male (4 MB) by Arry Arman" OFF \
|
|
in1-010206.zip "Hindi male (3.6 MB) by Amin Charaniya" OFF \
|
|
in2-010202.zip "Hindi female (3.7 MB) by Amin Charaniya" OFF \
|
|
it1-010213.zip "Italian male (5.2 MB) by Claudia Citta" OFF \
|
|
it2-010406.zip "Italian female (5.2 MB) by Claudia Citta" OFF \
|
|
it3-010304.zip "Italian male (5.1 MB) by Piero Cosi" OFF \
|
|
it4-010926.zip "Italian female (4.9 MB) by ITC-irst" OFF \
|
|
hn1-990923.zip "Korean male (9.9 MB) by Kyongsok Gim" OFF \
|
|
jp1-000314.zip "Japanese male (1.8 MB) by Yoram Meron" OFF \
|
|
jp2-270202.zip "Japanese female (5.6 MB) by Tomohisa Tachiki" OFF \
|
|
jp3.zip "Japanese female (1.7 MB) by Yoram Meron" OFF \
|
|
pl1.zip "Polish female (4.0 MB) by PJWSTK" OFF \
|
|
es1-980610.zip "Spanish male (2.1 MB) by Alistair Conkie" OFF \
|
|
es2-989825.zip "Spanish male (5.1 MB) by TCC Communications Corp." OFF \
|
|
es4.zip "Spanish male (2.8 MB) by Universidad de Valladolid" OFF \
|
|
mx1-990208.zip "Spanish Mexican male (1.8 MB) by OGI" OFF \
|
|
ro1-980317.zip "Romanian male (2.9 MB) by Marian Boldea" OFF \
|
|
sw1-980623.zip "Swedish male (9.3 MB) by Marcus Filipsson" OFF \
|
|
sw2-140102.zip "Swedish female (5.6 MB) by Adina Svensson" OFF \
|
|
tl1.zip "Telugu female (6.9 MB) by Kalpana Reddy KVK" OFF \
|
|
tr1-010209.zip "Turkish male (3.7 MB) by Faculte Polytech. de Mons" OFF \
|
|
tr2-010212.zip "Turkish female (4.3 MB) by Faculte Polytech. de Mons" OFF \
|
|
2> /tmp/checklist.tmp.$$
|
|
|
|
retval=$?
|
|
|
|
choice=`cat /tmp/checklist.tmp.$$`
|
|
rm -f /tmp/checklist.tmp.$$
|
|
|
|
case $retval in
|
|
0) if [ -z "$choice" ]; then
|
|
echo "Nothing selected"
|
|
exit 1;
|
|
fi
|
|
;;
|
|
1) echo "Cancel pressed."
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
echo $choice | tr ' ' '\012' | tr -d \" > ${WRKDIR}/voices.conf
|
|
cut -c1-3 < ${WRKDIR}/voices.conf > ${WRKDIR}/fetchdirs.conf
|
|
|
|
echo "* Your choices are saved. You must run the \"make\" command again to"
|
|
echo "* complete the build. Ignore the \"Error code 1\" below."
|
|
exit 1
|
|
else
|
|
exit 0
|
|
fi
|