summaryrefslogtreecommitdiff
path: root/audio/mad
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-04-19 10:26:20 +0000
committerwiz <wiz@pkgsrc.org>2001-04-19 10:26:20 +0000
commit952eb54a86e3267b2720a4b5a3734fd44197339e (patch)
treee4ecf654dbbc8c2dbd7637710660a177b4abb57c /audio/mad
parent050e4d11ff7517b6e59098789935337d3613473b (diff)
downloadpkgsrc-952eb54a86e3267b2720a4b5a3734fd44197339e.tar.gz
Rename package from madplay to mad, and move it to audio/mad instead of
audio/madplay.
Diffstat (limited to 'audio/mad')
-rw-r--r--audio/mad/Makefile25
-rw-r--r--audio/mad/distinfo7
-rw-r--r--audio/mad/patches/patch-aa13
-rw-r--r--audio/mad/pkg/DESCR15
-rw-r--r--audio/mad/pkg/PLIST16
5 files changed, 76 insertions, 0 deletions
diff --git a/audio/mad/Makefile b/audio/mad/Makefile
new file mode 100644
index 00000000000..3df3aa5dea6
--- /dev/null
+++ b/audio/mad/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/19 10:26:20 wiz Exp $
+#
+
+DISTNAME= mad-0.13.0b
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mad/} \
+ ftp://ftp.mars.org/pub/mpeg/
+
+PATCH_SITES= ftp://ftp.mars.org/pub/mpeg/testing/
+PATCHFILES= tty-0.13.0b.patch
+
+MAINTAINER= simonb@netbsd.org
+HOMEPAGE= http://sourceforge.net/projects/mad/
+COMMENT= High-quality MPEG audio decoder
+
+BUILD_USES_MSGFMT= yes
+
+CONFLICTS= madplay-*
+
+GNU_CONFIGURE= YES
+USE_LIBINTL= YES
+USE_LIBTOOL= YES
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/mad/distinfo b/audio/mad/distinfo
new file mode 100644
index 00000000000..78cee7b5fdc
--- /dev/null
+++ b/audio/mad/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/04/19 10:26:20 wiz Exp $
+
+SHA1 (mad-0.13.0b.tar.gz) = f0f64ee35e9ed013b78b7903d752ac5d57d6011c
+Size (mad-0.13.0b.tar.gz) = 552379 bytes
+SHA1 (tty-0.13.0b.patch) = a1d7f7e5e3ac5df6e7cfbf954bfebd280f671023
+Size (tty-0.13.0b.patch) = 22572 bytes
+SHA1 (patch-aa) = 3bf70a97e7adbc7cffd457bb93bfdd68b94aeeeb
diff --git a/audio/mad/patches/patch-aa b/audio/mad/patches/patch-aa
new file mode 100644
index 00000000000..bd6ba3bd039
--- /dev/null
+++ b/audio/mad/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/19 10:26:20 wiz Exp $
+
+--- libmad/Makefile.in.orig Mon Dec 4 17:38:24 2000
++++ libmad/Makefile.in
+@@ -110,7 +110,7 @@
+ # The API for MAD is not yet stable enough to use versioning, so we use
+ # release numbering instead.
+
+-libmad_la_LDFLAGS = -release $(VERSION)
++libmad_la_LDFLAGS = -version 0:0
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
+ CONFIG_HEADER = config.h
diff --git a/audio/mad/pkg/DESCR b/audio/mad/pkg/DESCR
new file mode 100644
index 00000000000..923313d6893
--- /dev/null
+++ b/audio/mad/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/mad/pkg/PLIST b/audio/mad/pkg/PLIST
new file mode 100644
index 00000000000..2aea8b3998d
--- /dev/null
+++ b/audio/mad/pkg/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/19 10:26:20 wiz Exp $
+bin/abxtest
+bin/madplay
+include/mad.h
+lib/libmad.so
+lib/libmad.so.0
+lib/libmad.so.0.0
+lib/libmad.a
+lib/libmad.la
+man/man1/abxtest.1
+man/man1/madplay.1
+share/locale/en/LC_MESSAGES/mad.mo
+share/locale/es/LC_MESSAGES/mad.mo
+share/locale/fr/LC_MESSAGES/mad.mo
+share/locale/hr/LC_MESSAGES/mad.mo
+share/locale/no/LC_MESSAGES/mad.mo