summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/linux-mbrola/Makefile25
-rw-r--r--audio/linux-mbrola/distinfo2
-rw-r--r--audio/mbrolavox/Makefile73
-rw-r--r--audio/mbrolavox/distinfo59
-rw-r--r--audio/mbrolavox/pkg-descr4
-rw-r--r--audio/mbrolavox/scripts/configure100
-rw-r--r--audio/mbrolavox/scripts/log1
8 files changed, 265 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 4b7e50c..b6c70f1 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -161,6 +161,7 @@
SUBDIR += mad
SUBDIR += maplay
SUBDIR += mbrola
+ SUBDIR += mbrolavox
SUBDIR += mctoolame-decoder
SUBDIR += mctoolame-encoder
SUBDIR += mhwaveedit
diff --git a/audio/linux-mbrola/Makefile b/audio/linux-mbrola/Makefile
new file mode 100644
index 0000000..877cd15
--- /dev/null
+++ b/audio/linux-mbrola/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: linux-mbrola
+# Date created: 2003-10-05
+# Whom: trevor
+#
+# $FreeBSD$
+#
+
+CATEGORIES= audio accessibility linux
+MASTER_SITES= http://mambo.ucsc.edu/psl/mbrola/bin/pclinux/ \
+ http://www.festvox.org/mbrola/bin/pclinux/ \
+ ftp://ftp.loria.fr/pub/pc/mbrpsola/bin/pclinux/ \
+ ftp://tcts.fpms.ac.be/pub/mbrola/bin/pclinux/
+PKGNAMEPREFIX= linux-
+
+COMMENT= MBROLA speech synthesizer for Linux
+
+CONFLICTS= mbrola-*
+DIST_SUBDIR= mbrola-linux
+MASTERDIR= ${PORTSDIR}/audio/mbrola
+MD5_FILE= ${.CURDIR}/distinfo
+ONLY_FOR_ARCHS= alpha i386 ppc sparc64
+USE_LINUX= y
+USE_ZIP= y
+
+.include "../mbrola/Makefile"
diff --git a/audio/linux-mbrola/distinfo b/audio/linux-mbrola/distinfo
new file mode 100644
index 0000000..2560745
--- /dev/null
+++ b/audio/linux-mbrola/distinfo
@@ -0,0 +1,2 @@
+$FreeBSD$
+MD5 (mbrola-linux/mbr301h.zip) = 083e3e93c6d6b7d238d4e8c9b80f6111
diff --git a/audio/mbrolavox/Makefile b/audio/mbrolavox/Makefile
new file mode 100644
index 0000000..5d8d1a5
--- /dev/null
+++ b/audio/mbrolavox/Makefile
@@ -0,0 +1,73 @@
+# New ports collection makefile for: mbrolavox
+# Date created: 2003-10-05
+# Whom: trevor
+#
+# $FreeBSD$
+#
+
+PORTNAME= mbrolavox
+PORTVERSION= 3.0.1
+CATEGORIES= audio accessibility
+MASTER_SITES=
+DIST_SUBDIR= mbrolavox
+
+MAINTAINER= trevor@FreeBSD.org
+COMMENT= Voices for MBROLA voice synthesizer
+
+.include <bsd.port.pre.mk>
+
+NO_BUILD= yes
+RESTRICTED= "no commercial nor military use, no sale"
+USE_ZIP= yes
+PLIST= ${WRKDIR}/plist
+WRKSRC= ${WRKDIR}/voices
+
+.if !defined(BATCH)
+IS_INTERACTIVE= yes
+.endif
+
+pre-everything::
+ ${MKDIR} ${WRKSRC}
+.if !exists(${WRKDIRPREFIX}${.CURDIR}/work/voices.conf)
+.if !defined(BATCH)
+ ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure
+.endif
+.endif
+DISTFILES?= us1.zip
+
+.if exists(${WRKDIRPREFIX}${.CURDIR}/work/voices.conf)
+DISTFILES!=${CAT} ${WRKDIRPREFIX}${.CURDIR}/work/voices.conf
+PATCHDIRS!=${CAT} ${WRKDIRPREFIX}${.CURDIR}/work/fetchdirs.conf
+.endif
+.for ii in ${PATCHDIRS}
+MASTER_SITES+= http://www.festvox.org/mbrola/dba/${ii}/ \
+ http://mambo.ucsc.edu/psl/mbrola/dba/${ii}/ \
+ ftp://ftp.loria.fr/pub/pc/mbrpsola/${ii}/ \
+ ftp://tcts.fpms.ac.be/pub/mbrola/VOICES/${ii}/
+.endfor
+
+do-extract:
+.for ii in ${DISTFILES}
+ @unzip -qo ${DISTDIR}/${DIST_SUBDIR}/${ii} -d ${WRKSRC}
+.endfor
+
+do-patch:
+ @${DO_NADA}
+
+pre-install:
+ @${RM} -f ${PLIST}
+ @cd ${WRKSRC}; \
+ for ii in `${FIND} * \! -type d | sort`; do \
+ ${ECHO_CMD} share/mbrolavox/$${ii} >> ${PLIST}; \
+ done ; \
+ for ii in `${FIND} -d * -type d`; do \
+ ${ECHO_CMD} @dirrm share/mbrolavox/$${ii} >> ${PLIST}; \
+ done
+ @${ECHO_CMD} @dirrm share/mbrolavox >> ${PLIST}
+
+do-install:
+ @${MKDIR} ${DATADIR}
+ @cd ${WRKSRC} && ${FIND} * | cpio -dlmp ${DATADIR}
+ @${FIND} ${DATADIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
+
+.include <bsd.port.post.mk>
diff --git a/audio/mbrolavox/distinfo b/audio/mbrolavox/distinfo
new file mode 100644
index 0000000..4c34f6f
--- /dev/null
+++ b/audio/mbrolavox/distinfo
@@ -0,0 +1,59 @@
+$FreeBSD$
+MD5 (mbrolavox/ar1-981103.zip) = 2e7012597e1cec0072f177c369fc3e38
+MD5 (mbrolavox/ar2-001015.zip) = e6fe45cdeb1539f3ca882edc8e7915d3
+MD5 (mbrolavox/br1-971105.zip) = c027c1b1bc08b247bc9267b3cb44cc2f
+MD5 (mbrolavox/br2-000119.zip) = 7235536b1dd7470fed9b226464229ef5
+MD5 (mbrolavox/br3-000119.zip) = 1ef7df34d66e5b87a97057199d0ec80a
+MD5 (mbrolavox/bz1-980116.zip) = c5aa8870c07fc07a0c2282c6b5c36505
+MD5 (mbrolavox/ca1.zip) = 79b43fb8f9f6ef3ff0c8d63a2d5223b9
+MD5 (mbrolavox/cr1-981028.zip) = c2a9be187e0c1d6dec17af909f099fdb
+MD5 (mbrolavox/cz1-991020.zip) = e9ffbbc4411e247d505e760773d11b31
+MD5 (mbrolavox/cz2-001009.zip) = e9d28a9ec9ff4e6e43fa8bb3bc1577c3
+MD5 (mbrolavox/de1-980227.zip) = ff9f77790ee1d0e11dac724fc3511d5d
+MD5 (mbrolavox/de2-990106.zip) = b493d8b258d424ee9159c284b5f00c21
+MD5 (mbrolavox/de3-000307.zip) = 05cd5d9da3c3fd97bba02a2f3954d133
+MD5 (mbrolavox/de4.zip) = 3b67ba970415d509c8b3eeb9bae87023
+MD5 (mbrolavox/de5.zip) = 5f7910b8c41ada49b737875322668049
+MD5 (mbrolavox/de6.zip) = 989d86647c6099a3b3faceb1999efd18
+MD5 (mbrolavox/ee1.zip) = 38377e171c4a3d3d30e9b214798d3d8c
+MD5 (mbrolavox/en1-980910.zip) = 725b1fb0af1f6d62414d786de6eaa143
+MD5 (mbrolavox/es1-980610.zip) = d3bb71fb1012fe972b1cabe2d1582c04
+MD5 (mbrolavox/es2-989825.zip) = a42622fb55bc1401e5ad7409ece9c317
+MD5 (mbrolavox/es4.zip) = ef667c08ad5ae050f37e321072969ee6
+MD5 (mbrolavox/fr1-990204.zip) = 6031c6a97d2a7344e7ae42de294ae00b
+MD5 (mbrolavox/fr2-980806.zip) = 1488ea8ef76e97f1cf8af67963accf42
+MD5 (mbrolavox/fr3-990324.zip) = bd70729fa1ad93f06dda7a768a6466d1
+MD5 (mbrolavox/fr4-990521.zip) = 934c3dda73c9d0e782a646194c415425
+MD5 (mbrolavox/fr5-991020.zip) = 2ebf4105702ab2aa037491338ed05ebb
+MD5 (mbrolavox/fr6-010330.zip) = ef58ccab7da88cbe582062a9468a4fb8
+MD5 (mbrolavox/fr7-010330.zip) = 2a0c06030dda4e1edcb0e972ede092b7
+MD5 (mbrolavox/gr1-990610.zip) = 2a066550b3caa8038230bf1a335f073d
+MD5 (mbrolavox/gr2-010521.zip) = 30f550cc01c1c1567ce4b12b4244649a
+MD5 (mbrolavox/hb1-000308.zip) = c702dd7210fdd8225bf79456839c2d6f
+MD5 (mbrolavox/hn1-990923.zip) = 29aa2ad017882c9791db704801409a24
+MD5 (mbrolavox/id1-001010.zip) = 33cd63ec6d231ac91b8156485a381207
+MD5 (mbrolavox/in1-010206.zip) = a86eaae6a2fca6c8282339c5780d7373
+MD5 (mbrolavox/in2-010202.zip) = fdba924b95353c0bdfa3aa4abec30a6b
+MD5 (mbrolavox/it1-010213.zip) = 8a356360b8f6f6c65597c50d237836db
+MD5 (mbrolavox/it2-010406.zip) = 4203134bfbc7002278e54cf4456f1b0a
+MD5 (mbrolavox/it3-010304.zip) = fed63cdf4da274966646bdac1bd6e630
+MD5 (mbrolavox/it4-010926.zip) = d70ddbda1085990290e98bf745db1536
+MD5 (mbrolavox/jp1-000314.zip) = bec254d4a5427ec5ea492d801a69be28
+MD5 (mbrolavox/jp2-270202.zip) = acc00ddde43ece3286c413a08c9b390c
+MD5 (mbrolavox/jp3.zip) = 8e01d49d5f51d02e16638f1477f76ecc
+MD5 (mbrolavox/mx1-990208.zip) = 911b6e6fc6392095b074ed17f48bc7a9
+MD5 (mbrolavox/nl1-980609.zip) = 711ccc96832ada58a0482ef4441a1507
+MD5 (mbrolavox/nl2-990507.zip) = 2e55bcec092a4d760badd5a6eb421d43
+MD5 (mbrolavox/nl3-001013.zip) = c5a70517532f8004ff177b0d36528762
+MD5 (mbrolavox/nz1-000911.zip) = 9c9ac4a5295fd8a9eb16f0723545a97b
+MD5 (mbrolavox/pl1.zip) = 2e67625c2d10da642466f6290bdecb8d
+MD5 (mbrolavox/pt1-000509.zip) = 99f6f1299403ba85438a883470aa0b02
+MD5 (mbrolavox/ro1-980317.zip) = 6c592bbeef3e2828248b2682cb351239
+MD5 (mbrolavox/sw1-980623.zip) = 520793ee2c81a7ab9d222f2982e620a0
+MD5 (mbrolavox/sw2-140102.zip) = 889d1be2915850aab74f0de1cbccbf0d
+MD5 (mbrolavox/tl1.zip) = 67eb7b80bb702a3b2adc4205d3d86afb
+MD5 (mbrolavox/tr1-010209.zip) = 79fabdd56d0e361941d98a2b40fc4631
+MD5 (mbrolavox/tr2-010212.zip) = 263eadb96341b1c7b672b502cf78eabf
+MD5 (mbrolavox/us1-980512.zip) = 1b21560b45c5566cf4672e8eb7393490
+MD5 (mbrolavox/us2-980812.zip) = 185045d55456694f4f104173e43bbb89
+MD5 (mbrolavox/us3-990208.zip) = 544840204a6e120cef67176769629ecb
diff --git a/audio/mbrolavox/pkg-descr b/audio/mbrolavox/pkg-descr
new file mode 100644
index 0000000..f42a693
--- /dev/null
+++ b/audio/mbrolavox/pkg-descr
@@ -0,0 +1,4 @@
+This port installs diphone databases (voices) for the MBROLA speech
+synthesizer.
+
+WWW: http://tcts.fpms.ac.be/synthesis
diff --git a/audio/mbrolavox/scripts/configure b/audio/mbrolavox/scripts/configure
new file mode 100644
index 0000000..964a1d8
--- /dev/null
+++ b/audio/mbrolavox/scripts/configure
@@ -0,0 +1,100 @@
+#!/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
+fi
+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
diff --git a/audio/mbrolavox/scripts/log b/audio/mbrolavox/scripts/log
new file mode 100644
index 0000000..05caa98
--- /dev/null
+++ b/audio/mbrolavox/scripts/log
@@ -0,0 +1 @@
+Generate voices.conf more efficiently.
OpenPOWER on IntegriCloud