summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorsimonb <simonb@pkgsrc.org>2000-10-15 10:24:55 +0000
committersimonb <simonb@pkgsrc.org>2000-10-15 10:24:55 +0000
commit3d91c68fb2df52334f5644e751201af5a9b41295 (patch)
tree613d1e8fa33746539e50291ff78dc4582cbba486 /audio
parentcebb527bfda0e5b1f1384f948e30234aea5409a9 (diff)
downloadpkgsrc-3d91c68fb2df52334f5644e751201af5a9b41295.tar.gz
Initial import of madplay - an integer MPEG audio decoder.
Diffstat (limited to 'audio')
-rw-r--r--audio/madplay/Makefile13
-rw-r--r--audio/madplay/files/md53
-rw-r--r--audio/madplay/files/patch-sum5
-rw-r--r--audio/madplay/patches/patch-aa22
-rw-r--r--audio/madplay/patches/patch-ab13
-rw-r--r--audio/madplay/patches/patch-ac12
-rw-r--r--audio/madplay/pkg/COMMENT1
-rw-r--r--audio/madplay/pkg/DESCR15
-rw-r--r--audio/madplay/pkg/PLIST3
9 files changed, 87 insertions, 0 deletions
diff --git a/audio/madplay/Makefile b/audio/madplay/Makefile
new file mode 100644
index 00000000000..cf803d357e7
--- /dev/null
+++ b/audio/madplay/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/15 10:24:55 simonb Exp $
+#
+
+DISTNAME= mad-0.11.4b
+CATEGORIES= audio
+MASTER_SITES= http://download.sourceforge.net/mad/
+
+MAINTAINER= simonb@netbsd.org
+HOMEPAGE= http://sourceforge.net/projects/mad/
+
+GNU_CONFIGURE= YES
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/madplay/files/md5 b/audio/madplay/files/md5
new file mode 100644
index 00000000000..0e40cc2adb3
--- /dev/null
+++ b/audio/madplay/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/10/15 10:24:55 simonb Exp $
+
+MD5 (mad-0.11.4b.tar.gz) = 228e32e130dcb07b8b9c6cb7849fd05e
diff --git a/audio/madplay/files/patch-sum b/audio/madplay/files/patch-sum
new file mode 100644
index 00000000000..df49cf44f40
--- /dev/null
+++ b/audio/madplay/files/patch-sum
@@ -0,0 +1,5 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/10/15 10:24:55 simonb Exp $
+
+MD5 (patch-aa) = f88e1639fa36f45740ec9aa765a6100c
+MD5 (patch-ab) = bb5cf55b48fdfdde9b3b18d33d7f5736
+MD5 (patch-ac) = 4a8d87693781d53972963ce04655f778
diff --git a/audio/madplay/patches/patch-aa b/audio/madplay/patches/patch-aa
new file mode 100644
index 00000000000..2cb5c8d30bd
--- /dev/null
+++ b/audio/madplay/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/10/15 10:24:55 simonb Exp $
+
+--- Makefile.in.orig Mon Sep 25 04:49:25 2000
++++ Makefile.in Sun Oct 15 21:15:32 2000
+@@ -38,7 +38,7 @@
+ MANEXT = 1
+
+ INSTALL = @INSTALL@
+-BININSTALL = @INSTALL_PROGRAM@ -m 755
++BININSTALL = @INSTALL_PROGRAM@
+ LIBINSTALL = @INSTALL_DATA@
+
+ ACSUBDIRS = @subdirs@
+@@ -60,7 +60,7 @@
+
+ ## FLAGS ######################################################################
+
+-CFLAGS = $(COPTS) $(INCLUDES) $(DEFINES)
++CFLAGS+= $(COPTS) $(INCLUDES) $(DEFINES)
+ LDFLAGS = $(LDOPTS)
+
+ ## OBJECTS ####################################################################
diff --git a/audio/madplay/patches/patch-ab b/audio/madplay/patches/patch-ab
new file mode 100644
index 00000000000..c2413fc5ccf
--- /dev/null
+++ b/audio/madplay/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/10/15 10:24:55 simonb Exp $
+
+--- libmad/Makefile.in.orig Wed Sep 20 12:06:22 2000
++++ libmad/Makefile.in Sun Oct 15 21:12:24 2000
+@@ -85,7 +85,7 @@
+
+ ## FLAGS ######################################################################
+
+-CFLAGS = $(SOOPTS) $(COPTS) $(INCLUDES) $(DEFINES)
++CFLAGS+= $(SOOPTS) $(COPTS) $(INCLUDES) $(DEFINES)
+ LDFLAGS = $(LDOPTS)
+
+ ## OBJECTS ####################################################################
diff --git a/audio/madplay/patches/patch-ac b/audio/madplay/patches/patch-ac
new file mode 100644
index 00000000000..bc84b0e2021
--- /dev/null
+++ b/audio/madplay/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/10/15 10:24:55 simonb Exp $
+
+--- audio_sun.c.orig Sun Sep 24 13:31:19 2000
++++ audio_sun.c Sun Oct 15 21:14:20 2000
+@@ -25,6 +25,7 @@
+
+ # include <unistd.h>
+ # include <fcntl.h>
++# include <string.h>
+ # include <sys/ioctl.h>
+ # include <sys/audioio.h>
+ # include <errno.h>
diff --git a/audio/madplay/pkg/COMMENT b/audio/madplay/pkg/COMMENT
new file mode 100644
index 00000000000..cc3534ade19
--- /dev/null
+++ b/audio/madplay/pkg/COMMENT
@@ -0,0 +1 @@
+High-quality MPEG audio decoder
diff --git a/audio/madplay/pkg/DESCR b/audio/madplay/pkg/DESCR
new file mode 100644
index 00000000000..923313d6893
--- /dev/null
+++ b/audio/madplay/pkg/DESCR
@@ -0,0 +1,15 @@
+MAD is a high-quality MPEG audio decoder. It currently supports MPEG 1 as
+well as the MPEG 2 extension to Lower Sampling Frequencies. All three
+audio layers (Layer I, Layer II, and Layer III aka MP3) are fully
+implemented.
+
+MAD does not yet support MPEG 2 multichannel audio (although it should be
+backward compatible with such streams), nor does it support the so-called
+MPEG 2.5 format.
+
+MAD has the following special features:
+
+ - 24-bit PCM output
+ - 100% fixed-point (integer) computation
+ - completely new implementation based on the ISO/IEC standards
+ - distributed under the terms of the GNU General Public License (GPL)
diff --git a/audio/madplay/pkg/PLIST b/audio/madplay/pkg/PLIST
new file mode 100644
index 00000000000..cd9bf1882cd
--- /dev/null
+++ b/audio/madplay/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/15 10:24:55 simonb Exp $
+bin/madplay
+man/man1/madplay.1