diff options
-rw-r--r-- | audio/faac/DESCR | 3 | ||||
-rw-r--r-- | audio/faac/Makefile | 28 | ||||
-rw-r--r-- | audio/faac/PLIST | 9 | ||||
-rw-r--r-- | audio/faac/buildlink3.mk | 18 | ||||
-rw-r--r-- | audio/faac/distinfo | 5 | ||||
-rw-r--r-- | audio/faac/patches/patch-aa | 22 |
6 files changed, 85 insertions, 0 deletions
diff --git a/audio/faac/DESCR b/audio/faac/DESCR new file mode 100644 index 00000000000..2454b17d233 --- /dev/null +++ b/audio/faac/DESCR @@ -0,0 +1,3 @@ +FAAC is an AAC audio encoder. FAAC currently supports MPEG-4 LTP, +MAIN and LOW COMPLEXITY object types and MAIN and LOW MPEG-2 object types. +It also supports multichannel and gapless encoding. diff --git a/audio/faac/Makefile b/audio/faac/Makefile new file mode 100644 index 00000000000..bf078e7e854 --- /dev/null +++ b/audio/faac/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/05/16 01:51:21 xtraeme Exp $ +# + +DISTNAME= faac-1.24 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=faac/} + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://faac.sourceforge.net/ +COMMENT= AAC audio encoder + +USE_BUILDLINK3= yes +USE_LIBTOOL= yes +GNU_CONFIGURE= yes +WRKSRC= ${WRKDIR}/faac + +LIBTOOLIZE= ${PREFIX}/bin/libtoolize + +pre-configure: + cd ${WRKSRC}; \ + ${LIBTOOLIZE} --automake; \ + ${ACLOCAL}; \ + ${AUTOHEADER}; \ + ${AUTOMAKE} -a --foreign -i; \ + ${AUTOCONF} + +.include "../../mk/automake.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/audio/faac/PLIST b/audio/faac/PLIST new file mode 100644 index 00000000000..359da68afe5 --- /dev/null +++ b/audio/faac/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/05/16 01:51:21 xtraeme Exp $ +bin/faac +include/faac.h +include/faaccfg.h +lib/libfaac.a +lib/libfaac.la +lib/libfaac.so +lib/libfaac.so.0 +lib/libfaac.so.0.0 diff --git a/audio/faac/buildlink3.mk b/audio/faac/buildlink3.mk new file mode 100644 index 00000000000..2ebea424778 --- /dev/null +++ b/audio/faac/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/05/16 01:51:21 xtraeme Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +FAAC_BUILDLINK3_MK:= ${FAAC_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= faac +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfaac} +BUILDLINK_PACKAGES+= faac + +.if !empty(FAAC_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.faac+= faac>=1.24 +BUILDLINK_PKGSRCDIR.faac?= ../../audio/faac +.endif # FAAC_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/audio/faac/distinfo b/audio/faac/distinfo new file mode 100644 index 00000000000..c2282bf255f --- /dev/null +++ b/audio/faac/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/05/16 01:51:21 xtraeme Exp $ + +SHA1 (faac-1.24.tar.gz) = fd79715a800f8b39470d5b312f5d843a2629dd49 +Size (faac-1.24.tar.gz) = 282585 bytes +SHA1 (patch-aa) = 6e0a696173aff0aa0b30941aea53cc4bb2906b45 diff --git a/audio/faac/patches/patch-aa b/audio/faac/patches/patch-aa new file mode 100644 index 00000000000..5eb93802842 --- /dev/null +++ b/audio/faac/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/05/16 01:51:21 xtraeme Exp $ + +--- frontend/main.c.orig 2004-05-16 03:43:03.000000000 +0200 ++++ frontend/main.c 2004-05-16 03:44:22.000000000 +0200 +@@ -39,11 +39,16 @@ + #include <windows.h> + #include <fcntl.h> + #else ++#include <sys/param.h> + #include <signal.h> + #endif + +-#if defined(__unix__) || defined(__APPLE__) ++#if defined(BSD) || defined(__APPLE__) ++#ifdef __NetBSD__ ++#include <time.h> ++#else + #include <sys/time.h> ++#endif + #include <sys/resource.h> + #include <unistd.h> + #endif |