diff options
author | dillo <dillo@pkgsrc.org> | 2002-09-05 17:49:42 +0000 |
---|---|---|
committer | dillo <dillo@pkgsrc.org> | 2002-09-05 17:49:42 +0000 |
commit | 3411e52950bf99a808f11ba55190be0114186b82 (patch) | |
tree | f9ce27bd554941c21c90cf5b6522d86e2d1c86e8 /audio | |
parent | 6832a169004407a4a39fbda8d0349217251301bc (diff) | |
download | pkgsrc-3411e52950bf99a808f11ba55190be0114186b82.tar.gz |
initial import of faad 1.1
FAAD2 is the fastest ISO AAC audio decoder available. FAAD2 correctly
decodes all MPEG-4 and MPEG-2 MAIN, LOW, LTP, LD and ER object type
AAC files.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/faad2/DESCR | 9 | ||||
-rw-r--r-- | audio/faad2/Makefile | 32 | ||||
-rw-r--r-- | audio/faad2/PLIST | 13 | ||||
-rw-r--r-- | audio/faad2/buildlink2.mk | 20 | ||||
-rw-r--r-- | audio/faad2/distinfo | 7 | ||||
-rw-r--r-- | audio/faad2/patches/patch-aa | 12 | ||||
-rw-r--r-- | audio/faad2/patches/patch-ab | 13 | ||||
-rw-r--r-- | audio/faad2/patches/patch-ac | 13 |
8 files changed, 119 insertions, 0 deletions
diff --git a/audio/faad2/DESCR b/audio/faad2/DESCR new file mode 100644 index 00000000000..0077b5eca52 --- /dev/null +++ b/audio/faad2/DESCR @@ -0,0 +1,9 @@ +FAAD2 is the fastest ISO AAC audio decoder available. FAAD2 correctly +decodes all MPEG-4 and MPEG-2 MAIN, LOW, LTP, LD and ER object type +AAC files. + +There is a stable version of FAAD2 available, source code can be +downloaded on the download page. The advantage of this new library +is the lack of copyrighted code written by third parties. Further +it is coded much cleaner and will give a much better understanding +of the AAC coding algorithms. diff --git a/audio/faad2/Makefile b/audio/faad2/Makefile new file mode 100644 index 00000000000..6db03e94748 --- /dev/null +++ b/audio/faad2/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/09/05 17:49:42 dillo Exp $ +# + +DISTNAME= faad2-1.1 +CATEGORIES= audio +MASTER_SITES= http://faac.sourceforge.net/files/ + +MAINTAINER= dillo@giga.or.at +HOMEPAGE= http://faac.sourceforge.net/ +COMMENT= AAC decoding library + +BUILD_DEPENDS+=autoconf-[0-9]*:../../devel/autoconf +BUILD_DEPENDS+=automake-[0-9]*:../../devel/automake + +RESTRICTED= Dolby doesn't allow binary distributions +NO_BIN_ON_FTP= ${RESTRICTED} +NO_BIN_ON_CD= ${RESTRICTED} + +WRKSRC= ${WRKDIR}/faad2 + +USE_GMAKE= YES +USE_LIBTOOL= YES +LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +LIBTOOL_OVERRIDE= ${WRKSRC}/common/mp4v2/libtool +GNU_CONFIGURE= YES +USE_BUILDLINK2= YES + +pre-configure: + cd ${WRKSRC} && ${SH} bootstrap + +.include "../../audio/libsndfile/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/faad2/PLIST b/audio/faad2/PLIST new file mode 100644 index 00000000000..9d5b739fb06 --- /dev/null +++ b/audio/faad2/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/09/05 17:49:42 dillo Exp $ +bin/faad +include/faad.h +lib/libfaad.a +lib/libfaad.la +lib/libfaad.so +lib/libfaad.so.0 +lib/libfaad.so.0.0 +lib/libmp4v2.a +lib/libmp4v2.la +lib/libmp4v2.so +lib/libmp4v2.so.0 +lib/libmp4v2.so.0.0 diff --git a/audio/faad2/buildlink2.mk b/audio/faad2/buildlink2.mk new file mode 100644 index 00000000000..0ec154b8a05 --- /dev/null +++ b/audio/faad2/buildlink2.mk @@ -0,0 +1,20 @@ +# $NetBSD: buildlink2.mk,v 1.1.1.1 2002/09/05 17:49:42 dillo Exp $ + +.if !defined(FAAD2_BUILDLINK2_MK) +FAAD2_BUILDLINK2_MK= # defined + +BUILDLINK_PACKAGES+= faad2 +BUILDLINK_DEPENDS.faad2?= faad2>=1.1 +BUILDLINK_PKGSRCDIR.faad2?= ../../audio/faad2 + +EVAL_PREFIX+= BUILDLINK_PREFIX.faad2=faad2 +BUILDLINK_PREFIX.faad2_DEFAULT= ${LOCALBASE} +BUILDLINK_FILES.faad2+= include/faad.h +BUILDLINK_FILES.faad2+= lib/libfaad.* +BUILDLINK_FILES.faad2+= lib/libmp4v2.* + +BUILDLINK_TARGETS+= faad2-buildlink + +faad2-buildlink: _BUILDLINK_USE + +.endif # FAAD2_BUILDLINK2_MK diff --git a/audio/faad2/distinfo b/audio/faad2/distinfo new file mode 100644 index 00000000000..b68cf7032e9 --- /dev/null +++ b/audio/faad2/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/09/05 17:49:42 dillo Exp $ + +SHA1 (faad2-1.1.tar.gz) = 8e5b7ce2df26807fc4c22f29d97992f8d0644074 +Size (faad2-1.1.tar.gz) = 1015577 bytes +SHA1 (patch-aa) = 9f5876d1de2a757f70191bedd92047c93c31f19b +SHA1 (patch-ab) = ca4cac680f5083e82915fa42e4ee0e80736004a4 +SHA1 (patch-ac) = 63cbf6c54be2c19bbed831450d2d751e34b50dc8 diff --git a/audio/faad2/patches/patch-aa b/audio/faad2/patches/patch-aa new file mode 100644 index 00000000000..3eb35530665 --- /dev/null +++ b/audio/faad2/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/09/05 17:49:42 dillo Exp $ + +--- bootstrap.orig Fri Jan 25 21:26:33 2002 ++++ bootstrap +@@ -5,4 +5,7 @@ autoheader + libtoolize --automake + automake --add-missing + autoconf ++ ++(cd common/mp4v2; aclocal -I .; autoheader; libtoolize --automake; automake --add-missing; autoconf) ++ + echo "Ready to run ./configure" diff --git a/audio/faad2/patches/patch-ab b/audio/faad2/patches/patch-ab new file mode 100644 index 00000000000..c57264a65d2 --- /dev/null +++ b/audio/faad2/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/09/05 17:49:42 dillo Exp $ + +--- configure.in.orig Fri Aug 23 12:42:08 2002 ++++ configure.in +@@ -29,7 +29,7 @@ AC_MSG_ERROR([ + ]) + fi + +-AC_OUTPUT_COMMANDS(,[cd common/mp4v2; aclocal -I .; autoheader; libtoolize --automake; automake --add-missing; autoconf; cd -]) ++dnl AC_OUTPUT_COMMANDS(,[cd common/mp4v2; aclocal -I .; autoheader; libtoolize --automake; automake --add-missing; autoconf; cd -]) + + AC_CONFIG_SUBDIRS(common/mp4v2) + diff --git a/audio/faad2/patches/patch-ac b/audio/faad2/patches/patch-ac new file mode 100644 index 00000000000..f333ae4b57f --- /dev/null +++ b/audio/faad2/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/09/05 17:49:42 dillo Exp $ + +--- frontend/audio.c.orig Thu Jul 25 14:42:54 2002 ++++ frontend/audio.c +@@ -52,7 +52,7 @@ audio_file *open_audio_file(char *infile + break; + } + aufile->sfinfo.channels = channels; +- aufile->sfinfo.samples = 0; ++ aufile->sfinfo.frames = 0; + #ifdef _WIN32 + if(infile[0] == '-') + { |