Accepting request 291366 from home:susnux:branches:games:tools

Added speech-dispatcher support for openSUSE (Text-To-Speech), see Bug 922810

OBS-URL: https://build.opensuse.org/request/show/291366
OBS-URL: https://build.opensuse.org/package/show/games:tools/mumble?expand=0&rev=68
This commit is contained in:
2015-03-19 08:54:23 +00:00
committed by Git OBS Bridge
parent bff3df32aa
commit a1ee86cf37
2 changed files with 17 additions and 0 deletions

View File

@@ -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,<libspeechd.h>,<speech-dispatcher/libspeechd.h>," src/mumble/TextToSpeech_unix.cpp
###
#
# deps for *.pb.cc are broken and fail for high -j so generate