summaryrefslogtreecommitdiff
path: root/audio/pocketsphinx
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2014-09-05 10:13:20 +0000
committerfhajny <fhajny@pkgsrc.org>2014-09-05 10:13:20 +0000
commitdf4139cf7bd1564c557b75061469085ff1034446 (patch)
tree7caec3e2e2e54f2c6d9c207a61d7a4dfd7fd56bd /audio/pocketsphinx
parent9ae3f2fe432fc9585bb635e314456ab639d254c0 (diff)
downloadpkgsrc-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/pocketsphinx')
-rw-r--r--audio/pocketsphinx/DESCR2
-rw-r--r--audio/pocketsphinx/Makefile22
-rw-r--r--audio/pocketsphinx/PLIST49
-rw-r--r--audio/pocketsphinx/buildlink3.mk14
-rw-r--r--audio/pocketsphinx/distinfo6
-rw-r--r--audio/pocketsphinx/patches/patch-src_Makefile.in15
6 files changed, 108 insertions, 0 deletions
diff --git a/audio/pocketsphinx/DESCR b/audio/pocketsphinx/DESCR
new file mode 100644
index 00000000000..81fa83705c3
--- /dev/null
+++ b/audio/pocketsphinx/DESCR
@@ -0,0 +1,2 @@
+Pocket Sphinx is a frontend to the sphinxbase large-vocabulary,
+speaker-independent, continuous speech recognition engine.
diff --git a/audio/pocketsphinx/Makefile b/audio/pocketsphinx/Makefile
new file mode 100644
index 00000000000..6aaf29fda99
--- /dev/null
+++ b/audio/pocketsphinx/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2014/09/05 10:13:20 fhajny Exp $
+
+DISTNAME= pocketsphinx-0.8
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cmusphinx/}
+
+MAINTAINER= filip@joyent.com
+HOMEPAGE= http://cmusphinx.sourceforge.net/
+COMMENT= CMUSphinx speech recognition C library
+LICENSE= 2-clause-bsd
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+
+PKGCONFIG_OVERRIDE+= pocketsphinx.pc.in
+
+CONFIGURE_ARGS+= --without-python
+
+.include "../../audio/sphinxbase/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/pocketsphinx/PLIST b/audio/pocketsphinx/PLIST
new file mode 100644
index 00000000000..05a14549fa2
--- /dev/null
+++ b/audio/pocketsphinx/PLIST
@@ -0,0 +1,49 @@
+@comment $NetBSD: PLIST,v 1.1 2014/09/05 10:13:20 fhajny Exp $
+bin/pocketsphinx_batch
+bin/pocketsphinx_continuous
+bin/pocketsphinx_mdef_convert
+include/pocketsphinx/cmdln_macro.h
+include/pocketsphinx/fsg_set.h
+include/pocketsphinx/pocketsphinx.h
+include/pocketsphinx/pocketsphinx.pxd
+include/pocketsphinx/pocketsphinx_export.h
+include/pocketsphinx/ps_lattice.h
+include/pocketsphinx/ps_mllr.h
+lib/libpocketsphinx.la
+lib/pkgconfig/pocketsphinx.pc
+man/man1/pocketsphinx_batch.1
+man/man1/pocketsphinx_continuous.1
+man/man1/pocketsphinx_mdef_convert.1
+share/pocketsphinx/model/hmm/en/tidigits/feat.params
+share/pocketsphinx/model/hmm/en/tidigits/mdef
+share/pocketsphinx/model/hmm/en/tidigits/means
+share/pocketsphinx/model/hmm/en/tidigits/sendump
+share/pocketsphinx/model/hmm/en/tidigits/transition_matrices
+share/pocketsphinx/model/hmm/en/tidigits/variances
+share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/feat.params
+share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/mdef
+share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/means
+share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/noisedict
+share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/sendump
+share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/transition_matrices
+share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k/variances
+share/pocketsphinx/model/hmm/zh/tdt_sc_8k/feat.params
+share/pocketsphinx/model/hmm/zh/tdt_sc_8k/mdef
+share/pocketsphinx/model/hmm/zh/tdt_sc_8k/means
+share/pocketsphinx/model/hmm/zh/tdt_sc_8k/noisedict
+share/pocketsphinx/model/hmm/zh/tdt_sc_8k/sendump
+share/pocketsphinx/model/hmm/zh/tdt_sc_8k/transition_matrices
+share/pocketsphinx/model/hmm/zh/tdt_sc_8k/variances
+share/pocketsphinx/model/lm/en/tidigits.DMP
+share/pocketsphinx/model/lm/en/tidigits.dic
+share/pocketsphinx/model/lm/en/tidigits.fsg
+share/pocketsphinx/model/lm/en/turtle.DMP
+share/pocketsphinx/model/lm/en/turtle.dic
+share/pocketsphinx/model/lm/en_US/cmu07a.dic
+share/pocketsphinx/model/lm/en_US/hub4.5000.DMP
+share/pocketsphinx/model/lm/en_US/hub4.5000.dic
+share/pocketsphinx/model/lm/en_US/wsj0vp.5000.DMP
+share/pocketsphinx/model/lm/zh_CN/gigatdt.5000.DMP
+share/pocketsphinx/model/lm/zh_CN/mandarin_notone.dic
+share/pocketsphinx/model/lm/zh_TW/gigatdt.5000.DMP
+share/pocketsphinx/model/lm/zh_TW/mandarin_notone.dic
diff --git a/audio/pocketsphinx/buildlink3.mk b/audio/pocketsphinx/buildlink3.mk
new file mode 100644
index 00000000000..9ace7c5393a
--- /dev/null
+++ b/audio/pocketsphinx/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/09/05 10:13:20 fhajny Exp $
+
+BUILDLINK_TREE+= pocketsphinx
+
+.if !defined(POCKETSPHINX_BUILDLINK3_MK)
+POCKETSPHINX_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.pocketsphinx+= pocketsphinx>=0.8
+BUILDLINK_ABI_DEPENDS.pocketsphinx+= pocketsphinx>=0.8
+BUILDLINK_PKGSRCDIR.pocketsphinx?= ../../audio/pocketsphinx
+BUILDLINK_INCDIRS.pocketsphinx+= include/pocketsphinx
+.endif
+
+BUILDLINK_TREE+= -pocketsphinx
diff --git a/audio/pocketsphinx/distinfo b/audio/pocketsphinx/distinfo
new file mode 100644
index 00000000000..cf063210faa
--- /dev/null
+++ b/audio/pocketsphinx/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2014/09/05 10:13:20 fhajny Exp $
+
+SHA1 (pocketsphinx-0.8.tar.gz) = d9efdd0baddd2e47c2ba559caaca62ffa0c0eede
+RMD160 (pocketsphinx-0.8.tar.gz) = 825544ec117eda6118ceadc5c04f3a41485aa008
+Size (pocketsphinx-0.8.tar.gz) = 23781837 bytes
+SHA1 (patch-src_Makefile.in) = 43b75bb5cf8f59e2bd60fb9ab945ec196e475ecf
diff --git a/audio/pocketsphinx/patches/patch-src_Makefile.in b/audio/pocketsphinx/patches/patch-src_Makefile.in
new file mode 100644
index 00000000000..258045b7a38
--- /dev/null
+++ b/audio/pocketsphinx/patches/patch-src_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_Makefile.in,v 1.1 2014/09/05 10:13:20 fhajny Exp $
+
+Ignore gstreamer plugin.
+--- src/Makefile.in.orig 2012-12-12 18:38:31.000000000 +0000
++++ src/Makefile.in
+@@ -217,8 +217,7 @@ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ SUBDIRS = libpocketsphinx \
+- programs \
+- gst-plugin
++ programs
+
+ all: all-recursive
+