summaryrefslogtreecommitdiff
path: root/audio/libspiff
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2007-11-08 18:39:25 +0000
committerbjs <bjs@pkgsrc.org>2007-11-08 18:39:25 +0000
commit384f666fa09db2a6ba6b151936bf00c4aa32e928 (patch)
treeebc222e05bd929c6bfaec45aa827f91bc10cb8b6 /audio/libspiff
parent72712f5879fe666f366b58e1e77fde49a44e0aa9 (diff)
downloadpkgsrc-384f666fa09db2a6ba6b151936bf00c4aa32e928.tar.gz
Import libspiff-0.8.2.
LibSpiff brings XSPF playlist reading and writing support to your C++ application. Both version 0 and 1 are supported. libSpiff uses Expat for XML parsing and CppTest for unit testing. libSpiff is the official reference implementation for XSPF of the [9]Xiph.Org Foundation. Features * Full conformance to the XSPF specification * Cross-platform (Unix, Windows, Mac OS X, ...) * Read and write XSPF files * XSPF-0 and XSPF-1 support * Unicode support * Full support for XSPF extensions * Full support for XML namespaces * Fast (XML parsing is done by Expat) * Uses unit testing * Liberal license: [10]New BSD license
Diffstat (limited to 'audio/libspiff')
-rw-r--r--audio/libspiff/DESCR17
-rw-r--r--audio/libspiff/Makefile26
-rw-r--r--audio/libspiff/PLIST34
-rw-r--r--audio/libspiff/buildlink3.mk22
-rw-r--r--audio/libspiff/distinfo5
5 files changed, 104 insertions, 0 deletions
diff --git a/audio/libspiff/DESCR b/audio/libspiff/DESCR
new file mode 100644
index 00000000000..fbf5593231a
--- /dev/null
+++ b/audio/libspiff/DESCR
@@ -0,0 +1,17 @@
+LibSpiff brings XSPF playlist reading and writing support to your C++
+application. Both version 0 and 1 are supported. libSpiff uses Expat for
+XML parsing and CppTest for unit testing. libSpiff is the official
+reference implementation for XSPF of the [9]Xiph.Org Foundation.
+
+Features
+
+ * Full conformance to the XSPF specification
+ * Cross-platform (Unix, Windows, Mac OS X, ...)
+ * Read and write XSPF files
+ * XSPF-0 and XSPF-1 support
+ * Unicode support
+ * Full support for XSPF extensions
+ * Full support for XML namespaces
+ * Fast (XML parsing is done by Expat)
+ * Uses unit testing
+ * Liberal license: [10]New BSD license
diff --git a/audio/libspiff/Makefile b/audio/libspiff/Makefile
new file mode 100644
index 00000000000..27f1c098e70
--- /dev/null
+++ b/audio/libspiff/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/11/08 18:39:25 bjs Exp $
+#
+
+DISTNAME= libspiff-0.8.2
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libspiff/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= bjs@NetBSD.org
+HOMEPAGE= http://libspiff.sourceforge.net/
+COMMENT= XML Shareable Playlist Format (XSPF) library
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+
+TEST_TARGET= check
+
+BUILDLINK_ABI_DEPENDS.expat+= expat>=2.0.0nb1
+
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../textproc/uriparser/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libspiff/PLIST b/audio/libspiff/PLIST
new file mode 100644
index 00000000000..5d804f37ea5
--- /dev/null
+++ b/audio/libspiff/PLIST
@@ -0,0 +1,34 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/11/08 18:39:25 bjs Exp $
+bin/spiff_check
+bin/spiff_strip
+include/spiff/ProjectOpus/ProjectOpusPlaylistExtension.h
+include/spiff/ProjectOpus/ProjectOpusPlaylistExtensionReader.h
+include/spiff/ProjectOpus/ProjectOpusPlaylistExtensionWriter.h
+include/spiff/Spiff.h
+include/spiff/SpiffChunkCallback.h
+include/spiff/SpiffData.h
+include/spiff/SpiffDataWriter.h
+include/spiff/SpiffDateTime.h
+include/spiff/SpiffDefines.h
+include/spiff/SpiffExtension.h
+include/spiff/SpiffExtensionReader.h
+include/spiff/SpiffExtensionReaderFactory.h
+include/spiff/SpiffExtensionWriter.h
+include/spiff/SpiffIndentFormatter.h
+include/spiff/SpiffProps.h
+include/spiff/SpiffPropsWriter.h
+include/spiff/SpiffReader.h
+include/spiff/SpiffReaderCallback.h
+include/spiff/SpiffSeamlessFormatter.h
+include/spiff/SpiffSkipExtensionReader.h
+include/spiff/SpiffStack.h
+include/spiff/SpiffToolbox.h
+include/spiff/SpiffTrack.h
+include/spiff/SpiffTrackWriter.h
+include/spiff/SpiffVersion.h
+include/spiff/SpiffWriter.h
+include/spiff/SpiffXmlFormatter.h
+include/spiff/spiff_c.h
+lib/libspiff.la
+@dirrm include/spiff/ProjectOpus
+@dirrm include/spiff
diff --git a/audio/libspiff/buildlink3.mk b/audio/libspiff/buildlink3.mk
new file mode 100644
index 00000000000..94127ecc250
--- /dev/null
+++ b/audio/libspiff/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/11/08 18:39:25 bjs Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBSPIFF_BUILDLINK3_MK:= ${LIBSPIFF_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libspiff
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibspiff}
+BUILDLINK_PACKAGES+= libspiff
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libspiff
+
+.if ${LIBSPIFF_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libspiff+= libspiff>=0.8.2
+BUILDLINK_PKGSRCDIR.libspiff?= ../../audio/libspiff
+.endif # LIBSPIFF_BUILDLINK3_MK
+
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../textproc/uriparser/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/audio/libspiff/distinfo b/audio/libspiff/distinfo
new file mode 100644
index 00000000000..28e87e706ed
--- /dev/null
+++ b/audio/libspiff/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/11/08 18:39:25 bjs Exp $
+
+SHA1 (libspiff-0.8.2.tar.bz2) = 9633926e3f6de4f17d767bf3a2d8f0b4dfba2f7d
+RMD160 (libspiff-0.8.2.tar.bz2) = 3149da20140fa2604451c70c020033e27c7bdd4e
+Size (libspiff-0.8.2.tar.bz2) = 506531 bytes