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
commita7ba73817175259d52af76f48bad2734ffe9d6f0 (patch)
treec0b0acf96ec6d155f58d31a2fe38e90881f1a643 /media-libs/libxspf
parentVersion bump. (diff)
downloadgentoo-2-a7ba73817175259d52af76f48bad2734ffe9d6f0.tar.gz
gentoo-2-a7ba73817175259d52af76f48bad2734ffe9d6f0.tar.bz2
gentoo-2-a7ba73817175259d52af76f48bad2734ffe9d6f0.zip
Initial commit for bug 261604 with GCC 4.4 compile fix. This is renamed (by upstream) media-libs/libspiff. Thanks to Sebastian Pipping.
(Portage version: 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/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
4 files changed, 86 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/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>