Index: head/accessibility/py3-speech-dispatcher/Makefile =================================================================== --- head/accessibility/py3-speech-dispatcher/Makefile (revision 429163) +++ head/accessibility/py3-speech-dispatcher/Makefile (revision 429164) @@ -1,16 +1,18 @@ # $FreeBSD$ +PORTREVISION= 0 +CATEGORIES= accessibility audio python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -COMMENT= Common interface to speech synthesis python bindings +COMMENT= Python bindings for Speech Dispatcher SPEECH_SLAVE= yes -MASTERDIR= ${.CURDIR}/../speech-dispatcher +MASTERDIR= ${.CURDIR:H}/speech-dispatcher BUILD_WRKSRC= ${WRKSRC}/src/api/python -INSTALL_WRKSRC= ${WRKSRC}/src/api/python +INSTALL_WRKSRC= ${BUILD_WRKSRC} PLIST= ${.CURDIR}/pkg-plist .include "${MASTERDIR}/Makefile" Index: head/accessibility/speech-dispatcher/Makefile =================================================================== --- head/accessibility/speech-dispatcher/Makefile (revision 429163) +++ head/accessibility/speech-dispatcher/Makefile (revision 429164) @@ -1,106 +1,111 @@ # $FreeBSD$ PORTNAME= speech-dispatcher -PORTVERSION= 0.8.3 -PORTREVISION= 1 -CATEGORIES= accessibility audio +PORTVERSION= 0.8.6 +PORTREVISION?= 0 +CATEGORIES?= accessibility audio MASTER_SITES= http://devel.freebsoft.org/pub/projects/speechd/ MAINTAINER= avilla@FreeBSD.org -COMMENT= Common interface to speech synthesis +COMMENT?= Common interface to speech synthesis LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi LIB_DEPENDS= libdotconf.so:devel/dotconf \ libltdl.so:devel/libltdl \ libsndfile.so:audio/libsndfile USE_GNOME= glib20 intltool USES= alias gettext gmake pathfix pkgconfig libtool GNU_CONFIGURE= yes +CONFIGURE_ARGS= --without-espeak-ng CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes INSTALL_TARGET= install-strip .if !defined(SPEECH_SLAVE) CONFIGURE_ARGS+=--disable-python ETCFILES= clients/emacs.conf modules/pico-generic.conf \ modules/cicero.conf modules/dtk-generic.conf \ modules/epos-generic.conf modules/espeak-generic.conf \ modules/espeak-mbrola-generic.conf modules/espeak.conf \ modules/festival.conf modules/flite.conf modules/ibmtts.conf \ modules/ivona.conf modules/llia_phon-generic.conf \ - modules/swift-generic.conf speechd.conf + modules/swift-generic.conf speechd.conf \ + modules/espeak-ng.conf -PORTDOCS= ANNOUNCE AUTHORS ChangeLog FAQ NEWS README TODO +PORTDOCS= ANNOUNCE AUTHORS FAQ NEWS README TODO INFO= spd-say speech-dispatcher speech-dispatcher-cs ssip OPTIONS_DEFINE= ALSA AO DOCS ESPEAK FESTIVAL FLITE NAS PULSEAUDIO OPTIONS_DEFAULT=ESPEAK OPTIONS_SUB= yes ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_CONFIGURE_WITH= alsa AO_LIB_DEPENDS= libao.so:audio/libao AO_CONFIGURE_WITH= libao ESPEAK_DESC= eSpeak speech synthesizer support ESPEAK_LIB_DEPENDS= libespeak.so:audio/espeak ESPEAK_CONFIGURE_WITH= espeak FESTIVAL_DESC= Festival Speech Synthesis System support FESTIVAL_RUN_DEPENDS= festival:audio/festival \ ${LOCALBASE}/share/festival/lib/${PORTNAME}.scm:audio/festival-freebsoft-utils FLITE_DESC= Flite speech synthesis engine support FLITE_LIB_DEPENDS= libflite.so:audio/flite FLITE_CONFIGURE_WITH= flite NAS_LIB_DEPENDS= libaudio.so:audio/nas NAS_CONFIGURE_WITH= nas PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PULSEAUDIO_CONFIGURE_WITH=pulse .include post-patch: @${REINPLACE_CMD} -e '/SUBDIRS/ s/tests//' \ ${WRKSRC}/src/Makefile.in + ${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,g' \ + ${WRKSRC}/src/modules/*.c \ + ${WRKSRC}/config/modules/*.conf post-install: .for f in ${ETCFILES} @${MV} ${STAGEDIR}${ETCDIR}/${f} ${STAGEDIR}${ETCDIR}/${f}.sample .endfor @${RM} -r ${STAGEDIR}${DATADIR}/conf @${RMDIR} ${STAGEDIR}${DATADIR} || ${TRUE} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .else NO_ARCH= yes USES+= python:3.3+ LIB_DEPENDS+= libspeechd.so:accessibility/speech-dispatcher RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/xdg/__init__.py:devel/py3-xdg .include .if ${PYTHON_REL} < 3500 PYOEXTENSION= pyo .else PYOEXTENSION= opt-1.pyc .endif PLIST_SUB+= PYOEXTENSION=${PYOEXTENSION} \ PYVER=${PYTHON_VER:S/.//} .endif .include Index: head/accessibility/speech-dispatcher/distinfo =================================================================== --- head/accessibility/speech-dispatcher/distinfo (revision 429163) +++ head/accessibility/speech-dispatcher/distinfo (revision 429164) @@ -1,2 +1,3 @@ -SHA256 (speech-dispatcher-0.8.3.tar.gz) = 96a293b2ba1e2498f1280c75a9607891a9990947a8d87e9855c2a642c93f1e4f -SIZE (speech-dispatcher-0.8.3.tar.gz) = 1292321 +TIMESTAMP = 1482416560 +SHA256 (speech-dispatcher-0.8.6.tar.gz) = c233dc3757c1f0d3676480d1052d42d88d18d29ab0cb0c8b5ce8edc3e7386ff8 +SIZE (speech-dispatcher-0.8.6.tar.gz) = 1327500 Index: head/accessibility/speech-dispatcher/pkg-plist =================================================================== --- head/accessibility/speech-dispatcher/pkg-plist (revision 429163) +++ head/accessibility/speech-dispatcher/pkg-plist (revision 429164) @@ -1,47 +1,48 @@ bin/spd-say bin/spdsend bin/speech-dispatcher @sample %%ETCDIR%%/clients/emacs.conf.sample @sample %%ETCDIR%%/modules/cicero.conf.sample @sample %%ETCDIR%%/modules/dtk-generic.conf.sample @sample %%ETCDIR%%/modules/epos-generic.conf.sample @sample %%ETCDIR%%/modules/espeak-generic.conf.sample @sample %%ETCDIR%%/modules/espeak-mbrola-generic.conf.sample +@sample %%ETCDIR%%/modules/espeak-ng.conf.sample @sample %%ETCDIR%%/modules/espeak.conf.sample @sample %%ETCDIR%%/modules/festival.conf.sample @sample %%ETCDIR%%/modules/flite.conf.sample @sample %%ETCDIR%%/modules/ibmtts.conf.sample @sample %%ETCDIR%%/modules/ivona.conf.sample @sample %%ETCDIR%%/modules/llia_phon-generic.conf.sample @sample %%ETCDIR%%/modules/pico-generic.conf.sample @sample %%ETCDIR%%/modules/swift-generic.conf.sample @sample %%ETCDIR%%/speechd.conf.sample include/speech-dispatcher/libspeechd.h include/speech-dispatcher/libspeechd_version.h include/speech-dispatcher/spd_audio_plugin.h include/speech-dispatcher/speechd_defines.h include/speech-dispatcher/speechd_types.h lib/libspeechd.a lib/libspeechd.so lib/libspeechd.so.2 lib/libspeechd.so.2.6.0 lib/speech-dispatcher-modules/sd_cicero lib/speech-dispatcher-modules/sd_dummy %%ESPEAK%%lib/speech-dispatcher-modules/sd_espeak lib/speech-dispatcher-modules/sd_festival %%FLITE%%lib/speech-dispatcher-modules/sd_flite lib/speech-dispatcher-modules/sd_generic %%ALSA%%lib/speech-dispatcher/spd_alsa.a %%ALSA%%lib/speech-dispatcher/spd_alsa.so %%AO%%lib/speech-dispatcher/spd_libao.a %%AO%%lib/speech-dispatcher/spd_libao.so %%NAS%%lib/speech-dispatcher/spd_nas.a %%NAS%%lib/speech-dispatcher/spd_nas.so lib/speech-dispatcher/spd_oss.a lib/speech-dispatcher/spd_oss.so %%PULSEAUDIO%%lib/speech-dispatcher/spd_pulse.a %%PULSEAUDIO%%lib/speech-dispatcher/spd_pulse.so libdata/pkgconfig/speech-dispatcher.pc share/locale/cs/LC_MESSAGES/speech-dispatcher.mo share/locale/hu/LC_MESSAGES/speech-dispatcher.mo share/sounds/speech-dispatcher/dummy-message.wav