summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-01-29 20:48:34 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-01-29 20:48:34 +0000
commitec767ac88d213d87b263ac81932e567264ad20f7 (patch)
treed635485f86022539f43dea8e3805b054ea3fa7f1 /media-sound/ripperx
parentold (diff)
downloadgentoo-2-ec767ac88d213d87b263ac81932e567264ad20f7.tar.gz
gentoo-2-ec767ac88d213d87b263ac81932e567264ad20f7.tar.bz2
gentoo-2-ec767ac88d213d87b263ac81932e567264ad20f7.zip
Missing ripperX_LDADD for -lm for function ceilf wrt #401867 by Attila Tóth
(Portage version: 2.2.0_alpha155/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'media-sound/ripperx')
-rw-r--r--media-sound/ripperx/ChangeLog5
-rw-r--r--media-sound/ripperx/files/ripperx-2.7.3-ldflags.patch6
-rw-r--r--media-sound/ripperx/files/ripperx-2.7.3-pkgconfig.patch6
-rw-r--r--media-sound/ripperx/ripperx-2.7.3.ebuild24
4 files changed, 21 insertions, 20 deletions
diff --git a/media-sound/ripperx/ChangeLog b/media-sound/ripperx/ChangeLog
index 106041f07302..54fcc2837e1f 100644
--- a/media-sound/ripperx/ChangeLog
+++ b/media-sound/ripperx/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/ripperx
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/ripperx/ChangeLog,v 1.45 2013/01/29 20:30:48 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ripperx/ChangeLog,v 1.46 2013/01/29 20:48:34 ssuominen Exp $
+
+ 29 Jan 2013; Samuli Suominen <ssuominen@gentoo.org> ripperx-2.7.3.ebuild:
+ Missing ripperX_LDADD for -lm for function ceilf wrt #401867 by Attila Tóth
29 Jan 2013; Samuli Suominen <ssuominen@gentoo.org> -ripperx-2.7.2.ebuild,
-files/ripperx-2.7.2-ldflags.patch, -files/ripperx-2.7.2-pkgconfig.patch:
diff --git a/media-sound/ripperx/files/ripperx-2.7.3-ldflags.patch b/media-sound/ripperx/files/ripperx-2.7.3-ldflags.patch
index a0a7561e3bf8..11e18972e638 100644
--- a/media-sound/ripperx/files/ripperx-2.7.3-ldflags.patch
+++ b/media-sound/ripperx/files/ripperx-2.7.3-ldflags.patch
@@ -1,7 +1,5 @@
-Index: ripperX-2.7.3/plugins/Makefile.in
-===================================================================
---- ripperX-2.7.3.orig/plugins/Makefile.in
-+++ ripperX-2.7.3/plugins/Makefile.in
+--- plugins/Makefile.in
++++ plugins/Makefile.in
@@ -658,7 +658,7 @@ uninstall-am: uninstall-binPROGRAMS
all: ripperX_plugin_tester $(PLUGINS)
diff --git a/media-sound/ripperx/files/ripperx-2.7.3-pkgconfig.patch b/media-sound/ripperx/files/ripperx-2.7.3-pkgconfig.patch
index 5b7ddaa397b7..48c24f4054a9 100644
--- a/media-sound/ripperx/files/ripperx-2.7.3-pkgconfig.patch
+++ b/media-sound/ripperx/files/ripperx-2.7.3-pkgconfig.patch
@@ -1,7 +1,5 @@
-Index: ripperX-2.7.3/ripperX.pc.in
-===================================================================
---- ripperX-2.7.3.orig/ripperX.pc.in
-+++ ripperX-2.7.3/ripperX.pc.in
+--- ripperX.pc.in
++++ ripperX.pc.in
@@ -1,6 +1,7 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
diff --git a/media-sound/ripperx/ripperx-2.7.3.ebuild b/media-sound/ripperx/ripperx-2.7.3.ebuild
index 3ca73bc92478..1bad9a460b02 100644
--- a/media-sound/ripperx/ripperx-2.7.3.ebuild
+++ b/media-sound/ripperx/ripperx-2.7.3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/ripperx/ripperx-2.7.3.ebuild,v 1.6 2012/05/05 08:49:23 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ripperx/ripperx-2.7.3.ebuild,v 1.7 2013/01/29 20:48:34 ssuominen Exp $
-EAPI=2
+EAPI=5
inherit eutils
MY_P=${P/x/X}
@@ -17,10 +17,10 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="nls"
-RDEPEND="x11-libs/gtk+:2
- media-sound/lame
+RDEPEND="media-libs/id3lib
media-sound/cdparanoia
- media-libs/id3lib"
+ media-sound/lame
+ x11-libs/gtk+:2"
DEPEND="${RDEPEND}
virtual/pkgconfig
nls? ( sys-devel/gettext )"
@@ -28,18 +28,20 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
src_prepare() {
- epatch "${FILESDIR}"/${P}-ldflags.patch \
+ # AC_CHECK_LIB(m, ceilf, [], [MATH_LIB="-lm" MATH_LIB=""]) #401867
+ sed -i -e '/ripperX_LDADD/s:=:= -lm:' src/Makefile.in || die
+
+ epatch \
+ "${FILESDIR}"/${P}-ldflags.patch \
"${FILESDIR}"/${P}-pkgconfig.patch
}
src_configure() {
- econf \
- --disable-dependency-tracking \
- $(use_enable nls)
+ econf $(use_enable nls)
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ emake DESTDIR="${D}" install
dodoc BUGS CHANGES FAQ README* TODO
doicon src/xpms/${MY_PN}-icon.xpm
make_desktop_entry ${MY_PN} ${MY_PN} ${MY_PN}-icon