audio/rhvoice: Follow the GitHub account rename; Integrate with speech-dispatcher

This commit is contained in:
Yuri Victorovich 2021-04-21 15:22:32 -07:00
parent 95d9554b59
commit ecc0623c5d
4 changed files with 11 additions and 5 deletions

View file

@ -1,5 +1,6 @@
PORTNAME= RHVoice
DISTVERSION= 1.2.3
PORTREVISION= 1
CATEGORIES= audio
MAINTAINER= yuri@FreeBSD.org
@ -14,7 +15,6 @@ BROKEN_FreeBSD_12_powerpc64= fails to configure: The C++ compiler is not working
USES= compiler:c++0x pkgconfig scons
USE_GITHUB= yes
GH_ACCOUNT= Olga-Yakovleva
USE_LDCONFIG= yes
OPTIONS_RADIO= AUDIO
@ -35,7 +35,12 @@ post-patch-PORTAUDIO-off:
@${REINPLACE_CMD} 's|conf.CheckPKG("portaudio-2.0")|False|' ${WRKSRC}/SConstruct
post-install:
# create config file
${MV} ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample
# strip binaries
cd ${STAGEDIR}${PREFIX} && ${STRIP_CMD} bin/RHVoice-test bin/sd_rhvoice lib/libRHVoice.so lib/libRHVoice_audio.so lib/libRHVoice_core.so
# install accessibility/speech-dispatcher module
${MKDIR} ${STAGEDIR}${PREFIX}/lib/speech-dispatcher-modules
${RLN} ${STAGEDIR}${PREFIX}/bin/sd_rhvoice ${STAGEDIR}${PREFIX}/lib/speech-dispatcher-modules
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1599929129
SHA256 (Olga-Yakovleva-RHVoice-1.2.3_GH0.tar.gz) = d104f20dc75fcd133d21751a6e894d34b423e12e4784350b4b9573c727fb71cd
SIZE (Olga-Yakovleva-RHVoice-1.2.3_GH0.tar.gz) = 170715227
TIMESTAMP = 1619041364
SHA256 (RHVoice-RHVoice-1.2.3_GH0.tar.gz) = d104f20dc75fcd133d21751a6e894d34b423e12e4784350b4b9573c727fb71cd
SIZE (RHVoice-RHVoice-1.2.3_GH0.tar.gz) = 170715227

View file

@ -6,4 +6,4 @@ It consists of the following components:
* speech module for Windows (SAPI5)
* Android App
WWW: https://github.com/Olga-Yakovleva/RHVoice
WWW: https://github.com/RHVoice/RHVoice

View file

@ -12,6 +12,7 @@ lib/libRHVoice_audio.so.2.0.0
lib/libRHVoice_core.so
lib/libRHVoice_core.so.4
lib/libRHVoice_core.so.4.0.0
lib/speech-dispatcher-modules/sd_rhvoice
%%DATADIR%%/languages/Brazilian-Portuguese/downcase.fst
%%DATADIR%%/languages/Brazilian-Portuguese/dur-mod.dt
%%DATADIR%%/languages/Brazilian-Portuguese/emoji.fst