summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-11-24 20:40:26 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-11-24 20:40:26 +0000
commitc1d6ee054371e0f8313d5f966bdd9a5f2a27eeaa (patch)
treec6d286a95b99f32fed9118ec0390291db4a488ea /media-libs
parentMarking libburn-0.5.2 ppc64 for bug 245272 (diff)
downloadgentoo-2-c1d6ee054371e0f8313d5f966bdd9a5f2a27eeaa.tar.gz
gentoo-2-c1d6ee054371e0f8313d5f966bdd9a5f2a27eeaa.tar.bz2
gentoo-2-c1d6ee054371e0f8313d5f966bdd9a5f2a27eeaa.zip
Version bump for bug 247603, thanks to Sebastian Mair for reporting. Include math.h for ceilf in plugins/mp3.c.
(Portage version: 2.2_rc15/cvs/Linux 2.6.27-gentoo-r3 i686)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libmp3splt/ChangeLog9
-rw-r--r--media-libs/libmp3splt/files/libmp3splt-0.5.2-ceilf.patch11
-rw-r--r--media-libs/libmp3splt/libmp3splt-0.5.2.ebuild31
3 files changed, 50 insertions, 1 deletions
diff --git a/media-libs/libmp3splt/ChangeLog b/media-libs/libmp3splt/ChangeLog
index 9bb9fd61f7e5..3d880e39525c 100644
--- a/media-libs/libmp3splt/ChangeLog
+++ b/media-libs/libmp3splt/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/libmp3splt
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp3splt/ChangeLog,v 1.5 2008/09/08 04:29:59 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp3splt/ChangeLog,v 1.6 2008/11/24 20:40:26 ssuominen Exp $
+
+*libmp3splt-0.5.2 (24 Nov 2008)
+
+ 24 Nov 2008; <ssuominen@gentoo.org> +files/libmp3splt-0.5.2-ceilf.patch,
+ +libmp3splt-0.5.2.ebuild:
+ Version bump for bug 247603, thanks to Sebastian Mair for reporting.
+ Include math.h for ceilf in plugins/mp3.c.
*libmp3splt-0.5 (08 Sep 2008)
diff --git a/media-libs/libmp3splt/files/libmp3splt-0.5.2-ceilf.patch b/media-libs/libmp3splt/files/libmp3splt-0.5.2-ceilf.patch
new file mode 100644
index 000000000000..7b7d9fff5f12
--- /dev/null
+++ b/media-libs/libmp3splt/files/libmp3splt-0.5.2-ceilf.patch
@@ -0,0 +1,11 @@
+diff -ur libmp3splt-0.5.2.orig/plugins/mp3.c libmp3splt-0.5.2/plugins/mp3.c
+--- libmp3splt-0.5.2.orig/plugins/mp3.c 2008-10-04 05:08:26.000000000 +0300
++++ libmp3splt-0.5.2/plugins/mp3.c 2008-11-24 22:35:36.000000000 +0200
+@@ -29,6 +29,7 @@
+ #include <unistd.h>
+ #include <sys/stat.h>
+ #include <dirent.h>
++#include <math.h>
+
+ #ifdef __WIN32__
+ #include <io.h>
diff --git a/media-libs/libmp3splt/libmp3splt-0.5.2.ebuild b/media-libs/libmp3splt/libmp3splt-0.5.2.ebuild
new file mode 100644
index 000000000000..a1aad6c2d130
--- /dev/null
+++ b/media-libs/libmp3splt/libmp3splt-0.5.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmp3splt/libmp3splt-0.5.2.ebuild,v 1.1 2008/11/24 20:40:26 ssuominen Exp $
+
+inherit autotools eutils
+
+DESCRIPTION="a library for mp3splt to split mp3 and ogg files without decoding."
+HOMEPAGE="http://mp3splt.sourceforge.net"
+SRC_URI="mirror://sourceforge/mp3splt/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc64 ~sparc ~x86"
+IUSE=""
+
+DEPEND="media-libs/libmad
+ media-libs/libvorbis media-libs/libogg
+ media-libs/libid3tag"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-ceilf.patch
+ # Can't get it to link properly to libltdl without eautoreconfing it
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ dodoc AUTHORS ChangeLog LIMITS NEWS README TODO
+}