diff options
author | rh <rh> | 2000-10-15 17:49:47 +0000 |
---|---|---|
committer | rh <rh> | 2000-10-15 17:49:47 +0000 |
commit | f0a09d4af7f563a3210c9bd4a491f688406369e2 (patch) | |
tree | 097b4e6911f2cd1650445d6ccf638b9c9cac6230 /audio | |
parent | f5fe22f6f64c94ed342e5c1c57540f336f5a4e0a (diff) | |
download | pkgsrc-f0a09d4af7f563a3210c9bd4a491f688406369e2.tar.gz |
Initial import of libac3-0.6.1, an ac3 audio (as used on DVDs) decoding
library.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libac3/Makefile | 21 | ||||
-rw-r--r-- | audio/libac3/files/md5 | 3 | ||||
-rw-r--r-- | audio/libac3/files/patch-sum | 4 | ||||
-rw-r--r-- | audio/libac3/patches/patch-aa | 33 | ||||
-rw-r--r-- | audio/libac3/patches/patch-ab | 12 | ||||
-rw-r--r-- | audio/libac3/pkg/COMMENT | 1 | ||||
-rw-r--r-- | audio/libac3/pkg/DESCR | 2 | ||||
-rw-r--r-- | audio/libac3/pkg/PLIST | 3 |
8 files changed, 79 insertions, 0 deletions
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 <stdlib.h> + #include <stdio.h> ++#include <string.h> + + #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 |