summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorabs <abs>2000-01-06 04:03:16 +0000
committerabs <abs>2000-01-06 04:03:16 +0000
commit5f38c6347b57a20e89b91d5c4975371a64bd1a6e (patch)
tree5f40ee05538a34999102a2c80c00745de2fb8177 /audio
parentb02a3c8d0be4e16f9cee30da3f8ece36b2dfea1c (diff)
downloadpkgsrc-5f38c6347b57a20e89b91d5c4975371a64bd1a6e.tar.gz
ac3dec-0.5.6 package from David Maxwell (ac3 audio decoding tools)
Diffstat (limited to 'audio')
-rw-r--r--audio/ac3dec/Makefile13
-rw-r--r--audio/ac3dec/files/md53
-rw-r--r--audio/ac3dec/files/patch-sum4
-rw-r--r--audio/ac3dec/patches/patch-aa12
-rw-r--r--audio/ac3dec/patches/patch-ab13
-rw-r--r--audio/ac3dec/pkg/COMMENT1
-rw-r--r--audio/ac3dec/pkg/DESCR8
-rw-r--r--audio/ac3dec/pkg/PLIST4
8 files changed, 58 insertions, 0 deletions
diff --git a/audio/ac3dec/Makefile b/audio/ac3dec/Makefile
new file mode 100644
index 00000000000..7f2f7530a02
--- /dev/null
+++ b/audio/ac3dec/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/01/06 04:03:16 abs Exp $
+#
+
+DISTNAME= ac3dec-0.5.6
+CATEGORIES= audio
+MASTER_SITES= http://ess.engr.uvic.ca/~aholtzma/ac3/
+
+MAINTAINER= <david@fundy.ca>
+HOMEPAGE= http://ess.engr.uvic.ca/~aholtzma/ac3/
+
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/ac3dec/files/md5 b/audio/ac3dec/files/md5
new file mode 100644
index 00000000000..a87d3e100ef
--- /dev/null
+++ b/audio/ac3dec/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/01/06 04:03:16 abs Exp $
+
+MD5 (ac3dec-0.5.6.tar.gz) = 951fac6d6327a5d290d658f36355c417
diff --git a/audio/ac3dec/files/patch-sum b/audio/ac3dec/files/patch-sum
new file mode 100644
index 00000000000..72abb41c3f2
--- /dev/null
+++ b/audio/ac3dec/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/01/06 04:03:16 abs Exp $
+
+MD5 (patch-aa) = 316994c5d8ef2b4b830703a325a3b5f4
+MD5 (patch-ab) = 74d133480be4108640014267e423a491
diff --git a/audio/ac3dec/patches/patch-aa b/audio/ac3dec/patches/patch-aa
new file mode 100644
index 00000000000..d5cfff9fe4c
--- /dev/null
+++ b/audio/ac3dec/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/01/06 04:03:16 abs Exp $
+
+--- configure.orig Wed Jan 5 20:09:34 2000
++++ configure Wed Jan 5 20:05:44 2000
+@@ -1255,6 +1255,7 @@
+ case "$host" in
+ *-linux*) rm -f output.c; ln -s output_linux.c output.c;;
+ *-openbsd*) rm -f output.c; ln -s output_linux.c output.c;;
++*-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;;
diff --git a/audio/ac3dec/patches/patch-ab b/audio/ac3dec/patches/patch-ab
new file mode 100644
index 00000000000..f9dacb1f5cf
--- /dev/null
+++ b/audio/ac3dec/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/01/06 04:03:16 abs Exp $
+
+--- output_linux.c.orig Wed Jan 5 20:07:35 2000
++++ output_linux.c Wed Jan 5 20:08:30 2000
+@@ -33,7 +33,7 @@
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <math.h>
+-#if defined(__OpenBSD__)
++#if defined(__NetBSD__) || defined (__OpenBSD__)
+ #include <soundcard.h>
+ #else
+ #include <sys/soundcard.h>
diff --git a/audio/ac3dec/pkg/COMMENT b/audio/ac3dec/pkg/COMMENT
new file mode 100644
index 00000000000..0c18a9f2bc9
--- /dev/null
+++ b/audio/ac3dec/pkg/COMMENT
@@ -0,0 +1 @@
+ac3 audio (as used on DVDs) decoding tools
diff --git a/audio/ac3dec/pkg/DESCR b/audio/ac3dec/pkg/DESCR
new file mode 100644
index 00000000000..d064a86ce63
--- /dev/null
+++ b/audio/ac3dec/pkg/DESCR
@@ -0,0 +1,8 @@
+------------------------ From the README file ------------------------
+This software is completely useless to 99.99 percent of users
+out there. It is mostly of use to those interested in audio
+coding research and evaluating codecs. It could theoretically
+be used as a portion of a DVD playback system for unix systems.
+There are issues with DVD encryption and licensing that need to be
+resolved however.
+---------------------------- End of quote ----------------------------
diff --git a/audio/ac3dec/pkg/PLIST b/audio/ac3dec/pkg/PLIST
new file mode 100644
index 00000000000..cd1afebdc76
--- /dev/null
+++ b/audio/ac3dec/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/01/06 04:03:16 abs Exp $
+bin/ac3dec
+bin/extract_ac3
+bin/verify_ac3