commit:     822879c7c6dbce0c21ba4c63d6ce4950f597bea9
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Feb  3 13:22:10 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Feb  3 13:22:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=822879c7

app-accessibility/rhvoice-core: fix speech-dispatcher

These defines are missing in CMake.

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild 
b/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild
index a74a53fbaf..1a33f1bf06 100644
--- a/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild
+++ b/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 MY_PN="RHVoice"
 MY_P="${MY_PN}-${PV}"
@@ -84,5 +84,8 @@ src_configure() {
                -DHARDENING_MACRODEFS=
        )
 
+       use speech-dispatcher && \
+               append-cppflags -DSPD_MAJOR=1 -DSPD_MINOR=0
+
        cmake_src_configure
 }

Reply via email to