Import SpanDSP:
SpanDSP is a library of DSP functions for telephony, in the 8000 sample per second world of E1s, T1s, and higher order PCM channels. It contains low level functions, such as basic filters. It also contains higher level functions, such as cadenced supervisory tone detection, and a complete software FAX machine. The software has been designed to avoid intellectual property issues, using mature techniques where all relevant patents have expired. See the file DueDiligence for important information about these intellectual property issues. from Brad; tested with his work-in-progress CallWeaver.
This commit is contained in:
parent
2f8e43bbfa
commit
1059d440dc
53
telephony/spandsp/Makefile
Normal file
53
telephony/spandsp/Makefile
Normal file
@ -0,0 +1,53 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/04/29 11:55:18 sthen Exp $
|
||||
|
||||
COMMENT= DSP library for telephony
|
||||
|
||||
DISTNAME= spandsp-0.0.4pre18
|
||||
CATEGORIES= telephony
|
||||
MASTER_SITES= ${HOMEPAGE}downloads/spandsp/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
SHARED_LIBS= spandsp 0.0
|
||||
|
||||
WRKDIST= ${WRKDIR}/spandsp-0.0.4
|
||||
|
||||
HOMEPAGE= http://www.soft-switch.org/
|
||||
|
||||
MAINTAINER= Brad Smith <brad@comstyle.com>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= jpeg m z
|
||||
|
||||
LIB_DEPENDS+= tiff::graphics/tiff
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
CONFIGURE_ARGS+= --enable-mmx
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "amd64"
|
||||
CONFIGURE_ARGS+= --enable-sse
|
||||
.endif"
|
||||
|
||||
# Test suite included, but requires many build dependencies
|
||||
# and proprietary files from standards bodies.
|
||||
NO_REGRESS= Yes
|
||||
|
||||
DOCS= README DueDiligence
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/spandsp
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/spandsp
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
5
telephony/spandsp/distinfo
Normal file
5
telephony/spandsp/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (spandsp-0.0.4pre18.tgz) = iI7kByCP3+y+HHyYrlPkQQ==
|
||||
RMD160 (spandsp-0.0.4pre18.tgz) = pVOtVfLaWUHSyXg1UutJrUftFyE=
|
||||
SHA1 (spandsp-0.0.4pre18.tgz) = jnxy5Gm2m+AdqHRKPh2f8ddUBcs=
|
||||
SHA256 (spandsp-0.0.4pre18.tgz) = B5btbVXyrazHv1Mqdmvi6mqulrlpl/lWIHXB/Z2MJYg=
|
||||
SIZE (spandsp-0.0.4pre18.tgz) = 2417590
|
12
telephony/spandsp/patches/patch-src_Makefile_in
Normal file
12
telephony/spandsp/patches/patch-src_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2008/04/29 11:55:18 sthen Exp $
|
||||
--- src/Makefile.in.orig Sun Apr 20 18:09:33 2008
|
||||
+++ src/Makefile.in Sun Apr 20 18:15:07 2008
|
||||
@@ -958,7 +958,7 @@ v29tx_floating_rrc.h: make_modem_filter$(EXEEXT)
|
||||
./make_modem_filter$(EXEEXT) -m V.29 -t >v29tx_floating_rrc.h
|
||||
|
||||
make_modem_filter$(EXEEXT): make_modem_filter.c filter_tools.c filter_tools.h config.h
|
||||
- $(CC_FOR_BUILD) -I. -o $@ make_modem_filter.c filter_tools.c -lm
|
||||
+ $(COMPILE) -o $@ make_modem_filter.c filter_tools.c -lm
|
||||
|
||||
$(DSP): msvc/msvcproj.head msvc/msvcproj.foot Makefile.am
|
||||
echo "creating $(DSP)"
|
8
telephony/spandsp/pkg/DESCR
Normal file
8
telephony/spandsp/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
SpanDSP is a library of DSP functions for telephony, in the 8000 sample
|
||||
per second world of E1s, T1s, and higher order PCM channels. It contains
|
||||
low level functions, such as basic filters. It also contains higher
|
||||
level functions, such as cadenced supervisory tone detection, and a
|
||||
complete software FAX machine. The software has been designed to avoid
|
||||
intellectual property issues, using mature techniques where all relevant
|
||||
patents have expired. See the file DueDiligence for important
|
||||
information about these intellectual property issues.
|
2
telephony/spandsp/pkg/PFRAG.shared
Normal file
2
telephony/spandsp/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2008/04/29 11:55:18 sthen Exp $
|
||||
@lib lib/libspandsp.so.${LIBspandsp_VERSION}
|
81
telephony/spandsp/pkg/PLIST
Normal file
81
telephony/spandsp/pkg/PLIST
Normal file
@ -0,0 +1,81 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/04/29 11:55:18 sthen Exp $
|
||||
%%SHARED%%
|
||||
include/spandsp/
|
||||
include/spandsp.h
|
||||
include/spandsp/adsi.h
|
||||
include/spandsp/arctan2.h
|
||||
include/spandsp/async.h
|
||||
include/spandsp/at_interpreter.h
|
||||
include/spandsp/awgn.h
|
||||
include/spandsp/bell_r2_mf.h
|
||||
include/spandsp/bert.h
|
||||
include/spandsp/biquad.h
|
||||
include/spandsp/bit_operations.h
|
||||
include/spandsp/bitstream.h
|
||||
include/spandsp/complex.h
|
||||
include/spandsp/complex_filters.h
|
||||
include/spandsp/complex_vector_float.h
|
||||
include/spandsp/crc.h
|
||||
include/spandsp/dc_restore.h
|
||||
include/spandsp/dds.h
|
||||
include/spandsp/dtmf.h
|
||||
include/spandsp/echo.h
|
||||
include/spandsp/fax.h
|
||||
include/spandsp/fir.h
|
||||
include/spandsp/fsk.h
|
||||
include/spandsp/g168models.h
|
||||
include/spandsp/g711.h
|
||||
include/spandsp/g722.h
|
||||
include/spandsp/g726.h
|
||||
include/spandsp/gsm0610.h
|
||||
include/spandsp/hdlc.h
|
||||
include/spandsp/ima_adpcm.h
|
||||
include/spandsp/logging.h
|
||||
include/spandsp/lpc10.h
|
||||
include/spandsp/modem_connect_tones.h
|
||||
include/spandsp/modem_echo.h
|
||||
include/spandsp/noise.h
|
||||
include/spandsp/oki_adpcm.h
|
||||
include/spandsp/playout.h
|
||||
include/spandsp/plc.h
|
||||
include/spandsp/power_meter.h
|
||||
include/spandsp/queue.h
|
||||
include/spandsp/schedule.h
|
||||
include/spandsp/sig_tone.h
|
||||
include/spandsp/silence_gen.h
|
||||
include/spandsp/super_tone_rx.h
|
||||
include/spandsp/super_tone_tx.h
|
||||
include/spandsp/t30.h
|
||||
include/spandsp/t30_fcf.h
|
||||
include/spandsp/t31.h
|
||||
include/spandsp/t35.h
|
||||
include/spandsp/t38_core.h
|
||||
include/spandsp/t38_gateway.h
|
||||
include/spandsp/t38_terminal.h
|
||||
include/spandsp/t4.h
|
||||
include/spandsp/telephony.h
|
||||
include/spandsp/time_scale.h
|
||||
include/spandsp/timing.h
|
||||
include/spandsp/tone_detect.h
|
||||
include/spandsp/tone_generate.h
|
||||
include/spandsp/v17rx.h
|
||||
include/spandsp/v17tx.h
|
||||
include/spandsp/v22bis.h
|
||||
include/spandsp/v27ter_rx.h
|
||||
include/spandsp/v27ter_tx.h
|
||||
include/spandsp/v29rx.h
|
||||
include/spandsp/v29tx.h
|
||||
include/spandsp/v42.h
|
||||
include/spandsp/v42bis.h
|
||||
include/spandsp/v8.h
|
||||
include/spandsp/vector_float.h
|
||||
include/spandsp/vector_int.h
|
||||
include/spandsp/version.h
|
||||
lib/libspandsp.a
|
||||
lib/libspandsp.la
|
||||
share/doc/spandsp/
|
||||
share/doc/spandsp/DueDiligence
|
||||
share/doc/spandsp/README
|
||||
share/spandsp/
|
||||
share/spandsp/global-tones.xml
|
||||
share/spandsp/tones.dtd
|
Loading…
Reference in New Issue
Block a user