Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2021 00:53:09 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: a5bd958ec79a - 2021Q2 - audio/rhvoice: Follow the GitHub account rename; Integrate with speech-dispatcher
Message-ID:  <202104220053.13M0r9pR073099@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2021Q2 has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a5bd958ec79a23cb9272f1e6386ea7d6c4aee288

commit a5bd958ec79a23cb9272f1e6386ea7d6c4aee288
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-04-21 22:22:32 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-04-22 00:53:07 +0000

    audio/rhvoice: Follow the GitHub account rename; Integrate with speech-dispatcher
    
    (cherry picked from commit ecc0623c5d85bcee6284492fbfef811497d8280d)
---
 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 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104220053.13M0r9pR073099>