diff --git a/mumble.changes b/mumble.changes index 43ec190..0c4d70a 100644 --- a/mumble.changes +++ b/mumble.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 18 20:41:11 UTC 2015 - rpm@fthiessen.de + +- Added speech-dispatcher support for openSUSE (Text-To-Speech) + ------------------------------------------------------------------- Mon Mar 16 11:34:46 UTC 2015 - dimstar@opensuse.org diff --git a/mumble.spec b/mumble.spec index 5093c0d..be7de31 100644 --- a/mumble.spec +++ b/mumble.spec @@ -36,6 +36,11 @@ %bcond_with systemd %else %bcond_without systemd +%if 0%{?sles_version} +%bcond_with speechd +%else +%bcond_without speechd +%endif %endif %bcond_with mumble11x @@ -106,6 +111,9 @@ BuildRequires: qt4-linguist %if %{with pulseaudio} BuildRequires: pulseaudio-devel %endif +%if %{with speechd} +BuildRequires: libspeechd-devel +%endif Version: 1.2.8%{?snapshot:_%snapshot} Release: 0 %if 0%{!?snapshot:1} @@ -248,7 +256,9 @@ qmake \ %endif CONFIG*=no-g15 \ CONFIG*=no-embed-qt-translations \ +%if !%{with speechd} CONFIG*=no-speechd \ +%endif %if !%{with ice} CONFIG*=no-ice \ %endif @@ -289,6 +299,8 @@ make -C src/mumble qt_de.qm %endif # %endif +# Include is broken for openSUSE, so fix it. +sed -i "s,,," src/mumble/TextToSpeech_unix.cpp ### # # deps for *.pb.cc are broken and fail for high -j so generate