|
Lines 45-58
Link Here
|
| 45 |
unpack ${A} |
45 |
unpack ${A} |
| 46 |
|
46 |
|
| 47 |
# tell festival to use the speech-tools we have installed. |
47 |
# tell festival to use the speech-tools we have installed. |
| 48 |
sed -i -e "s:\(EST=\).*:\1/usr/share/speech-tools:" "${S}"/config/config.in |
48 |
sed -i -e "s:\(EST=\).*:\1${EPREFIX}/usr/share/speech-tools:" "${S}"/config/config.in |
| 49 |
sed -i -e "s:\$(EST)/lib:/usr/$(get_libdir):" "${S}"/config/project.mak |
49 |
sed -i -e "s:\$(EST)/lib:/usr/$(get_libdir):" "${S}"/config/project.mak |
| 50 |
|
50 |
|
| 51 |
# fix the reference to /usr/lib/festival |
51 |
# fix the reference to /usr/lib/festival |
| 52 |
sed -i -e "s:\(FTLIBDIR.*=.*\)\$.*:\1/usr/share/festival:" "${S}"/config/project.mak |
52 |
sed -i -e "s:\(FTLIBDIR.*=.*\)\$.*:\1${EPREFIX}/usr/share/festival:" "${S}"/config/project.mak |
| 53 |
|
53 |
|
| 54 |
# Fix path for examples in festival.scm |
54 |
# Fix path for examples in festival.scm |
| 55 |
sed -i -e "s:\.\./examples/:/usr/share/doc/${PF}/examples/:" "${S}"/lib/festival.scm |
55 |
sed -i -e "s:\.\./examples/:${EPREFIX}/usr/share/doc/${PF}/examples/:" "${S}"/lib/festival.scm |
| 56 |
|
56 |
|
| 57 |
# Fix the HTS voices. |
57 |
# Fix the HTS voices. |
| 58 |
epatch "${FILESDIR}"/${P}-hts-voices.patch |
58 |
epatch "${FILESDIR}"/${P}-hts-voices.patch |