pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/speech-dispatcher speech-dispatcher: Various fixes.
details: https://anonhg.NetBSD.org/pkgsrc/rev/6ceba0b0c46c
branches: trunk
changeset: 405476:6ceba0b0c46c
user: nia <nia%pkgsrc.org@localhost>
date: Thu Nov 28 16:18:54 2019 +0000
description:
speech-dispatcher: Various fixes.
- Add some missing dependencies.
- Use libao for sound output so more backends are available.
- Install config files to the proper location.
- Install info fiels to the proper location.
This now actually works without tweaks.
Bump PKGREVISION
diffstat:
audio/speech-dispatcher/Makefile | 22 +++++++++++--
audio/speech-dispatcher/PLIST | 16 +++++-----
audio/speech-dispatcher/distinfo | 3 +-
audio/speech-dispatcher/patches/patch-src_modules_espeak.c | 15 +++++++++
4 files changed, 43 insertions(+), 13 deletions(-)
diffs (125 lines):
diff -r 7dc3821d1ba3 -r 6ceba0b0c46c audio/speech-dispatcher/Makefile
--- a/audio/speech-dispatcher/Makefile Thu Nov 28 15:56:03 2019 +0000
+++ b/audio/speech-dispatcher/Makefile Thu Nov 28 16:18:54 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2019/11/28 13:38:06 nia Exp $
+# $NetBSD: Makefile,v 1.10 2019/11/28 16:18:54 nia Exp $
DISTNAME= speech-dispatcher-0.8.4
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= audio
MASTER_SITES= http://devel.freebsoft.org/pub/projects/speechd/
@@ -15,8 +15,20 @@
USE_TOOLS+= intltool pkg-config
USE_TOOLS+= msgfmt msgmerge xgettext
+INFO_FILES= yes
+
+# To avoid PLIST complexity, let the libao package select the most
+# fitting audio backend for the platform.
+CONFIGURE_ARGS+= --with-libao
+CONFIGURE_ARGS+= --without-alsa
+CONFIGURE_ARGS+= --without-nas
+CONFIGURE_ARGS+= --without-oss
+CONFIGURE_ARGS+= --without-pulse
+
PKGCONFIG_OVERRIDE+= speech-dispatcher.pc.in
+PKG_SYSCONFSUBDIR= speech-dispatcher
+
CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/clients/emacs.conf \
${PKG_SYSCONFDIR}/clients/emacs.conf
CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/modules/cicero.conf \
@@ -48,10 +60,12 @@
CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/speechd.conf \
${PKG_SYSCONFDIR}/speechd.conf
+.include "../../audio/espeak/buildlink3.mk"
+.include "../../audio/flite/buildlink3.mk"
+.include "../../audio/libao/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
-.include "../../audio/pulseaudio/buildlink3.mk"
.include "../../devel/dotconf/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
-.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 7dc3821d1ba3 -r 6ceba0b0c46c audio/speech-dispatcher/PLIST
--- a/audio/speech-dispatcher/PLIST Thu Nov 28 15:56:03 2019 +0000
+++ b/audio/speech-dispatcher/PLIST Thu Nov 28 16:18:54 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2016/07/20 11:51:58 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/11/28 16:18:54 nia Exp $
bin/spd-say
bin/spdsend
bin/speech-dispatcher
@@ -7,14 +7,19 @@
include/speech-dispatcher/spd_audio_plugin.h
include/speech-dispatcher/speechd_defines.h
include/speech-dispatcher/speechd_types.h
+info/spd-say.info
+info/speech-dispatcher-cs.info
+info/speech-dispatcher.info
+info/ssip.info
lib/libspeechd.la
lib/pkgconfig/speech-dispatcher.pc
lib/speech-dispatcher-modules/sd_cicero
lib/speech-dispatcher-modules/sd_dummy
+lib/speech-dispatcher-modules/sd_espeak
lib/speech-dispatcher-modules/sd_festival
+lib/speech-dispatcher-modules/sd_flite
lib/speech-dispatcher-modules/sd_generic
-lib/speech-dispatcher/spd_oss.la
-lib/speech-dispatcher/spd_pulse.la
+lib/speech-dispatcher/spd_libao.la
share/examples/speech-dispatcher/clients/emacs.conf
share/examples/speech-dispatcher/modules/cicero.conf
share/examples/speech-dispatcher/modules/dtk-generic.conf
@@ -30,11 +35,6 @@
share/examples/speech-dispatcher/modules/pico-generic.conf
share/examples/speech-dispatcher/modules/swift-generic.conf
share/examples/speech-dispatcher/speechd.conf
-share/info/dir
-share/info/spd-say.info
-share/info/speech-dispatcher-cs.info
-share/info/speech-dispatcher.info
-share/info/ssip.info
share/sounds/speech-dispatcher/dummy-message.wav
share/speech-dispatcher/conf/clients/emacs.conf
share/speech-dispatcher/conf/modules/cicero.conf
diff -r 7dc3821d1ba3 -r 6ceba0b0c46c audio/speech-dispatcher/distinfo
--- a/audio/speech-dispatcher/distinfo Thu Nov 28 15:56:03 2019 +0000
+++ b/audio/speech-dispatcher/distinfo Thu Nov 28 16:18:54 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2016/07/20 11:51:58 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2019/11/28 16:18:54 nia Exp $
SHA1 (speech-dispatcher-0.8.4.tar.gz) = 0acef5da6a128f329d0edaaf5cec64e408e534f1
RMD160 (speech-dispatcher-0.8.4.tar.gz) = e2dbbc41169087a5f0ec15dc4bb5f429aa209d1c
@@ -7,3 +7,4 @@
SHA1 (patch-config_Makefile.in) = dd58a389bc9820d85e4fe912faff7e2cf969fa8e
SHA1 (patch-config_clients_Makefile.in) = 4c172a7c33336343b88707ae17702c80c97c28f5
SHA1 (patch-config_modules_Makefile.in) = 566c25934686d56c8e9a54cf520d121c9458bfae
+SHA1 (patch-src_modules_espeak.c) = c86d1ae94334d491d7dba2cd94a3a9aea03ebd59
diff -r 7dc3821d1ba3 -r 6ceba0b0c46c audio/speech-dispatcher/patches/patch-src_modules_espeak.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/speech-dispatcher/patches/patch-src_modules_espeak.c Thu Nov 28 16:18:54 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_modules_espeak.c,v 1.1 2019/11/28 16:18:54 nia Exp $
+
+Fix path to espeak header file
+
+--- src/modules/espeak.c.orig 2016-04-17 22:05:32.000000000 +0000
++++ src/modules/espeak.c
+@@ -37,7 +37,7 @@
+ #include <semaphore.h>
+
+ /* espeak header file */
+-#include <espeak/speak_lib.h>
++#include <speak_lib.h>
+ #ifndef ESPEAK_API_REVISION
+ #define ESPEAK_API_REVISION 1
+ #endif
Home |
Main Index |
Thread Index |
Old Index