summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2003-07-10 08:33:09 +0000
committeradam <adam@pkgsrc.org>2003-07-10 08:33:09 +0000
commit57a036122cb55c42a0d4511d2de013cae77e8a50 (patch)
tree7d1fffcbd30f3f073101f1c90b7d4e730a64021a
parent0692d8781c81316cc2fc72cbf357587773c07ab6 (diff)
downloadpkgsrc-57a036122cb55c42a0d4511d2de013cae77e8a50.tar.gz
ID3 tag library, part of MAD (MPEG Audio Decoder) distribution
-rw-r--r--audio/libid3tag/DESCR15
-rw-r--r--audio/libid3tag/Makefile19
-rw-r--r--audio/libid3tag/PLIST7
-rw-r--r--audio/libid3tag/buildlink2.mk19
-rw-r--r--audio/libid3tag/distinfo5
-rw-r--r--audio/libid3tag/patches/patch-aa38
6 files changed, 103 insertions, 0 deletions
diff --git a/audio/libid3tag/DESCR b/audio/libid3tag/DESCR
new file mode 100644
index 00000000000..923313d6893
--- /dev/null
+++ b/audio/libid3tag/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/libid3tag/Makefile b/audio/libid3tag/Makefile
new file mode 100644
index 00000000000..c3fc1a6e711
--- /dev/null
+++ b/audio/libid3tag/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/07/10 08:33:12 adam Exp $
+#
+
+DISTNAME= libid3tag-0.15.0b
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mad/} \
+ ftp://ftp.mars.org/pub/mpeg/
+
+MAINTAINER= simonb@netbsd.org
+HOMEPAGE= http://sourceforge.net/projects/mad/
+COMMENT= ID3 tag library, part of MAD (MPEG Audio Decoder)
+
+USE_BUILDLINK2= YES
+USE_PKGLOCALEDIR= YES
+GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libid3tag/PLIST b/audio/libid3tag/PLIST
new file mode 100644
index 00000000000..4a05951e508
--- /dev/null
+++ b/audio/libid3tag/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/10 08:33:10 adam Exp $
+include/id3tag.h
+lib/libid3tag.a
+lib/libid3tag.la
+lib/libid3tag.so
+lib/libid3tag.so.2
+lib/libid3tag.so.2.0
diff --git a/audio/libid3tag/buildlink2.mk b/audio/libid3tag/buildlink2.mk
new file mode 100644
index 00000000000..44c21bfdd42
--- /dev/null
+++ b/audio/libid3tag/buildlink2.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/07/10 08:33:10 adam Exp $
+
+.if !defined(LIBID3TAG_BUILDLINK2_MK)
+LIBID3TAG_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libid3tag
+BUILDLINK_DEPENDS.libid3tag?= libid3tag>=0.15.0b
+BUILDLINK_PKGSRCDIR.libid3tag?= ../../audio/libid3tag
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libid3tag=libid3tag
+BUILDLINK_PREFIX.libid3tag_DEFAULT=${LOCALBASE}
+BUILDLINK_FILES.libid3tag+= include/id3tag.h
+BUILDLINK_FILES.libid3tag+= lib/libid3tag.*
+
+BUILDLINK_TARGETS+= libid3tag-buildlink
+
+libid3tag-buildlink: _BUILDLINK_USE
+
+.endif # LIBID3TAG_BUILDLINK2_MK
diff --git a/audio/libid3tag/distinfo b/audio/libid3tag/distinfo
new file mode 100644
index 00000000000..5b0afe389c1
--- /dev/null
+++ b/audio/libid3tag/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/07/10 08:33:10 adam Exp $
+
+SHA1 (libid3tag-0.15.0b.tar.gz) = 97ea5f410c7c6dd1fe8af55eaa20d73d6c53b18a
+Size (libid3tag-0.15.0b.tar.gz) = 240656 bytes
+SHA1 (patch-aa) = 2103523de3b2703479bba578eb002b33ffff88b0
diff --git a/audio/libid3tag/patches/patch-aa b/audio/libid3tag/patches/patch-aa
new file mode 100644
index 00000000000..fc0c1c9e512
--- /dev/null
+++ b/audio/libid3tag/patches/patch-aa
@@ -0,0 +1,38 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/07/10 08:33:12 adam Exp $
+
+--- configure.orig 2003-07-09 16:33:36.000000000 +0200
++++ configure 2003-07-09 16:35:16.000000000 +0200
+@@ -7823,33 +7823,6 @@
+ while test $# -gt 0
+ do
+ case "$1" in
+- -Wall)
+- if test "$GCC" = yes
+- then
+- :
+- else
+- CFLAGS="$CFLAGS $1"
+- fi
+- shift
+- ;;
+- -g)
+- debug="-g"
+- shift
+- ;;
+- -mno-cygwin)
+- shift
+- ;;
+- -m*)
+- arch="$arch $1"
+- shift
+- ;;
+- -fomit-frame-pointer)
+- shift
+- ;;
+- -O*|-f*)
+- optimize="$1"
+- shift
+- ;;
+ *)
+ CFLAGS="$CFLAGS $1"
+ shift