[Midnightbsd-cvs] mports: mports/audio: add libamrwb, a restricted port (codec) for ffmpeg

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Sep 24 23:38:48 EDT 2008


Log Message:
-----------
add libamrwb, a restricted port (codec) for ffmpeg port (optional)

Modified Files:
--------------
    mports/audio:
        Makefile (r1.69 -> r1.70)

Added Files:
-----------
    mports/audio/libamrwb:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/audio/libamrwb/files:
        pkg-message.in (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/audio/Makefile,v
retrieving revision 1.69
retrieving revision 1.70
diff -L audio/Makefile -L audio/Makefile -u -r1.69 -r1.70
--- audio/Makefile
+++ audio/Makefile
@@ -39,6 +39,7 @@
     SUBDIR += ladspa
     SUBDIR += lame
     SUBDIR += liba52
+    SUBDIR += libamrwb
     SUBDIR += libao
     SUBDIR += libaudiofile
     SUBDIR += libcdaudio
--- /dev/null
+++ audio/libamrwb/pkg-descr
@@ -0,0 +1,13 @@
+3GPP Adaptive Multi-Rate - Wideband (AMR-WB) Speech Codec
+(3GPP TS 26.204 V7.0.0)
+http://www.3gpp.org/ftp/Specs/html-info/26204.htm
+
+AMR-WB is a speech coding standard developed after the AMR using the same
+technology like ACELP. The codec provides better speech quality due to wider
+speech bandwidth of 50-7000 Hz compared to narrowband speech codecs.
+AMR-WB is codified as G.722.2, an ITU-T standard speech codec.
+
+Note that depending on law in your country, you may need a license for
+distribution, any use, commercial use or even development.
+
+WWW: http://www.penguin.cz/~utx/amr
--- /dev/null
+++ audio/libamrwb/pkg-plist
@@ -0,0 +1,27 @@
+bin/amrwb-decoder
+bin/amrwb-decoder-if2
+bin/amrwb-encoder
+bin/amrwb-encoder-if2
+include/amrwb/dec.h
+include/amrwb/dec_acelp.h
+include/amrwb/dec_dtx.h
+include/amrwb/dec_gain.h
+include/amrwb/dec_if.h
+include/amrwb/dec_lpc.h
+include/amrwb/dec_main.h
+include/amrwb/dec_util.h
+include/amrwb/enc.h
+include/amrwb/enc_acelp.h
+include/amrwb/enc_dtx.h
+include/amrwb/enc_gain.h
+include/amrwb/enc_if.h
+include/amrwb/enc_lpc.h
+include/amrwb/enc_main.h
+include/amrwb/enc_util.h
+include/amrwb/if_rom.h
+include/amrwb/typedef.h
+lib/libamrwb.a
+lib/libamrwb.la
+lib/libamrwb.so
+lib/libamrwb.so.3
+ at dirrm include/amrwb
--- /dev/null
+++ audio/libamrwb/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for:	libamrwb
+# Date created:	7 Jun 2007
+# Whom:		Tatsuki Makino <tatsuki_makino at hotmail.com>
+#
+# $MidnightBSD: mports/audio/libamrwb/Makefile,v 1.1 2008/09/25 03:38:45 laffer1 Exp $
+# $FreeBSD: ports/audio/libamrwb/Makefile,v 1.5 2008/06/01 20:31:01 miwi Exp $
+#
+
+PORTNAME=	libamrwb
+PORTVERSION=	7.0.0.3
+CATEGORIES=	audio
+MASTER_SITES=	http://ftp.penguin.cz/pub/users/utx/amr/ \
+		http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/:3GPP
+DISTNAME=	amrwb-${DISTVERSION}
+DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${SRC3GPP}:3GPP
+EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	3GPP Adaptive Multi-Rate - Wideband (AMR-WB) Speech Codec
+LICENSE=	restricted
+
+BUILD_DEPENDS=	${UNZIP_CMD}:${PORTSDIR}/archivers/unzip
+
+RESTRICTED=	license prohibits redistribution
+RESTRICTED_FILES=	${SRC3GPP}
+USE_BZIP2=	yes
+USE_GMAKE=	yes
+USE_AUTOTOOLS=	libtool:15
+PORTDOCS=	AUTHORS COPYING ChangeLog NEWS README TODO readme.txt
+SUB_FILES=	pkg-message
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV+=	LANG=C
+MAKE_ENV=	LANG=C
+USE_LDCONFIG=	yes
+
+SRC3GPP=	26204-700.zip
+
+post-extract:
+	@${CP} ${DISTDIR}/${SRC3GPP} ${WRKSRC}/
+
+post-install:
+.ifndef(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+. for FILE in ${PORTDOCS}
+		${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+. endfor
+.endif
+
+.include <bsd.port.mk>
--- /dev/null
+++ audio/libamrwb/distinfo
@@ -0,0 +1,6 @@
+MD5 (amrwb-7.0.0.3.tar.bz2) = 5ffbc49146b0bb09b5d7f0ec68de1fe7
+SHA256 (amrwb-7.0.0.3.tar.bz2) = 1fddde278f1bf8a5b77086c89f5926ed42daa0868d0fa2e773a50dfe4624c95a
+SIZE (amrwb-7.0.0.3.tar.bz2) = 222393
+MD5 (26204-700.zip) = 2e5098687d3007a05b7acc8298a5b072
+SHA256 (26204-700.zip) = 1b8ba234f5ac520650cb66aee1079491681afb7dba78eb717dca9534ae3598f0
+SIZE (26204-700.zip) = 255757
--- /dev/null
+++ audio/libamrwb/files/pkg-message.in
@@ -0,0 +1,16 @@
+AMR codecs incorporate several patents, held by Ericsson,
+Universite de Sherbrooke (VoiceAge) and Nokia.
+VoiceAge claims to provide patent portfolio for AMR codecs. Depending on law in
+your country, manufacturers and developers may need to get a license.
+Because it is a shared library, you may need a special contract for each one
+application, which links against this library, directly or indirectly.
+
+* 3GPP policy on licensing and 3G Patent Platform:
+    http://www.3gpp.org/faq/faq_2005_2.htm#A3.1
+* Intellectual property in ETSI standards:
+    http://webapp.etsi.org/IPR/home.asp
+* On 3GPP legal issues:
+    http://www.3gpp.org/legal/legal.htm
+* On VoiceAge licensing:
+    http://www.voiceage.com/licensing.php
+


More information about the Midnightbsd-cvs mailing list