Bug 46884

Summary: new port of FAAD MPEG AAC audio library
Product: Ports & Packages Reporter: Sean McGovern <sean>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
faad.shar none

Description Sean McGovern 2003-01-09 04:40:01 UTC
	This is a port of the FAAD MPEG AAC audio decoding library available
from http:<color><param>2323,6E6E,2525</param>//faac.sourceforge.net/</color>
Comment 1 Sean McGovern 2003-01-09 04:44:17 UTC
ewps... looks like copying send-pr output right to Apple Mail is not 
the best way.
Comment 2 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2003-01-09 04:49:47 UTC
	Please re-send the shar BUT disable html
email on your MUA. You sent a html encoded shar. It was all messed
up. :)

	Regards,

--
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
Computer Science Undergraduate | FreeBSD Committer | CS Developer
flames to beloved devnull@someotherworldbeloworabove.org
feature, n: a documented bug | bug, n: an undocumented feature
Comment 3 Sean McGovern 2003-01-09 06:20:43 UTC
Here is the shar (sans HTML-markup this time -- my bad):

# 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:
#
#	faad
#	faad/Makefile
#	faad/pkg-comment
#	faad/pkg-descr
#	faad/pkg-plist
#	faad/distinfo
#	faad/files
#	faad/files/patch-frontend-audio.c
#	faad/files/patch-configure.in
#	faad/files/patch-common-mp4v2-configure.in
#	faad/files/patch-frontend-Makefile.am
#
echo c - faad
mkdir -p faad > /dev/null 2>&1
echo x - faad/Makefile
sed 's/^X//' >faad/Makefile << 'END-of-faad/Makefile'
X# New ports collection makefile for:	faad
X# Date created:			8 January 2003
X# Whom:				Sean McGovern <sean@sfarc.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	faad2
XPORTVERSION=	1.1
XCATEGORIES=	audio
XMASTER_SITES=	http://faac.sourceforge.net/files/
X
XMAINTAINER=	ports@FreeBSD.org
X
XLIB_DEPENDS=	sndfile.1:${PORTSDIR}/audio/libsndfile \
X		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
XUSE_AUTOMAKE_VER= 15
XAUTOMAKE_ARGS=	--add-missing
XUSE_AUTOCONF=	yes
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
X
XCONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
X		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
X
XINSTALLS_SHLIB=	yes
X
Xpre-configure:
X	cd ${WRKSRC}; ${ACLOCAL} -I ${ACLOCAL_DIR} -I .; libtoolize --automake
X
X.include <bsd.port.mk>
END-of-faad/Makefile
echo x - faad/pkg-comment
sed 's/^X//' >faad/pkg-comment << 'END-of-faad/pkg-comment'
XAn MPEG AAC decoding library
END-of-faad/pkg-comment
echo x - faad/pkg-descr
sed 's/^X//' >faad/pkg-descr << 'END-of-faad/pkg-descr'
XThis is the FAAD2 MPEG AAC audio decoding library.
X
XWWW: http://faac.sourceforge.net/
X
X- Sean McGovern
Xsean@sfarc.net
END-of-faad/pkg-descr
echo x - faad/pkg-plist
sed 's/^X//' >faad/pkg-plist << 'END-of-faad/pkg-plist'
Xbin/faad
Xinclude/faad.h
Xlib/libfaad.so.0
Xlib/libfaad.so
Xlib/libfaad.la
Xlib/libfaad.a
Xlib/libmp4v2.so.0
Xlib/libmp4v2.so
Xlib/libmp4v2.la
Xlib/libmp4v2.a
END-of-faad/pkg-plist
echo x - faad/distinfo
sed 's/^X//' >faad/distinfo << 'END-of-faad/distinfo'
XMD5 (faad2-1.1.tar.gz) = 5a20a6268484dea0e080df47f64b9075
END-of-faad/distinfo
echo c - faad/files
mkdir -p faad/files > /dev/null 2>&1
echo x - faad/files/patch-frontend-audio.c
sed 's/^X//' >faad/files/patch-frontend-audio.c << 
'END-of-faad/files/patch-frontend-audio.c'
X--- frontend/audio.c.orig	Thu Jul 25 08:42:54 2002
X+++ frontend/audio.c	Wed Jan  8 20:52:34 2003
X@@ -52,7 +52,7 @@
X         break;
X     }
X     aufile->sfinfo.channels = channels;
X-    aufile->sfinfo.samples  = 0;
X+    aufile->sfinfo.frames  = 0;
X #ifdef _WIN32
X     if(infile[0] == '-')
X     {
END-of-faad/files/patch-frontend-audio.c
echo x - faad/files/patch-configure.in
sed 's/^X//' >faad/files/patch-configure.in << 
'END-of-faad/files/patch-configure.in'
X--- configure.in.orig	Fri Aug  9 03:23:28 2002
X+++ configure.in	Wed Jan  8 19:20:59 2003
X@@ -1,8 +1,9 @@
X-AC_INIT()
X+AC_INIT
X+AC_CANONICAL_TARGET
X AM_INIT_AUTOMAKE(faad,2.0)
X
X AC_PROG_CC
X-AM_PROG_LIBTOOL
X+AC_PROG_LIBTOOL
X AC_SUBST(LIBTOOL_DEPS)
X
X dnl Checks for programs.
X@@ -29,8 +30,9 @@
X   ])
X fi
X
X-AC_OUTPUT_COMMANDS(,[cd common/mp4v2; aclocal -I .; autoheader; 
libtoolize --automake; automake --add-missing; autoconf; cd -])
X+AC_CONFIG_COMMANDS([default-1],[[]],[[cd common/mp4v2; aclocal -I . 
-I /usr/local/share/aclocal; autoheader; libtoolize --automake; 
automake --add-missing; autoconf; cd -]])
X
X AC_CONFIG_SUBDIRS(common/mp4v2)
X
X-AC_OUTPUT(libfaad/Makefile common/Makefile  frontend/Makefile 
Makefile)
X+AC_CONFIG_FILES([libfaad/Makefile common/Makefile  frontend/Makefile 
Makefile])
X+AC_OUTPUT
END-of-faad/files/patch-configure.in
echo x - faad/files/patch-common-mp4v2-configure.in
sed 's/^X//' >faad/files/patch-common-mp4v2-configure.in << 
'END-of-faad/files/patch-common-mp4v2-configure.in'
X--- common/mp4v2/configure.in.orig	Wed Jan  8 19:45:23 2003
X+++ common/mp4v2/configure.in	Wed Jan  8 19:45:57 2003
X@@ -1,11 +1,12 @@
X AC_INIT()
X+AC_CANONICAL_TARGET
X AM_INIT_AUTOMAKE(mpeg4ip,0.9.2.8,dummy)
X
X AC_PROG_CC
X AC_PROG_CXX
X AC_PROG_INSTALL
X
X-AM_PROG_LIBTOOL
X+AC_PROG_LIBTOOL
X
X AM_CONFIG_HEADER(config.h)
X
END-of-faad/files/patch-common-mp4v2-configure.in
echo x - faad/files/patch-frontend-Makefile.am
sed 's/^X//' >faad/files/patch-frontend-Makefile.am << 
'END-of-faad/files/patch-frontend-Makefile.am'
X--- frontend/Makefile.am.orig	Thu Jul 25 10:22:25 2002
X+++ frontend/Makefile.am	Wed Jan  8 21:30:40 2003
X@@ -6,4 +6,4 @@
X CFLAGS = -O2 -D_FILE_OFFSET_BITS=64
X INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/common/mp4v2
X LDFLAGS =
X-LDADD = $(top_builddir)/libfaad/libfaad.la 
$(top_builddir)/common/mp4v2/libmp4v2.la  -lm -lsndfile
X+LDADD = $(top_builddir)/libfaad/libfaad.la 
$(top_builddir)/common/mp4v2/libmp4v2.la  -lm -lsndfile -lgnugetopt
END-of-faad/files/patch-frontend-Makefile.am
exit
Comment 4 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2003-01-18 19:24:53 UTC
State Changed
From-To: open->closed

Committed, thanks!