This package contains the basic libraries shared by the CMU Sphinx

speech recognition trainer and decoders (Sphinx-II, Sphinx-III, and
PocketSphinx), as well as some common utilities for manipulating
acoustic feature and audio files.

at the right place this time.

ok ajacoutot@
This commit is contained in:
eric 2009-06-07 07:23:37 +00:00
parent 1b3eba4d5f
commit e815afdfb3
6 changed files with 120 additions and 0 deletions

View File

@ -0,0 +1,38 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/06/07 07:23:37 eric Exp $
COMMENT= common libraries for the CMU speech recognition engines
VERSION= 0.4.1
DISTNAME= sphinxbase-${VERSION}
PKGNAME= cmu-sphinxbase-${VERSION}
CATEGORIES= audio
SHARED_LIBS= sphinxbase 0.0 \
sphinxad 0.0
HOMEPAGE= http://cmusphinx.sourceforge.net/
MAINTAINER= Eric Faurot <eric@openbsd.org>
# CMU
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cmusphinx/}
WANTLIB= blas c g2c m ossaudio pthread
MODULES= converters/libiconv
USE_LIBTOOL= Yes
LIB_DEPENDS= lapack::math/lapack
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --without-python
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib \
LIBS="-lblas -lm -lg2c -lossaudio"
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (sphinxbase-0.4.1.tar.gz) = s7NKTeEEDgxUwmmMjtSqRA==
RMD160 (sphinxbase-0.4.1.tar.gz) = eD4Y3TlaOPC3RQXp7rMpT8CnapI=
SHA1 (sphinxbase-0.4.1.tar.gz) = LLyOyAfloEUMV0puN7N+p5kJb/I=
SHA256 (sphinxbase-0.4.1.tar.gz) = NmgFqRNCmGh69l7uUD3d+FyLX+g+840j7AUuDqWYy5E=
SIZE (sphinxbase-0.4.1.tar.gz) = 2126416

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_libsphinxad_ad_oss_bsd_c,v 1.1.1.1 2009/06/07 07:23:37 eric Exp $
--- src/libsphinxad/ad_oss_bsd.c.orig Mon Jun 1 20:01:13 2009
+++ src/libsphinxad/ad_oss_bsd.c Mon Jun 1 20:01:34 2009
@@ -64,7 +64,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/soundcard.h>
+#include <soundcard.h>
#include <sys/ioctl.h>
#include <errno.h>
#include <unistd.h>

View File

@ -0,0 +1,4 @@
This package contains the basic libraries shared by the CMU Sphinx
speech recognition trainer and decoders (Sphinx-II, Sphinx-III, and
PocketSphinx), as well as some common utilities for manipulating
acoustic feature and audio files.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2009/06/07 07:23:37 eric Exp $
@lib lib/libsphinxad.so.${LIBsphinxad_VERSION}
@lib lib/libsphinxbase.so.${LIBsphinxbase_VERSION}

View File

@ -0,0 +1,58 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/06/07 07:23:37 eric Exp $
%%SHARED%%
@bin bin/sphinx_cepview
@bin bin/sphinx_cont_adseg
@bin bin/sphinx_cont_fileseg
@bin bin/sphinx_fe
@bin bin/sphinx_jsgf2fsg
@bin bin/sphinx_lm_eval
bin/sphinx_lm_sort
@bin bin/sphinx_pitch
include/sphinxbase/
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/info.h
include/sphinxbase/jsgf.h
include/sphinxbase/libutil.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.a
lib/libsphinxad.la
lib/libsphinxbase.a
lib/libsphinxbase.la
lib/pkgconfig/
lib/pkgconfig/sphinxbase.pc