Author: qboosh                       Date: Sun Jul  1 18:15:01 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added bcond_with switches for commercial TTS engines

---- Files affected:
packages/brltty:
   brltty.spec (1.56 -> 1.57) 

---- Diffs:

================================================================
Index: packages/brltty/brltty.spec
diff -u packages/brltty/brltty.spec:1.56 packages/brltty/brltty.spec:1.57
--- packages/brltty/brltty.spec:1.56    Sun Jul  1 19:48:15 2012
+++ packages/brltty/brltty.spec Sun Jul  1 20:14:55 2012
@@ -13,7 +13,11 @@
 %bcond_without libbraille              # libbraille Braille driver
 %bcond_without espeak                  # eSpeak synthesizer driver
 %bcond_without flite                   # Flite synthesizer driver
+%bcond_with    mikropuhe               # Mikropuhe synthesizer driver 
[commercial, Finnish]
 %bcond_without speech_dispatcher       # Speech Dispatcher synthesizer driver
+%bcond_with    swift                   # Swift synthesizer driver [commercial, 
from Cepstral]
+%bcond_with    theta                   # Theta synthesizer driver [commercial, 
from Cepstral]
+%bcond_with    viavoice                # IBM ViaVoice synthesizer driver 
[commercial]
 %bcond_without at_spi                  # AtSpi screen driver
 %bcond_without at_spi2                 # AtSpi2 screen driver
 #
@@ -41,8 +45,10 @@
 %{?with_at_spi2:BuildRequires: dbus-devel >= 1.0}
 %{?with_apidocs:BuildRequires: doxygen}
 %{?with_espeak:BuildRequires:  espeak-devel}
+%{?with_flite:BuildRequires:   flite-devel}
 %{?with_gpm:BuildRequires:     gpm-devel}
 %{?with_java:BuildRequires:    jdk}
+%{?with_libbraille:BuildRequires:      libbraille-devel}
 BuildRequires: libicu-devel
 BuildRequires: ncurses-devel
 %{?with_ocaml:BuildRequires:   ocaml}
@@ -50,6 +56,7 @@
 %{?with_python:BuildRequires:  python-Pyrex}
 %{?with_java:BuildRequires:    rpm-javaprov}
 %{?with_python:BuildRequires:  rpm-pythonprov}
+%{?with_speech_dispatcher:BuildRequires:       speech-dispatcher-devel}
 %{?with_tcl:BuildRequires:     tcl-devel}
 %if %{with x}
 BuildRequires: xorg-lib-libX11-devel
@@ -58,17 +65,10 @@
 BuildRequires: xorg-lib-libXt-devel
 BuildRequires: xorg-lib-libXtst-devel
 %endif
-%{?with_libbraille:BuildRequires:      libbraille-devel}
-%{?with_flite:BuildRequires:   flite-devel}
-# libbrlttysmp
-#BR: Mikropuhe-devel (-lmikropuhe <mpwrfile.h>)
-%{?with_speech_dispatcher:BuildRequires:       speech-dispatcher-devel}
-# libbrlttyssw
-#BR: Swift-devel (-lswift <swift.h>)
-# libbrlttysth
-#BR: Theta-devel (-ltheta <theta.h>)
-# libbrlttysvv
-#BR: ViaVoice-devel (-libmeci50 <eci.h>)
+#%{?with_mikropuhe:BuildRequires:      Mikropuhe-devel (-lmikropuhe 
<mpwrfile.h>)}
+#%{?with_swift:BuildRequires:  Swift-devel (-lswift <swift.h>)}
+#%{?with_theta:BuildRequires:  Theta-devel (-ltheta <theta.h>)}
+#%{?with_viavoice:BuildRequires:       ViaVoice-devel (-libmeci50 <eci.h>)}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -609,11 +609,11 @@
 %{?with_flite:%attr(755,root,root) %{_libdir}/brltty/libbrlttysfl.so}
 %attr(755,root,root) %{_libdir}/brltty/libbrlttysfv.so
 %attr(755,root,root) %{_libdir}/brltty/libbrlttysgs.so
-#%{?with_mikropuhe:%attr(755,root,root) %{_libdir}/brltty/libbrlttysmp.so}
+%{?with_mikropuhe:%attr(755,root,root) %{_libdir}/brltty/libbrlttysmp.so}
 %{?with_speech_dispatcher:%attr(755,root,root) 
%{_libdir}/brltty/libbrlttyssd.so}
-#%{?with_swift:%attr(755,root,root) %{_libdir}/brltty/libbrlttyssw.so}
-#%{?with_theta:%attr(755,root,root) %{_libdir}/brltty/libbrlttysth.so}
-#%{?with_viavoice:%attr(755,root,root) %{_libdir}/brltty/libbrlttysvv.so}
+%{?with_swift:%attr(755,root,root) %{_libdir}/brltty/libbrlttyssw.so}
+%{?with_theta:%attr(755,root,root) %{_libdir}/brltty/libbrlttysth.so}
+%{?with_viavoice:%attr(755,root,root) %{_libdir}/brltty/libbrlttysvv.so}
 %attr(755,root,root) %{_libdir}/brltty/libbrlttysxs.so
 # screen drivers
 %{?with_at_spi2:%attr(755,root,root) %{_libdir}/brltty/libbrlttyxa2.so}
@@ -695,6 +695,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.57  2012/07/01 18:14:55  qboosh
+- added bcond_with switches for commercial TTS engines
+
 Revision 1.56  2012/07/01 17:48:15  qboosh
 - updated to 4.4 (brlapi 0.5.7)
 - build with libbraille support
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/brltty/brltty.spec?r1=1.56&r2=1.57

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to