summaryrefslogtreecommitdiff
path: root/media-libs/libxspf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/libxspf
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libxspf')
-rw-r--r--media-libs/libxspf/Manifest7
-rw-r--r--media-libs/libxspf/files/libxspf-1.2.0-gcc44.patch22
-rw-r--r--media-libs/libxspf/files/libxspf-1.2.0-gcc47.patch12
-rw-r--r--media-libs/libxspf/libxspf-1.2.0.ebuild48
-rw-r--r--media-libs/libxspf/metadata.xml15
5 files changed, 104 insertions, 0 deletions
diff --git a/media-libs/libxspf/Manifest b/media-libs/libxspf/Manifest
new file mode 100644
index 000000000000..b3eba683037c
--- /dev/null
+++ b/media-libs/libxspf/Manifest
@@ -0,0 +1,7 @@
+AUX libxspf-1.2.0-gcc44.patch 512 SHA256 34fae1c64d6b9e6c3349f9cdc4e7b29197906529917d1f76e3ccedbb581c1e29 SHA512 968a5e53d91ddc724d321d7598f3cbe7c6e28a343a96ad27cac92ec9603eead6e4452e2965c780bf530db211e62def810bdefd1edd4e7785fd5f646d01af78d6 WHIRLPOOL d0d432be257b7cad2f00d1ab995a7ec3c9074eb505858d1bb22d04a6c829c1d5154a592490251cd18dcb98769f8f390b0f8724606162e56945ca3877362334c0
+AUX libxspf-1.2.0-gcc47.patch 263 SHA256 1aec1b1024df8a04262748d2df688a862ba48f0c2bd936eac36a7a8f42eba93b SHA512 893f3cf22aa2ede98efb53f8aef553fd7418254f9aa92f7f2126eb5c2f2b66bae94fe43049b59642793ced74168369e32a04ae21719b8e041b5d9ecc0626e6ad WHIRLPOOL 445eb4c4b42b39cd798f362d03ea3cc86f70289a21129cf9c31943b607b0456bedf90e52bf131383ad55ab93b2d6841bf16238141de89922a562122ae9f82ffe
+DIST libxspf-1.2.0.tar.bz2 372483 SHA256 ba9e93a0066469b074b4022b480004651ad3aa5b4313187fd407d833f79b43a5 SHA512 56667b6df89e30517e2e388e2e3b1c083b19d98d69b4ee328d2784bba57a8d50c6b6ae1876cf17e6f9eb1ff872680c8f33b84b826d1290b890ac173c76bea491 WHIRLPOOL 4a518c505d2d685989923fa995547152e1d48ea903834a2a8c8fca938a79973850c2c589e9ad47f680f7f257b3d4b2bea12202f334a96fc8c04b68186a235684
+EBUILD libxspf-1.2.0.ebuild 1011 SHA256 b22d5b18b1f963057a852d9bb0746cdf4bccd00af34f304d5de6eca437f33a6e SHA512 95b48eb0281cec4be7ea2622ca4e0e6f209f440677006bb295d615f74404a11c39e714e9da2e17a125ca0b58490c61814fbf7c3e404a237f6fe43fc0d86fe454 WHIRLPOOL ca364f25278d741e497027b361b5d415085572fc44496db004a65b6236de6b605972fd74f47b0f60276961c8353ed452b954e2b247f5b2dcc4e1165065382684
+MISC ChangeLog 2499 SHA256 ead524d8359fe241eb1c03aa5cf42145d351cc943268721bfaee823c0b1ec4c6 SHA512 a60791773e234ed10736de320fdb63b31601d902d18cb6431b67b5d1549e8ae22e37c9c5c6868749e6b9ff1cad4fbe84e36236d5efd7940a623a5892b0c74823 WHIRLPOOL 9d254a5ac6504414c7eb8a61835b76359bbc5e209f47b62035f9b3edeeb951d8027ea1fafda18ffdcf8314977d797f43595e6c659ec7acaddc4acc2c66726907
+MISC ChangeLog-2015 2050 SHA256 fc4a57a5241c1ca09f92d396f796e60fa66f7185f256da6ebada6bae3a2d6abb SHA512 fa766b27dfd00f9acd8a55b03f14a6d450d0a50696f3ebfafc2d0176cd2e975b3c195a5c526c8b6d293089d984a21ddce142080fa7691a554ef948431dcfb4b3 WHIRLPOOL 9046c6fca49dce9303c6f18534e89d9c6fef9e6a26766dc59f9cb98a7b9d49dbd2f0fb2c7870c164e7979504e0fbc43ee1e865229db5cc0a1ed8d99940f26a95
+MISC metadata.xml 517 SHA256 905e2969001b69c796300d95226d5f75772f9daf35f3bfa4975ff4be35d6050a SHA512 eb605d2fb0dfe1fd3e6fc50f29e6408626e2a4fe255db65a0b20844adf1634b9bd0b0bc69c55a2a6ceedaabb41aca03f330af9258d408896042805f7b78cad33 WHIRLPOOL d4524199f1eca96aa30c27e3d802c8c16bf04d4c571765d579acffd22ac949c334ee08cda3f8f2e6e1ee27f7106fd8fc9808a2f3b9eb2dae96a1ecf27bbc1080
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..fa16b589df30
--- /dev/null
+++ b/media-libs/libxspf/files/libxspf-1.2.0-gcc44.patch
@@ -0,0 +1,22 @@
+http://bugs.gentoo.org/261604
+
+--- test/OfficialSuite.cpp
++++ test/OfficialSuite.cpp
+@@ -21,6 +21,7 @@
+ * Sebastian Pipping, sping@xiph.org
+ */
+
++#include <cstdio>
+ #include "OfficialSuite.h"
+ #include <xspf/XspfReaderCallback.h>
+ using namespace Xspf;
+--- test/ProjectOpus/ProjectOpusSuite.cpp
++++ test/ProjectOpus/ProjectOpusSuite.cpp
+@@ -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/files/libxspf-1.2.0-gcc47.patch b/media-libs/libxspf/files/libxspf-1.2.0-gcc47.patch
new file mode 100644
index 000000000000..b408416e7ef7
--- /dev/null
+++ b/media-libs/libxspf/files/libxspf-1.2.0-gcc47.patch
@@ -0,0 +1,12 @@
+http://bugs.gentoo.org/421745
+
+--- examples/read/read.cpp
++++ examples/read/read.cpp
+@@ -43,6 +43,7 @@
+ #include <cstdio>
+ #include <cstdlib> // MAX_PATH
+ #include <climits> // PATH_MAX
++#include <unistd.h> // getcwd
+
+
+ #if defined(__WIN32__) || defined(WIN32)
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..a7c71fb4d12b
--- /dev/null
+++ b/media-libs/libxspf/libxspf-1.2.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+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 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="doc static-libs test"
+
+RDEPEND=">=dev-libs/expat-2
+ >=dev-libs/uriparser-0.7.5"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? (
+ >=app-doc/doxygen-1.5.8
+ media-gfx/graphviz
+ dev-qt/qthelp:4
+ )
+ test? ( >=dev-util/cpptest-1.1 )"
+
+DOCS="AUTHORS ChangeLog NEWS README THANKS"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-gcc44.patch \
+ "${FILESDIR}"/${P}-gcc47.patch
+}
+
+src_configure() {
+ export XDG_CONFIG_HOME="${T}" #398881#c2
+
+ econf \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ $(use_enable static-libs static) \
+ $(use_enable test) \
+ $(use_enable doc)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}
diff --git a/media-libs/libxspf/metadata.xml b/media-libs/libxspf/metadata.xml
new file mode 100644
index 000000000000..27676b8dba7f
--- /dev/null
+++ b/media-libs/libxspf/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+ <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>
+ <upstream>
+ <remote-id type="sourceforge">libspiff</remote-id>
+ </upstream>
+</pkgmetadata>