git: ecc0623c5d85 - main - audio/rhvoice: Follow the GitHub account rename; Integrate with speech-dispatcher
Yuri Victorovich
yuri at FreeBSD.org
Thu Apr 22 00:27:57 UTC 2021
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ecc0623c5d85bcee6284492fbfef811497d8280d
commit ecc0623c5d85bcee6284492fbfef811497d8280d
Author: Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-04-21 22:22:32 +0000
Commit: Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-04-22 00:27:54 +0000
audio/rhvoice: Follow the GitHub account rename; Integrate with speech-dispatcher
---
audio/rhvoice/Makefile | 7 ++++++-
audio/rhvoice/distinfo | 6 +++---
audio/rhvoice/pkg-descr | 2 +-
audio/rhvoice/pkg-plist | 1 +
4 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/audio/rhvoice/Makefile b/audio/rhvoice/Makefile
index 2b6b9646ef75..9f73055ef238 100644
--- a/audio/rhvoice/Makefile
+++ b/audio/rhvoice/Makefile
@@ -1,5 +1,6 @@
PORTNAME= RHVoice
DISTVERSION= 1.2.3
+PORTREVISION= 1
CATEGORIES= audio
MAINTAINER= yuri at 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>
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
More information about the dev-commits-ports-all
mailing list