summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/libmp3splt/ChangeLog10
-rw-r--r--media-libs/libmp3splt/files/libmp3splt-0.8.1-missing-files.patch47
-rw-r--r--media-libs/libmp3splt/libmp3splt-0.8.1.ebuild47
3 files changed, 102 insertions, 2 deletions
diff --git a/media-libs/libmp3splt/ChangeLog b/media-libs/libmp3splt/ChangeLog
index 327c48fd98a1..9afeab3a2399 100644
--- a/media-libs/libmp3splt/ChangeLog
+++ b/media-libs/libmp3splt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/libmp3splt
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp3splt/ChangeLog,v 1.29 2012/12/01 19:34:16 armin76 Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp3splt/ChangeLog,v 1.30 2013/01/27 22:54:28 sping Exp $
+
+*libmp3splt-0.8.1 (27 Jan 2013)
+
+ 27 Jan 2013; Sebastian Pipping <sping@gentoo.org> +libmp3splt-0.8.1.ebuild,
+ +files/libmp3splt-0.8.1-missing-files.patch:
+ Bump to 0.8.1
01 Dec 2012; Raúl Porcel <armin76@gentoo.org> libmp3splt-0.7.3.ebuild:
alpha/sparc stable wrt #441372
diff --git a/media-libs/libmp3splt/files/libmp3splt-0.8.1-missing-files.patch b/media-libs/libmp3splt/files/libmp3splt-0.8.1-missing-files.patch
new file mode 100644
index 000000000000..d0726d5e73c3
--- /dev/null
+++ b/media-libs/libmp3splt/files/libmp3splt-0.8.1-missing-files.patch
@@ -0,0 +1,47 @@
+From 7744779f1866769e139024c587bf82ed331bc93b Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Sun, 27 Jan 2013 22:35:40 +0100
+Subject: [PATCH] Workaorund lack of files libmp3splt_ico.svg and minimal.c
+ (upstream bug #146)
+
+---
+ doc/Doxyfile.in | 7 -------
+ include/libmp3splt/mp3splt.h | 4 ----
+ 2 files changed, 11 deletions(-)
+
+diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
+index 9f7193a..cef68a6 100644
+--- a/doc/Doxyfile.in
++++ b/doc/Doxyfile.in
+@@ -40,13 +40,6 @@ PROJECT_NUMBER=0.8.1
+
+ PROJECT_BRIEF = "Lossless library for splitting audio formats like mp3 and ogg vorbis."
+
+-# With the PROJECT_LOGO tag one can specify an logo or icon that is
+-# included in the documentation. The maximum height of the logo should not
+-# exceed 55 pixels and the maximum width should not exceed 200 pixels.
+-# Doxygen will copy the logo to the output directory.
+-
+-PROJECT_LOGO = libmp3splt_ico.svg
+-
+ # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
+ # base path where the generated documentation will be put.
+ # If a relative path is entered, it will be relative to the location
+diff --git a/include/libmp3splt/mp3splt.h b/include/libmp3splt/mp3splt.h
+index 5f3898a..1b46c50 100644
+--- a/include/libmp3splt/mp3splt.h
++++ b/include/libmp3splt/mp3splt.h
+@@ -69,10 +69,6 @@ For writing a plugin to support other file type:
+ A list of <a href="modules.html">all modules</a> is also available.
+ */
+
+-/** \example minimal.c
+- * A minimal usage example.
+- */
+-
+ /**
+ * \defgroup using_libmp3splt Using libmp3splt
+ */
+--
+1.7.12.4
+
diff --git a/media-libs/libmp3splt/libmp3splt-0.8.1.ebuild b/media-libs/libmp3splt/libmp3splt-0.8.1.ebuild
new file mode 100644
index 000000000000..8295f928da21
--- /dev/null
+++ b/media-libs/libmp3splt/libmp3splt-0.8.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp3splt/libmp3splt-0.8.1.ebuild,v 1.1 2013/01/27 22:54:28 sping Exp $
+
+EAPI=2
+inherit versionator autotools eutils multilib
+
+DESCRIPTION="a library for mp3splt to split mp3 and ogg files without decoding."
+HOMEPAGE="http://mp3splt.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN:3}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc pcre"
+
+RDEPEND="media-libs/libmad
+ media-libs/libvorbis
+ media-libs/libogg
+ media-libs/libid3tag
+ pcre? ( dev-libs/libpcre )"
+DEPEND="${RDEPEND}
+ doc? ( <app-doc/doxygen-1.8 media-gfx/graphviz )
+ sys-apps/findutils" # because doxygen 1.8.1/1.8.2 segfault on our docs
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.7-libltdl.patch
+ eautoreconf
+
+ epatch "${FILESDIR}"/${P}-missing-files.patch
+}
+
+src_configure() {
+ econf \
+ --disable-dependency-tracking \
+ --disable-static \
+ $(use_enable pcre) \
+ $(use_enable doc doxygen_doc) \
+ --docdir=/usr/share/doc/${PF} \
+ --disable-cutter # TODO package cutter <http://cutter.sourceforge.net/>
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc AUTHORS ChangeLog LIMITS NEWS README TODO || die
+ find "${D}"/usr -name '*.la' -delete
+}