aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-04-21 22:22:32 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-04-22 00:53:07 +0000
commita5bd958ec79a23cb9272f1e6386ea7d6c4aee288 (patch)
tree8c554dfd877c9b1f66abca9145f58365f0ba79dc
parent08c22f24c94d9310d984e2ce0aa3c840bb5accd2 (diff)
downloadports-a5bd958ec79a23cb9272f1e6386ea7d6c4aee288.tar.gz
ports-a5bd958ec79a23cb9272f1e6386ea7d6c4aee288.zip
audio/rhvoice: Follow the GitHub account rename; Integrate with speech-dispatcher
(cherry picked from commit ecc0623c5d85bcee6284492fbfef811497d8280d)
-rw-r--r--audio/rhvoice/Makefile7
-rw-r--r--audio/rhvoice/distinfo6
-rw-r--r--audio/rhvoice/pkg-descr2
-rw-r--r--audio/rhvoice/pkg-plist1
4 files changed, 11 insertions, 5 deletions
diff --git a/audio/rhvoice/Makefile b/audio/rhvoice/Makefile
index 29b700a437af..abfa13938400 100644
--- a/audio/rhvoice/Makefile
+++ b/audio/rhvoice/Makefile
@@ -1,6 +1,7 @@
PORTNAME= RHVoice
DISTVERSION= 1.2.3
+PORTREVISION= 1
CATEGORIES= audio
MAINTAINER= yuri@FreeBSD.org
@@ -15,7 +16,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
@@ -36,7 +36,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>
diff --git a/audio/rhvoice/distinfo b/audio/rhvoice/distinfo
index 3ccfc32326fc..0225bb4267dc 100644
--- a/audio/rhvoice/distinfo
+++ b/audio/rhvoice/distinfo
@@ -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
diff --git a/audio/rhvoice/pkg-descr b/audio/rhvoice/pkg-descr
index 2549bb1933de..27568d0af50d 100644
--- a/audio/rhvoice/pkg-descr
+++ b/audio/rhvoice/pkg-descr
@@ -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
diff --git a/audio/rhvoice/pkg-plist b/audio/rhvoice/pkg-plist
index 478663ffe3e2..38a8292e54a3 100644
--- a/audio/rhvoice/pkg-plist
+++ b/audio/rhvoice/pkg-plist
@@ -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