Date: Fri, 22 Jun 2007 16:48:11 +0200 From: "Fredrik Lindberg" <fli@shapeshifter.se> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/113946: New port: multimedia/amrnb 3GPP Adaptive Multi-Rate Floating-point (AMR) Speech Codec Message-ID: <20070622144822.A7AC378C20@mx1.h3q.net> Resent-Message-ID: <200706221450.l5MEo1e7042611@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 113946 >Category: ports >Synopsis: New port: multimedia/amrnb 3GPP Adaptive Multi-Rate Floating-point (AMR) Speech Codec >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jun 22 14:50:00 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Fredrik Lindberg >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD nexus 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat Jun 9 23:25:01 CEST 2007 root@nexus:/usr/obj/usr/src/sys/NEXUS i386 >Description: 3GPP Adaptive Multi-Rate Floating-point (AMR) Speech Codec (3GPP TS 26.104 V 6.1.0) AMR is an audio data compression scheme optimized for speech coding. AMR was adopted as the standard speech codec by 3GPP in October 1998 and is now widely used in GSM. >How-To-Repeat: >Fix: --- amrnb.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # amrnb # amrnb/Makefile # amrnb/pkg-plist # amrnb/pkg-descr # amrnb/pkg-message # amrnb/distinfo # amrnb/files # amrnb/files/patch-configure # amrnb/files/patch-Makefile.in # echo c - amrnb mkdir -p amrnb > /dev/null 2>&1 echo x - amrnb/Makefile sed 's/^X//' >amrnb/Makefile << 'END-of-amrnb/Makefile' X# Ports collection makefile for: amrnb X# Date created: 22 June 2007 X# Whom: Fredrik Lindberg <fli@shapeshifter.se> X# X# $FreeBSD$ X# X XPORTNAME= amrnb XPORTVERSION= 6.1.0.4 XCATEGORIES= multimedia XMASTER_SITES= http://ftp.penguin.cz/pub/users/utx/amr/:srcwrapper \ X http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/:src3gpp XDISTFILES= ${SRCWRAPPER}:srcwrapper ${SRC3GPP}:src3gpp XEXTRACT_ONLY= ${SRCWRAPPER} X XMAINTAINER= fli@shapeshifter.se XCOMMENT= 3GPP Adaptive Multi-Rate Floating-point (AMR) Speech Codec X XBUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip \ X bash:${PORTSDIR}/shells/bash X XSRCWRAPPER= amrnb-${PORTVERSION}.tar.bz2 XSRC3GPP= 26104-610.zip X XRESTRICTED= license prohibits redistribution XRESTRICTED_FILES= ${SRC3GPP} XUSE_BZIP2= yes XUSE_GMAKE= yes XGNU_CONFIGURE= yes XUSE_LDCONFIG= yes X X.include <bsd.port.pre.mk> X Xpost-extract: X ${UNZIP_CMD} ${DISTDIR}/${SRC3GPP} -d ${WRKSRC} X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.post.mk> END-of-amrnb/Makefile echo x - amrnb/pkg-plist sed 's/^X//' >amrnb/pkg-plist << 'END-of-amrnb/pkg-plist' Xbin/amrnb-decoder Xbin/amrnb-decoder-etsi Xbin/amrnb-decoder-if2 Xbin/amrnb-encoder Xbin/amrnb-encoder-etsi Xbin/amrnb-encoder-etsi-vad2 Xbin/amrnb-encoder-if2 Xbin/amrnb-encoder-if2-vad2 Xbin/amrnb-encoder-vad2 Xinclude/amrnb/interf_dec.h Xinclude/amrnb/interf_enc.h Xinclude/amrnb/interf_rom.h Xinclude/amrnb/rom_dec.h Xinclude/amrnb/rom_enc.h Xinclude/amrnb/sp_dec.h Xinclude/amrnb/sp_enc.h Xinclude/amrnb/typedef.h Xlib/libamrnb.a Xlib/libamrnb.la Xlib/libamrnb.so Xlib/libamrnb.so.2 X@dirrm include/amrnb END-of-amrnb/pkg-plist echo x - amrnb/pkg-descr sed 's/^X//' >amrnb/pkg-descr << 'END-of-amrnb/pkg-descr' X3GPP Adaptive Multi-Rate Floating-point (AMR) Speech Codec X(3GPP TS 26.104 V 6.1.0) X XAMR is an audio data compression scheme optimized for speech coding. XAMR was adopted as the standard speech codec by 3GPP in October 1998 Xand is now widely used in GSM. X XNote that depending on law in your country, you may need a license for Xdistribution, any use, commercial use or even development. X XWWW: http://www.penguin.cz/~utx/amr END-of-amrnb/pkg-descr echo x - amrnb/pkg-message sed 's/^X//' >amrnb/pkg-message << 'END-of-amrnb/pkg-message' X XAMR codecs incorporate several patents, held by Ericsson, XUniversite de Sherbrooke (VoiceAge) and Nokia. XVoiceAge claims to provide patent portfolio for AMR codecs. Depending on law in Xyour country, manufacturers and developers may need to get a license. XBecause it is a shared library, you may need a special contract for each one Xapplication, which links against this library, directly or indirectly. X X* 3GPP policy on licensing and 3G Patent Platform: X http://www.3gpp.org/faq/faq_2005_2.htm#A3.1 X* Intellectual property in ETSI standards: X http://webapp.etsi.org/IPR/home.asp X* On 3GPP legal issues: X http://www.3gpp.org/legal/legal.htm X* On VoiceAge licensing: X http://www.voiceage.com/licensing.php X END-of-amrnb/pkg-message echo x - amrnb/distinfo sed 's/^X//' >amrnb/distinfo << 'END-of-amrnb/distinfo' XMD5 (amrnb-6.1.0.4.tar.bz2) = f482cdd0584469ba23ff33c6b331acbd XSHA256 (amrnb-6.1.0.4.tar.bz2) = 6f2df7089205cd6127d434e8ec8fac4cccc163d4df5ec4437211c884fbd9fe75 XSIZE (amrnb-6.1.0.4.tar.bz2) = 224932 XMD5 (26104-610.zip) = cfd9012bff83afdf5ad069b86d3063b6 XSHA256 (26104-610.zip) = 8dc9453f9b93202247b4800a1d946ae6eaa3b9d0c48237ae8848144feb88399e XSIZE (26104-610.zip) = 292640 END-of-amrnb/distinfo echo c - amrnb/files mkdir -p amrnb/files > /dev/null 2>&1 echo x - amrnb/files/patch-configure sed 's/^X//' >amrnb/files/patch-configure << 'END-of-amrnb/files/patch-configure' X--- configure.orig Fri Jun 22 12:43:20 2007 X+++ configure Fri Jun 22 12:43:24 2007 X@@ -20338,12 +20338,6 @@ X fi X X X-if test x"$WGET" = x -a ! "(" -f "26104-610.zip" -o -f "sp_enc.c" ")" ; then X- { { echo "$as_me:$LINENO: error: You need wget utility to download sources." >&5 X-echo "$as_me: error: You need wget utility to download sources." >&2;} X- { (exit 1); exit 1; }; } X-fi X- X # Checks for libraries. X { echo "$as_me:$LINENO: checking for library containing sqrt" >&5 X echo $ECHO_N "checking for library containing sqrt... $ECHO_C" >&6; } END-of-amrnb/files/patch-configure echo x - amrnb/files/patch-Makefile.in sed 's/^X//' >amrnb/files/patch-Makefile.in << 'END-of-amrnb/files/patch-Makefile.in' X--- Makefile.in.orig Fri Jun 22 12:44:54 2007 X+++ Makefile.in Fri Jun 22 12:48:28 2007 X@@ -250,7 +250,7 @@ X sysconfdir = @sysconfdir@ X target_alias = @target_alias@ X EXTRA_DIST = amrnb-any-cflags.patch amrnb-intsizes.patch amrnb-strict-aliasing.patch prepare_sources.sh amrnb.spec X-DISTCLEANFILES = 26104-610.zip 26104-610.doc 26104-610_ANSI_C_source_code.zip X+DISTCLEANFILES = 26104-610.doc 26104-610_ANSI_C_source_code.zip X lib_LTLIBRARIES = \ X libamrnb.la X X@@ -914,18 +914,15 @@ X $(top_srcdir)/decoder.c $(top_srcdir)/encoder.c $(top_srcdir)/interf_dec.c $(top_srcdir)/interf_dec.h $(top_srcdir)/interf_enc.c $(top_srcdir)/interf_enc.h $(top_srcdir)/interf_rom.h $(top_srcdir)/rom_dec.h $(top_srcdir)/rom_enc.h $(top_srcdir)/sp_dec.c $(top_srcdir)/sp_dec.h $(top_srcdir)/sp_enc.c $(top_srcdir)/sp_enc.h $(top_srcdir)/typedef.h: $(top_srcdir)/readme.txt X X $(top_srcdir)/readme.txt: $(top_srcdir)/prepare_sources.sh $(top_srcdir)/amrnb-any-cflags.patch $(top_srcdir)/amrnb-intsizes.patch $(top_srcdir)/amrnb-strict-aliasing.patch $(top_srcdir)/26104-610_ANSI_C_source_code.zip X- $(top_srcdir)/prepare_sources.sh X+ ${prefix}/bin/bash $(top_srcdir)/prepare_sources.sh X X 26104-610_ANSI_C_source_code.zip 26104-610.doc: 26104-610.zip X- rm -f 26104-610_ANSI_C_source_code.zip 26104-610.doc X- $(UNZIP) 26104-610.zip X chmod og-w 26104-610.doc X X 26104-610.zip: X- $(WGET) -N http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-610.zip X X extraclean: X- rm -f $(distdir)/*.c $(distdir)/*.h $(distdir)/readme.txt $(distdir)/26104-610.zip $(distdir)/26104-610.doc $(distdir)/26104-610_ANSI_C_source_code.zip X+ rm -f $(distdir)/*.c $(distdir)/*.h $(distdir)/readme.txt $(distdir)/26104-610.doc $(distdir)/26104-610_ANSI_C_source_code.zip X X # WARNING: These commands use internal automake command and may fail in future version. X extradist-gzip: distdir extraclean END-of-amrnb/files/patch-Makefile.in exit --- amrnb.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070622144822.A7AC378C20>