From ba35716daf7271e6c132aad978e5ec1f21eb23d0 Mon Sep 17 00:00:00 2001 From: rh Date: Sun, 15 Oct 2000 17:49:47 +0000 Subject: Initial import of libac3-0.6.1, an ac3 audio (as used on DVDs) decoding library. --- audio/libac3/Makefile | 21 +++++++++++++++++++++ audio/libac3/files/md5 | 3 +++ audio/libac3/files/patch-sum | 4 ++++ audio/libac3/patches/patch-aa | 33 +++++++++++++++++++++++++++++++++ audio/libac3/patches/patch-ab | 12 ++++++++++++ audio/libac3/pkg/COMMENT | 1 + audio/libac3/pkg/DESCR | 2 ++ audio/libac3/pkg/PLIST | 3 +++ 8 files changed, 79 insertions(+) create mode 100644 audio/libac3/Makefile create mode 100644 audio/libac3/files/md5 create mode 100644 audio/libac3/files/patch-sum create mode 100644 audio/libac3/patches/patch-aa create mode 100644 audio/libac3/patches/patch-ab create mode 100644 audio/libac3/pkg/COMMENT create mode 100644 audio/libac3/pkg/DESCR create mode 100644 audio/libac3/pkg/PLIST (limited to 'audio') diff --git a/audio/libac3/Makefile b/audio/libac3/Makefile new file mode 100644 index 00000000000..3ebb1ea546b --- /dev/null +++ b/audio/libac3/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/10/15 17:49:47 rh Exp $ +# + +DISTNAME= ac3dec-0.6.1 +PKGNAME= ${DISTNAME:S/ac3dec/libac3/} +CATEGORIES= audio +MASTER_SITES= http://gusnet.cx/aaron/codecs/tarballs/ + +MAINTAINER= rh@netbsd.org +HOMEPAGE= http://ess.engr.uvic.ca/~aholtzma/ac3/ + +GNU_CONFIGURE= yes + +do-build: + cd ${WRKSRC}/libac3 && ${MAKE} + +do-install: + ${INSTALL_DATA} ${WRKSRC}/libac3/ac3.h ${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/libac3/libac3.a ${PREFIX}/lib + +.include "../../mk/bsd.pkg.mk" diff --git a/audio/libac3/files/md5 b/audio/libac3/files/md5 new file mode 100644 index 00000000000..70cad34b5db --- /dev/null +++ b/audio/libac3/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/10/15 17:49:47 rh Exp $ + +MD5 (ac3dec-0.6.1.tar.gz) = 92b8d3af8d0d06318bb2bb04b8093eef diff --git a/audio/libac3/files/patch-sum b/audio/libac3/files/patch-sum new file mode 100644 index 00000000000..fc640d4a196 --- /dev/null +++ b/audio/libac3/files/patch-sum @@ -0,0 +1,4 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/10/15 17:49:47 rh Exp $ + +MD5 (patch-aa) = f472e1fe1da3dbb6f8b1d293ef0eb42c +MD5 (patch-ab) = 63a575c0609f7f3e80c240e6c1ed8b81 diff --git a/audio/libac3/patches/patch-aa b/audio/libac3/patches/patch-aa new file mode 100644 index 00000000000..59a27b68739 --- /dev/null +++ b/audio/libac3/patches/patch-aa @@ -0,0 +1,33 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/10/15 17:49:47 rh Exp $ + +--- configure.orig Wed Mar 29 19:51:49 2000 ++++ configure Tue May 9 09:32:16 2000 +@@ -1255,27 +1255,7 @@ + case "$host" in + *-linux*) rm -f output.c; ln -s output_linux.c output.c;; +-*-openbsd*|*-freebsd*) rm -f output.c; ln -s output_linux.c output.c;; ++*-openbsd*|*-freebsd*|*-netbsd*) rm -f output.c; ln -s output_linux.c output.c;; + *-irix*) rm -f output.c; ln -s output_irix.c output.c;; + *-solaris*) rm -f output.c; ln -s output_solaris.c output.c;; +-*) echo "$host is not currently supported by ac3dec"; exit 1;; +-esac +- +-case "$host" in +-i?86-*) cat >> confdefs.h <<\EOF +-#define __i386__ 1 +-EOF +-;; +-alpha*-*) cat >> confdefs.h <<\EOF +-#define __alpha__ 1 +-EOF +-;; +-sparc-*) cat >> confdefs.h <<\EOF +-#define __sparc__ 1 +-EOF +-;; +-ppc-*) cat >> confdefs.h <<\EOF +-#define __ppc__ 1 +-EOF +-;; + *) echo "$host is not currently supported by ac3dec"; exit 1;; + esac diff --git a/audio/libac3/patches/patch-ab b/audio/libac3/patches/patch-ab new file mode 100644 index 00000000000..f9ca7f01218 --- /dev/null +++ b/audio/libac3/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1.1.1 2000/10/15 17:49:47 rh Exp $ + +--- libac3/bitstream.c.orig Mon Sep 25 23:05:02 2000 ++++ libac3/bitstream.c +@@ -23,6 +23,7 @@ + + #include + #include ++#include + + #include "ac3.h" + #include "ac3_internal.h" diff --git a/audio/libac3/pkg/COMMENT b/audio/libac3/pkg/COMMENT new file mode 100644 index 00000000000..81cc7863d5d --- /dev/null +++ b/audio/libac3/pkg/COMMENT @@ -0,0 +1 @@ +ac3 audio (as used on DVDs) decoding library diff --git a/audio/libac3/pkg/DESCR b/audio/libac3/pkg/DESCR new file mode 100644 index 00000000000..505801c52c5 --- /dev/null +++ b/audio/libac3/pkg/DESCR @@ -0,0 +1,2 @@ + libac3 is a AC-3 stream decoder library written by Aaron Holtzman. This +software is distributed under the Gnu Public License. diff --git a/audio/libac3/pkg/PLIST b/audio/libac3/pkg/PLIST new file mode 100644 index 00000000000..860c8efd441 --- /dev/null +++ b/audio/libac3/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/15 17:49:47 rh Exp $ +include/ac3.h +lib/libac3.a -- cgit v1.2.3