summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-05-10 19:49:28 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-05-10 19:49:28 +0000
commitcde6c1b9ed5cc1cee45dea168b818be282dcf3de (patch)
treeb34853d94eaa4e619c25716ef7ae9b66e42e95e0 /media-libs/libxspf
parentVersion bump. (diff)
downloadhistorical-cde6c1b9ed5cc1cee45dea168b818be282dcf3de.tar.gz
historical-cde6c1b9ed5cc1cee45dea168b818be282dcf3de.tar.bz2
historical-cde6c1b9ed5cc1cee45dea168b818be282dcf3de.zip
Initial commit for bug 261604 with GCC 4.4 compile fix. This is renamed (by upstream) media-libs/libspiff. Thanks to Sebastian Pipping.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'media-libs/libxspf')
-rw-r--r--media-libs/libxspf/ChangeLog11
-rw-r--r--media-libs/libxspf/Manifest5
-rw-r--r--media-libs/libxspf/files/libxspf-1.2.0-gcc44.patch22
-rw-r--r--media-libs/libxspf/libxspf-1.2.0.ebuild44
-rw-r--r--media-libs/libxspf/metadata.xml9
5 files changed, 91 insertions, 0 deletions
diff --git a/media-libs/libxspf/ChangeLog b/media-libs/libxspf/ChangeLog
new file mode 100644
index 000000000000..38562c84b742
--- /dev/null
+++ b/media-libs/libxspf/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-libs/libxspf
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libxspf/ChangeLog,v 1.1 2009/05/10 19:49:28 ssuominen Exp $
+
+*libxspf-1.2.0 (10 May 2009)
+
+ 10 May 2009; Samuli Suominen <ssuominen@gentoo.org> +libxspf-1.2.0.ebuild,
+ +files/libxspf-1.2.0-gcc44.patch:
+ Initial commit for bug 261604 with GCC 4.4 compile fix. This is renamed
+ (by upstream) media-libs/libspiff. Thanks to Sebastian Pipping.
+
diff --git a/media-libs/libxspf/Manifest b/media-libs/libxspf/Manifest
new file mode 100644
index 000000000000..3e2595f17837
--- /dev/null
+++ b/media-libs/libxspf/Manifest
@@ -0,0 +1,5 @@
+AUX libxspf-1.2.0-gcc44.patch 897 RMD160 fd3c6cf725acc1836ffcda3c31eb5a44230c09ff SHA1 24262a484e5234cb8637af039f6bebdde2131c24 SHA256 181cde7e3cfa5870bbe8ec00333821efaad71df56d2c5e2b36eb451fc3c46b34
+DIST libxspf-1.2.0.tar.bz2 372483 RMD160 64f14c6e419c97826ad729ed46651a86061e6964 SHA1 23bbc0573636928210f42699029941dd06b20a1d SHA256 ba9e93a0066469b074b4022b480004651ad3aa5b4313187fd407d833f79b43a5
+EBUILD libxspf-1.2.0.ebuild 1017 RMD160 9bf46f8d405e6ab09232de1d72dc7923e94d0f9c SHA1 1cfb150c90fdef39ed50453ba8235a078a2f0574 SHA256 9a5b2c0d58313ba68ff1739b2f3280089942bae410a35e249ac3a67cfc2618fe
+MISC ChangeLog 496 RMD160 9dc170132f815d0f287beca1edd01ff159fc1a6c SHA1 47e3c961b08a4f38117775d4e89da3b0a8066232 SHA256 0c9e8bddec370eaa63fd1818007b5be0f6bf0d2f6d1200260a912f9acb998351
+MISC metadata.xml 345 RMD160 90f22e1b26d32e274f52c98c804301df60367f26 SHA1 6c310149521197360df5ae5002443717234ba0ba SHA256 b86077c87537a4e7931da84764373510cb5c3a605f7a323f89c1e15fa784c2f5
diff --git a/media-libs/libxspf/files/libxspf-1.2.0-gcc44.patch b/media-libs/libxspf/files/libxspf-1.2.0-gcc44.patch
new file mode 100644
index 000000000000..85bca1b17b84
--- /dev/null
+++ b/media-libs/libxspf/files/libxspf-1.2.0-gcc44.patch
@@ -0,0 +1,22 @@
+diff -ur libxspf-1.2.0.orig/test/OfficialSuite.cpp libxspf-1.2.0/test/OfficialSuite.cpp
+--- libxspf-1.2.0.orig/test/OfficialSuite.cpp 2009-02-21 22:13:25.000000000 +0200
++++ libxspf-1.2.0/test/OfficialSuite.cpp 2009-05-10 22:39:16.000000000 +0300
+@@ -21,6 +21,7 @@
+ * Sebastian Pipping, sping@xiph.org
+ */
+
++#include <cstdio>
+ #include "OfficialSuite.h"
+ #include <xspf/XspfReaderCallback.h>
+ using namespace Xspf;
+diff -ur libxspf-1.2.0.orig/test/ProjectOpus/ProjectOpusSuite.cpp libxspf-1.2.0/test/ProjectOpus/ProjectOpusSuite.cpp
+--- libxspf-1.2.0.orig/test/ProjectOpus/ProjectOpusSuite.cpp 2009-02-21 22:13:25.000000000 +0200
++++ libxspf-1.2.0/test/ProjectOpus/ProjectOpusSuite.cpp 2009-05-10 22:37:16.000000000 +0300
+@@ -21,6 +21,7 @@
+ * Sebastian Pipping, sping@xiph.org
+ */
+
++#include <cstdio>
+ #include "ProjectOpusSuite.h"
+ #include <xspf/XspfReader.h>
+ #include <xspf/XspfTrack.h>
diff --git a/media-libs/libxspf/libxspf-1.2.0.ebuild b/media-libs/libxspf/libxspf-1.2.0.ebuild
new file mode 100644
index 000000000000..cd5513e53832
--- /dev/null
+++ b/media-libs/libxspf/libxspf-1.2.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libxspf/libxspf-1.2.0.ebuild,v 1.1 2009/05/10 19:49:28 ssuominen Exp $
+
+EAPI=2
+inherit eutils
+
+DESCRIPTION="Playlist handling library"
+HOMEPAGE="http://libspiff.sourceforge.net"
+SRC_URI="mirror://sourceforge/libspiff/${P}.tar.bz2"
+
+LICENSE="BSD LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="doc test"
+
+RDEPEND=">=dev-libs/uriparser-0.7.5
+ >=dev-libs/expat-2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ test? ( >=dev-util/cpptest-1.1 )
+ doc? ( app-doc/doxygen
+ media-gfx/graphviz )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc44.patch
+}
+
+src_configure() {
+ econf \
+ --docdir=/usr/share/doc/${PF} \
+ --disable-dependency-tracking \
+ $(use_enable test) \
+ $(use_enable doc)
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS README THANKS
+}
diff --git a/media-libs/libxspf/metadata.xml b/media-libs/libxspf/metadata.xml
new file mode 100644
index 000000000000..b60554b31740
--- /dev/null
+++ b/media-libs/libxspf/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sound</herd>
+ <longdescription lang="en">
+ libxspf brings XSPF playlist reading and writing support to your C++
+ application. XSPF is an open XML format for sharing playlists.
+ </longdescription>
+</pkgmetadata>