aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-06-05 15:10:40 +0800
committermiwi <miwi@FreeBSD.org>2007-06-05 15:10:40 +0800
commita41c969d8129767c14c36c3eac5b81f5e7d9710e (patch)
tree959a34fb2a37fc2d9d806a58ab550ee3201ff929 /audio
parentfd43ea719295b07287519a93c7feadaf987a9f12 (diff)
downloadfreebsd-ports-gnome-a41c969d8129767c14c36c3eac5b81f5e7d9710e.tar.gz
freebsd-ports-gnome-a41c969d8129767c14c36c3eac5b81f5e7d9710e.tar.zst
freebsd-ports-gnome-a41c969d8129767c14c36c3eac5b81f5e7d9710e.zip
The floating-point Adaptive Multi Rate (AMR) speech codec libraries, based on
the reference implementation. WWW: http://www.penguin.cz/~utx/amr PR: ports/113143 Submitted by: Tatsuki Makino <tatsuki_makino at hotmail.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/libamrnb/Makefile36
-rw-r--r--audio/libamrnb/distinfo3
-rw-r--r--audio/libamrnb/pkg-descr4
-rw-r--r--audio/libamrnb/pkg-plist22
5 files changed, 66 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 56319f9bb039..bf559cd16ad2 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -289,6 +289,7 @@
SUBDIR += liba52-devel
SUBDIR += libadplug
SUBDIR += libaiff
+ SUBDIR += libamrnb
SUBDIR += libao
SUBDIR += libaudiofile
SUBDIR += libcdaudio
diff --git a/audio/libamrnb/Makefile b/audio/libamrnb/Makefile
new file mode 100644
index 000000000000..6a55eb187c32
--- /dev/null
+++ b/audio/libamrnb/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: libamrnb
+# Date created: 30 May 2007
+# Whom: Tatsuki Makino <tatsuki_makino@hotmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libamrnb
+PORTVERSION= 6.1.0.4
+CATEGORIES= audio
+MASTER_SITES= http://ftp.penguin.cz/pub/users/utx/amr/testing/ \
+ http://ftp.penguin.cz/pub/users/utx/amr/
+DISTNAME= amrnb-${DISTVERSION}rc1
+
+MAINTAINER= tatsuki_makino@hotmail.com
+COMMENT= The floating-point Adaptive Multi Rate speech codec libraries
+
+BUILD_DEPENDS= wget:${PORTSDIR}/ftp/wget \
+ ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip \
+ bash:${PORTSDIR}/shells/bash
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_AUTOTOOLS= libtool:15
+WRKSRC= ${WRKDIR}/amrnb-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --srcdir=${WRKSRC}
+CONFIGURE_ENV+= LANG=C
+USE_LDCONFIG= yes
+
+post-patch:
+ @${REINPLACE_CMD} -E \
+ -e "s!(/bin/bash)!${LOCALBASE}\\1!" \
+ ${WRKSRC}/prepare_sources.sh
+
+.include <bsd.port.mk>
diff --git a/audio/libamrnb/distinfo b/audio/libamrnb/distinfo
new file mode 100644
index 000000000000..46692858de99
--- /dev/null
+++ b/audio/libamrnb/distinfo
@@ -0,0 +1,3 @@
+MD5 (amrnb-6.1.0.4rc1.tar.bz2) = fec94b263e42e7a20bf7631c823a225c
+SHA256 (amrnb-6.1.0.4rc1.tar.bz2) = 517716365c0ac9c056d55aa90429356bdab1f970726fc680360136cbd25b4408
+SIZE (amrnb-6.1.0.4rc1.tar.bz2) = 408797
diff --git a/audio/libamrnb/pkg-descr b/audio/libamrnb/pkg-descr
new file mode 100644
index 000000000000..94a504f3b953
--- /dev/null
+++ b/audio/libamrnb/pkg-descr
@@ -0,0 +1,4 @@
+The floating-point Adaptive Multi Rate (AMR) speech codec libraries, based on
+the reference implementation.
+
+WWW: http://www.penguin.cz/~utx/amr
diff --git a/audio/libamrnb/pkg-plist b/audio/libamrnb/pkg-plist
new file mode 100644
index 000000000000..c6ee8238068d
--- /dev/null
+++ b/audio/libamrnb/pkg-plist
@@ -0,0 +1,22 @@
+bin/amrnb-decoder
+bin/amrnb-encoder
+bin/amrnb-decoder-if2
+bin/amrnb-encoder-if2
+bin/amrnb-decoder-etsi
+bin/amrnb-encoder-etsi
+bin/amrnb-encoder-vad2
+bin/amrnb-encoder-if2-vad2
+bin/amrnb-encoder-etsi-vad2
+include/amrnb/interf_dec.h
+include/amrnb/interf_enc.h
+include/amrnb/interf_rom.h
+include/amrnb/rom_dec.h
+include/amrnb/rom_enc.h
+include/amrnb/sp_dec.h
+include/amrnb/sp_enc.h
+include/amrnb/typedef.h
+lib/libamrnb.so.2
+lib/libamrnb.so
+lib/libamrnb.la
+lib/libamrnb.a
+@dirrm include/amrnb