summaryrefslogtreecommitdiff
path: root/audio/id3lib
diff options
context:
space:
mode:
authordrochner <drochner>2001-07-31 14:28:00 +0000
committerdrochner <drochner>2001-07-31 14:28:00 +0000
commitc9287ddb302ef55088bf4ce4496355c577486537 (patch)
tree55fd2c11b27bd6a2c22dee42d63e00dd0b1929c5 /audio/id3lib
parent86f5ccae9e6c49be323a14b084b8751dceeb9d2e (diff)
downloadpkgsrc-c9287ddb302ef55088bf4ce4496355c577486537.tar.gz
initial import of id3lib-3.8.0pre1,
a library for manipulating ID3v1 and ID3v2 tags
Diffstat (limited to 'audio/id3lib')
-rw-r--r--audio/id3lib/Makefile16
-rw-r--r--audio/id3lib/distinfo9
-rw-r--r--audio/id3lib/patches/patch-aa13
-rw-r--r--audio/id3lib/patches/patch-ab28
-rw-r--r--audio/id3lib/patches/patch-ac58
-rw-r--r--audio/id3lib/patches/patch-ad13
-rw-r--r--audio/id3lib/patches/patch-ae13
-rw-r--r--audio/id3lib/pkg/DESCR5
-rw-r--r--audio/id3lib/pkg/PLIST24
9 files changed, 179 insertions, 0 deletions
diff --git a/audio/id3lib/Makefile b/audio/id3lib/Makefile
new file mode 100644
index 00000000000..7db9bf36b6c
--- /dev/null
+++ b/audio/id3lib/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/31 14:28:00 drochner Exp $
+#
+
+DISTNAME= id3lib-3.8.0pre1
+CATEGORIES= audio
+MASTER_SITES= http://prdownloads.sourceforge.net/id3lib/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://id3lib.sourceforge.net/
+COMMENT= library for manipulating ID3v1 and ID3v2 tags
+
+GNU_CONFIGURE= YES
+USE_LIBTOOL= yes
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/id3lib/distinfo b/audio/id3lib/distinfo
new file mode 100644
index 00000000000..dc710f1376c
--- /dev/null
+++ b/audio/id3lib/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/07/31 14:28:00 drochner Exp $
+
+SHA1 (id3lib-3.8.0pre1.tar.gz) = ea4ae07187eaabb3c30de24676a3d8c6a4d3d55f
+Size (id3lib-3.8.0pre1.tar.gz) = 679835 bytes
+SHA1 (patch-aa) = 520d9d30e01993c66f324f5306b7ccb9e3e2909b
+SHA1 (patch-ab) = 98e39e985478adeca539dc094e6d2fdb205fbb3a
+SHA1 (patch-ac) = 85533553c659d3071c1afb58b5ee82f5af45b615
+SHA1 (patch-ad) = e8881a73101664e1f5bd69ec6f69cbfec2db4b15
+SHA1 (patch-ae) = 42d93571c413f795af4333ae41cf652c3d3aebdc
diff --git a/audio/id3lib/patches/patch-aa b/audio/id3lib/patches/patch-aa
new file mode 100644
index 00000000000..04940912c27
--- /dev/null
+++ b/audio/id3lib/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/07/31 14:28:00 drochner Exp $
+
+--- src/Makefile.in.orig Mon Jul 30 16:27:57 2001
++++ src/Makefile.in Mon Jul 30 16:28:44 2001
+@@ -129,7 +129,7 @@
+ LTLIBRARIES = $(lib_LTLIBRARIES)
+
+
+-DEFS = @DEFS@ -I. -I$(srcdir) -I..
++DEFS = @DEFS@ -I. -I$(srcdir) -I.. -D_ANSI_SOURCE
+ CPPFLAGS = @CPPFLAGS@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @LIBS@
diff --git a/audio/id3lib/patches/patch-ab b/audio/id3lib/patches/patch-ab
new file mode 100644
index 00000000000..1a97738bcd2
--- /dev/null
+++ b/audio/id3lib/patches/patch-ab
@@ -0,0 +1,28 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/07/31 14:28:00 drochner Exp $
+
+--- src/frame_impl.h.orig Mon Jul 30 16:21:20 2001
++++ src/frame_impl.h Mon Jul 30 16:30:26 2001
+@@ -29,13 +29,12 @@
+ #define _ID3LIB_FRAME_IMPL_H_
+
+ #include <vector>
+-#include <bitset>
+ #include "frame.h"
+ #include "header_frame.h"
+
+ class ID3_FrameImpl
+ {
+- typedef std::bitset<ID3FN_LASTFIELDID> Bitset;
++ typedef std::bit_vector Bitset;
+ typedef std::vector<ID3_Field *> Fields;
+ public:
+ typedef Fields::iterator iterator;
+@@ -68,7 +67,7 @@
+ void Render(ID3_Writer&) const;
+ size_t Size();
+ bool Contains(ID3_FieldID fld) const
+- { return _bitset.test(fld); }
++ { return _bitset[fld]; }
+ bool SetSpec(ID3_V2Spec);
+ ID3_V2Spec GetSpec() const;
+
diff --git a/audio/id3lib/patches/patch-ac b/audio/id3lib/patches/patch-ac
new file mode 100644
index 00000000000..a60698adcc8
--- /dev/null
+++ b/audio/id3lib/patches/patch-ac
@@ -0,0 +1,58 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/07/31 14:28:00 drochner Exp $
+
+--- src/frame_impl.cpp.orig Mon Jul 30 16:21:31 2001
++++ src/frame_impl.cpp Mon Jul 30 16:31:41 2001
+@@ -37,7 +37,7 @@
+
+ ID3_FrameImpl::ID3_FrameImpl(ID3_FrameID id)
+ : _changed(false),
+- _bitset(),
++ _bitset(ID3FN_LASTFIELDID, false),
+ _fields(),
+ _encryption_id('\0'),
+ _grouping_id('\0')
+@@ -48,7 +48,7 @@
+
+ ID3_FrameImpl::ID3_FrameImpl(const ID3_FrameHeader &hdr)
+ : _changed(false),
+- _bitset(),
++ _bitset(ID3FN_LASTFIELDID, false),
+ _fields(),
+ _hdr(hdr),
+ _encryption_id('\0'),
+@@ -59,7 +59,7 @@
+
+ ID3_FrameImpl::ID3_FrameImpl(const ID3_Frame& frame)
+ : _changed(false),
+- _bitset(),
++ _bitset(ID3FN_LASTFIELDID, false),
+ _fields(),
+ _encryption_id('\0'),
+ _grouping_id('\0')
+@@ -80,7 +80,7 @@
+ }
+
+ _fields.clear();
+- _bitset.reset();
++ _bitset.clear();
+
+ _changed = true;
+ return true;
+@@ -102,7 +102,7 @@
+ // log this
+ ID3_Field* fld = new ID3_FieldImpl(ID3_FieldDef::DEFAULT[0]);
+ _fields.push_back(fld);
+- _bitset.set(fld->GetID());
++ _bitset[fld->GetID()] = true;
+ }
+ else
+ {
+@@ -111,7 +111,7 @@
+ {
+ ID3_Field* fld = new ID3_FieldImpl(info->aeFieldDefs[i]);
+ _fields.push_back(fld);
+- _bitset.set(fld->GetID());
++ _bitset[fld->GetID()] = true;
+ }
+
+ _changed = true;
diff --git a/audio/id3lib/patches/patch-ad b/audio/id3lib/patches/patch-ad
new file mode 100644
index 00000000000..b25104c3569
--- /dev/null
+++ b/audio/id3lib/patches/patch-ad
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2001/07/31 14:28:00 drochner Exp $
+
+--- examples/Makefile.in.orig Mon Jul 30 16:34:20 2001
++++ examples/Makefile.in Mon Jul 30 16:46:46 2001
+@@ -110,7 +110,7 @@
+ @ID3_NEEDGETOPT_LONG_TRUE@getopt_lib = getopt.o getopt1.o
+ @ID3_NEEDGETOPT_LONG_FALSE@getopt_lib =
+
+-LDADD = $(top_builddir)/src/libid3.la $(zlib_lib) $(ID3_DEBUG_LIBS) $(getopt_lib)
++LDADD = $(top_builddir)/src/libid3.la $(zlib_lib) $(ID3_DEBUG_LIBS) $(getopt_lib) -lstdc++ -lm
+
+ INCLUDES = @ID3LIB_DEBUG_FLAGS@ -I$(top_srcdir)/include
+
diff --git a/audio/id3lib/patches/patch-ae b/audio/id3lib/patches/patch-ae
new file mode 100644
index 00000000000..8e469ff0685
--- /dev/null
+++ b/audio/id3lib/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1.1.1 2001/07/31 14:28:00 drochner Exp $
+
+--- include/id3/strings.h.orig Mon Jul 30 16:51:38 2001
++++ include/id3/strings.h Mon Jul 30 16:52:01 2001
+@@ -34,7 +34,7 @@
+ {
+ typedef std::basic_string<char> String;
+ typedef std::basic_string<unsigned char> BString;
+- typedef std::basic_string<wchar_t> WString;
++ typedef std::basic_string<unsigned char> WString;
+ };
+
+ #endif /* _ID3LIB_STRINGS_H_ */
diff --git a/audio/id3lib/pkg/DESCR b/audio/id3lib/pkg/DESCR
new file mode 100644
index 00000000000..a734d76b201
--- /dev/null
+++ b/audio/id3lib/pkg/DESCR
@@ -0,0 +1,5 @@
+id3lib is an open-source, cross-platform software development library for
+reading, writing, and manipulating ID3v1 and ID3v2 tags. It is an on-going
+project whose primary goals are full compliance with the ID3v2 standard,
+portability across several platforms, and providing a powerful and feature-rich
+API with a highly stable and efficient implementation.
diff --git a/audio/id3lib/pkg/PLIST b/audio/id3lib/pkg/PLIST
new file mode 100644
index 00000000000..1b6c0b3a977
--- /dev/null
+++ b/audio/id3lib/pkg/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/31 14:28:00 drochner Exp $
+bin/id3convert
+bin/id3cp
+bin/id3info
+bin/id3tag
+include/id3.h
+include/id3/field.h
+include/id3/frame.h
+include/id3/globals.h
+include/id3/misc_support.h
+include/id3/reader.h
+include/id3/readers.h
+include/id3/sized_types.h
+include/id3/tag.h
+include/id3/utils.h
+include/id3/writer.h
+include/id3/writers.h
+lib/libid3-3.8.so
+lib/libid3-3.8.so.0
+lib/libid3-3.8.so.0.0
+lib/libid3.a
+lib/libid3.la
+lib/libid3.so
+@dirrm include/id3