Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2007 02:42:16 GMT
From:      Tatsuki Makino<tatsuki_makino@hotmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/113143: New port: audio/libamrnb
Message-ID:  <200705300242.l4U2gGeH047090@www.freebsd.org>
Resent-Message-ID: <200705300250.l4U2oCgI065533@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         113143
>Category:       ports
>Synopsis:       New port: audio/libamrnb
>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:   Wed May 30 02:50:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Tatsuki Makino
>Release:        FreeBSD 6.2-RELEASE-p5 i386
>Organization:
>Environment:
FreeBSD FreeBSD.test 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #0: Thu May 24 16:23:26 JST 2007     root@FreeBSD.test:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The floating-point Adaptive Multi Rate (AMR) speech codec libraries, based on the reference implementation.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	audio/libamrnb
#	audio/libamrnb/pkg-plist
#	audio/libamrnb/pkg-descr
#	audio/libamrnb/Makefile
#	audio/libamrnb/distinfo
#
echo c - audio/libamrnb
mkdir -p audio/libamrnb > /dev/null 2>&1
echo x - audio/libamrnb/pkg-plist
sed 's/^X//' >audio/libamrnb/pkg-plist << 'END-of-audio/libamrnb/pkg-plist'
Xbin/amrnb-decoder
Xbin/amrnb-encoder
Xbin/amrnb-decoder-if2
Xbin/amrnb-encoder-if2
Xbin/amrnb-decoder-etsi
Xbin/amrnb-encoder-etsi
Xbin/amrnb-encoder-vad2
Xbin/amrnb-encoder-if2-vad2
Xbin/amrnb-encoder-etsi-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.so.2
Xlib/libamrnb.so
Xlib/libamrnb.la
Xlib/libamrnb.a
X@dirrm include/amrnb
END-of-audio/libamrnb/pkg-plist
echo x - audio/libamrnb/pkg-descr
sed 's/^X//' >audio/libamrnb/pkg-descr << 'END-of-audio/libamrnb/pkg-descr'
XThe floating-point Adaptive Multi Rate (AMR) speech codec libraries, based on
Xthe reference implementation.
X
XWWW: http://www.penguin.cz/~utx/amr
END-of-audio/libamrnb/pkg-descr
echo x - audio/libamrnb/Makefile
sed 's/^X//' >audio/libamrnb/Makefile << 'END-of-audio/libamrnb/Makefile'
X# New ports collection makefile for:	libamrnb
X# Date created:	30 May 2007
X# Whom:		Hiraga Saito
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libamrnb
XPORTVERSION=	6.1.0.4
XCATEGORIES=	audio
XMASTER_SITES=	\
X	http://ftp.penguin.cz/pub/users/utx/amr/testing/ \
X	http://ftp.penguin.cz/pub/users/utx/amr/
X#MASTER_SITE_SUBDIR=
XDISTNAME=	amrnb-${DISTVERSION}rc1
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	The floating-point Adaptive Multi Rate speech codec libraries
X
XBUILD_DEPENDS+=	wget:${PORTSDIR}/ftp/wget
XBUILD_DEPENDS+=	${UNZIP_CMD}:${PORTSDIR}/archivers/unzip
XBUILD_DEPENDS+=	bash:${PORTSDIR}/shells/bash
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_AUTOTOOLS=	libtool:15
XWRKSRC=		${WRKDIR}/amrnb-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS+=	--srcdir=${WRKSRC}
XCONFIGURE_ENV+=	LANG=C
XUSE_LDCONFIG=	yes
X
Xpost-patch:
X	@${REINPLACE_CMD} -E \
X		-e "s!(/bin/bash)!${LOCALBASE}\\1!" \
X		${WRKSRC}/prepare_sources.sh
X#	@${REINPLACE_CMD} -E \
X#		-e "s!(/bin/bash)!`which bash||echo \\\\1`!" \
X#		${WRKSRC}/prepare_sources.sh
X
X.include <bsd.port.mk>
END-of-audio/libamrnb/Makefile
echo x - audio/libamrnb/distinfo
sed 's/^X//' >audio/libamrnb/distinfo << 'END-of-audio/libamrnb/distinfo'
XMD5 (amrnb-6.1.0.4rc1.tar.bz2) = fec94b263e42e7a20bf7631c823a225c
XSHA256 (amrnb-6.1.0.4rc1.tar.bz2) = 517716365c0ac9c056d55aa90429356bdab1f970726fc680360136cbd25b4408
XSIZE (amrnb-6.1.0.4rc1.tar.bz2) = 408797
END-of-audio/libamrnb/distinfo
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705300242.l4U2gGeH047090>