svn commit: r419278 - in head/audio: . libg722

Maxim Sobolev sobomax at FreeBSD.org
Fri Jul 29 23:28:15 UTC 2016


Author: sobomax
Date: Fri Jul 29 23:28:13 2016
New Revision: 419278
URL: https://svnweb.freebsd.org/changeset/ports/419278

Log:
  Add libg722, a software G.722 decoding/encoding library that is
  bit-compatible with the ITU-T specifications.

Added:
  head/audio/libg722/
  head/audio/libg722/Makefile   (contents, props changed)
  head/audio/libg722/distinfo   (contents, props changed)
  head/audio/libg722/pkg-descr   (contents, props changed)
  head/audio/libg722/pkg-plist   (contents, props changed)
Modified:
  head/audio/Makefile

Modified: head/audio/Makefile
==============================================================================
--- head/audio/Makefile	Fri Jul 29 23:27:18 2016	(r419277)
+++ head/audio/Makefile	Fri Jul 29 23:28:13 2016	(r419278)
@@ -370,6 +370,7 @@
     SUBDIR += libechonest
     SUBDIR += libfilteraudio
     SUBDIR += libfishsound
+    SUBDIR += libg722
     SUBDIR += libgig
     SUBDIR += libgme
     SUBDIR += libgpod

Added: head/audio/libg722/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/libg722/Makefile	Fri Jul 29 23:28:13 2016	(r419278)
@@ -0,0 +1,29 @@
+# Created by: sobomax
+# $FreeBSD$
+
+PORTNAME=     	libg722
+PORTVERSION=	1.0.0
+#PORTREVISION= 	1
+CATEGORIES= 	misc
+
+MAINTAINER=	ports at sippysoft.com
+COMMENT=	Software G.722 decoding/encoding library
+
+LICENSE=	PUBLIC_DOMAIN
+LICENSE_NAME=	${LICENSE:S/_/ /}
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	sippy
+GH_TAGNAME=	v_1_0_0
+
+MAKE_ENV=	MAKEOBJDIR=${WRKDIR}
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/g722.h ${STAGEDIR}${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/g722_decoder.h ${STAGEDIR}${PREFIX}/include
+	${INSTALL_DATA} ${WRKSRC}/g722_encoder.h ${STAGEDIR}${PREFIX}/include
+	${INSTALL_DATA} ${WRKDIR}/libg722.a ${STAGEDIR}${PREFIX}/lib
+
+.include <bsd.port.mk>

Added: head/audio/libg722/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/libg722/distinfo	Fri Jul 29 23:28:13 2016	(r419278)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1469834457
+SHA256 (sippy-libg722-1.0.0-v_1_0_0_GH0.tar.gz) = 4d1a79d72a6cb0562a34041ededa7bc4784258541084c9fda33b33821ef0f894
+SIZE (sippy-libg722-1.0.0-v_1_0_0_GH0.tar.gz) = 109428

Added: head/audio/libg722/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/libg722/pkg-descr	Fri Jul 29 23:28:13 2016	(r419278)
@@ -0,0 +1,8 @@
+The G.722 module is a bit exact implementation of the ITU G.722 specification
+for all three specified bit rates - 64000bps, 56000bps and 48000bps. It passes
+the ITU tests.
+
+To allow fast and flexible interworking with narrow band telephony, the encoder
+and decoder support an option for the linear audio to be an 8k samples/second
+stream. In this mode the codec is considerably faster, and still fully
+compatible with wideband terminals using G.722.

Added: head/audio/libg722/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/libg722/pkg-plist	Fri Jul 29 23:28:13 2016	(r419278)
@@ -0,0 +1,4 @@
+lib/libg722.a
+include/g722.h
+include/g722_decoder.h
+include/g722_encoder.h


More information about the svn-ports-head mailing list