diff options
author | fhajny <fhajny@pkgsrc.org> | 2014-09-05 10:13:20 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2014-09-05 10:13:20 +0000 |
commit | df4139cf7bd1564c557b75061469085ff1034446 (patch) | |
tree | 7caec3e2e2e54f2c6d9c207a61d7a4dfd7fd56bd /audio/sphinxbase | |
parent | 9ae3f2fe432fc9585bb635e314456ab639d254c0 (diff) | |
download | pkgsrc-df4139cf7bd1564c557b75061469085ff1034446.tar.gz |
Import the CMUSphinx toolkit as sphinxbase, sphinx3, sphinxtrain
and pocketsphinx.
CMUSphinx toolkit is a leading speech recognition toolkit with various
tools used to build speech applications. CMU Sphinx toolkit has a number
of packages for different tasks and applications.
Diffstat (limited to 'audio/sphinxbase')
-rw-r--r-- | audio/sphinxbase/DESCR | 2 | ||||
-rw-r--r-- | audio/sphinxbase/Makefile | 29 | ||||
-rw-r--r-- | audio/sphinxbase/PLIST | 54 | ||||
-rw-r--r-- | audio/sphinxbase/buildlink3.mk | 25 | ||||
-rw-r--r-- | audio/sphinxbase/distinfo | 5 | ||||
-rw-r--r-- | audio/sphinxbase/options.mk | 27 |
6 files changed, 142 insertions, 0 deletions
diff --git a/audio/sphinxbase/DESCR b/audio/sphinxbase/DESCR new file mode 100644 index 00000000000..1ed8dc8ebfe --- /dev/null +++ b/audio/sphinxbase/DESCR @@ -0,0 +1,2 @@ +Sphinx Base is part of a large-vocabulary, speaker-independent, continuous +speech recognition engine. diff --git a/audio/sphinxbase/Makefile b/audio/sphinxbase/Makefile new file mode 100644 index 00000000000..5eeb725042a --- /dev/null +++ b/audio/sphinxbase/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1 2014/09/05 10:13:21 fhajny Exp $ + +DISTNAME= sphinxbase-0.8 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cmusphinx/} + +MAINTAINER= filip@joyent.com +HOMEPAGE= http://cmusphinx.sourceforge.net/ +COMMENT= CMUSphinx speech recognition support library +LICENSE= 2-clause-bsd + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= bison perl:run pkg-config +USE_LANGUAGES= c c++ + +PKGCONFIG_OVERRIDE+= sphinxbase.pc.in + +REPLACE_PERL+= src/sphinx_lmtools/sphinx_lm_sort + +CONFIGURE_ARGS+= --without-lapack +CONFIGURE_ARGS+= --without-python +CONFIGURE_ENV+= SAMPLERATE_LIBS=${LIBOSSAUDIO} + +.include "options.mk" + +.include "../../converters/libiconv/buildlink3.mk" +.include "../../mk/oss.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/sphinxbase/PLIST b/audio/sphinxbase/PLIST new file mode 100644 index 00000000000..9ba87e8c9d4 --- /dev/null +++ b/audio/sphinxbase/PLIST @@ -0,0 +1,54 @@ +@comment $NetBSD: PLIST,v 1.1 2014/09/05 10:13:21 fhajny Exp $ +bin/sphinx_cepview +bin/sphinx_cont_adseg +bin/sphinx_cont_fileseg +bin/sphinx_fe +bin/sphinx_jsgf2fsg +bin/sphinx_lm_convert +bin/sphinx_lm_eval +bin/sphinx_lm_sort +bin/sphinx_pitch +include/sphinxbase/ad.h +include/sphinxbase/agc.h +include/sphinxbase/bio.h +include/sphinxbase/bitvec.h +include/sphinxbase/byteorder.h +include/sphinxbase/case.h +include/sphinxbase/ckd_alloc.h +include/sphinxbase/clapack_lite.h +include/sphinxbase/cmd_ln.h +include/sphinxbase/cmn.h +include/sphinxbase/cont_ad.h +include/sphinxbase/err.h +include/sphinxbase/f2c.h +include/sphinxbase/fe.h +include/sphinxbase/feat.h +include/sphinxbase/filename.h +include/sphinxbase/fixpoint.h +include/sphinxbase/fsg_model.h +include/sphinxbase/genrand.h +include/sphinxbase/glist.h +include/sphinxbase/hash_table.h +include/sphinxbase/heap.h +include/sphinxbase/huff_code.h +include/sphinxbase/info.h +include/sphinxbase/jsgf.h +include/sphinxbase/listelem_alloc.h +include/sphinxbase/logmath.h +include/sphinxbase/matrix.h +include/sphinxbase/mmio.h +include/sphinxbase/mulaw.h +include/sphinxbase/ngram_model.h +include/sphinxbase/pio.h +include/sphinxbase/prim_type.h +include/sphinxbase/profile.h +include/sphinxbase/sbthread.h +include/sphinxbase/sphinx_config.h +include/sphinxbase/sphinxbase.pxd +include/sphinxbase/sphinxbase_export.h +include/sphinxbase/strfuncs.h +include/sphinxbase/unlimit.h +include/sphinxbase/yin.h +lib/libsphinxad.la +lib/libsphinxbase.la +lib/pkgconfig/sphinxbase.pc diff --git a/audio/sphinxbase/buildlink3.mk b/audio/sphinxbase/buildlink3.mk new file mode 100644 index 00000000000..8d2f633b42d --- /dev/null +++ b/audio/sphinxbase/buildlink3.mk @@ -0,0 +1,25 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/09/05 10:13:21 fhajny Exp $ + +BUILDLINK_TREE+= sphinxbase + +.if !defined(SPHINXBASE_BUILDLINK3_MK) +SPHINXBASE_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.sphinxbase+= sphinxbase>=0.8 +BUILDLINK_ABI_DEPENDS.sphinxbase+= sphinxbase>=0.8 +BUILDLINK_PKGSRCDIR.sphinxbase?= ../../audio/sphinxbase +BUILDLINK_INCDIRS.sphinxbase+= include/sphinxbase + +pkgbase:= sphinxbase +.include "../../mk/pkg-build-options.mk" + +.if !empty(PKG_BUILD_OPTIONS.sphinxbase:Msamplerate) +. include "../../audio/libsamplerate/buildlink3.mk" +.endif + +.if !empty(PKG_BUILD_OPTIONS.sphinxbase:Msndfile) +. include "../../audio/libsndfile/buildlink3.mk" +.endif +.endif + +BUILDLINK_TREE+= -sphinxbase diff --git a/audio/sphinxbase/distinfo b/audio/sphinxbase/distinfo new file mode 100644 index 00000000000..369778c984d --- /dev/null +++ b/audio/sphinxbase/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/09/05 10:13:21 fhajny Exp $ + +SHA1 (sphinxbase-0.8.tar.gz) = c0c4d52e143d07cd593bd6bcaeb92b9a8a5a8c8e +RMD160 (sphinxbase-0.8.tar.gz) = 8ec9d09bdd2b8173fe93cfa4c756c761beb1d7c5 +Size (sphinxbase-0.8.tar.gz) = 3313197 bytes diff --git a/audio/sphinxbase/options.mk b/audio/sphinxbase/options.mk new file mode 100644 index 00000000000..96902f50daf --- /dev/null +++ b/audio/sphinxbase/options.mk @@ -0,0 +1,27 @@ +# $NetBSD: options.mk,v 1.1 2014/09/05 10:13:21 fhajny Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.sphinxbase +PKG_SUPPORTED_OPTIONS= samplerate sndfile threads +PKG_SUGGESTED_OPTIONS= samplerate sndfile + +.include "../../mk/pthread.buildlink3.mk" + +.if ${PTHREAD_TYPE} == "native" +PKG_SUGGESTED_OPTIONS+= threads +.endif + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Msamplerate) +.include "../../audio/libsamplerate/buildlink3.mk" +.endif + +.if !empty(PKG_OPTIONS:Msndfile) +.include "../../audio/libsndfile/buildlink3.mk" +.endif + +.if !empty(PKG_OPTIONS:Mthreads) +CONFIGURE_ARGS+= --enable-threads +.else +CONFIGURE_ARGS+= --disable-threads +.endif |