summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-10 11:35:46 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-10 11:35:46 +0000
commit87b5eae6de415641018a1e135029fa7a66d17840 (patch)
tree6cef681e16357673f7f359f73d415d3cdedc41de /media-sound/cmus
parentUse mplayer instead of faad (bug #277025) (diff)
downloadhistorical-87b5eae6de415641018a1e135029fa7a66d17840.tar.gz
historical-87b5eae6de415641018a1e135029fa7a66d17840.tar.bz2
historical-87b5eae6de415641018a1e135029fa7a66d17840.zip
>= libmp4v2 1.9.0 changed include location; change it inside ebuild.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'media-sound/cmus')
-rw-r--r--media-sound/cmus/ChangeLog5
-rw-r--r--media-sound/cmus/cmus-2.2.0-r1.ebuild8
2 files changed, 11 insertions, 2 deletions
diff --git a/media-sound/cmus/ChangeLog b/media-sound/cmus/ChangeLog
index 3c19ba78257f..fb165a8bcd49 100644
--- a/media-sound/cmus/ChangeLog
+++ b/media-sound/cmus/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/cmus
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/cmus/ChangeLog,v 1.25 2009/05/21 14:10:21 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cmus/ChangeLog,v 1.26 2009/07/10 11:35:46 ssuominen Exp $
+
+ 10 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> cmus-2.2.0-r1.ebuild:
+ >= libmp4v2 1.9.0 changed include location; change it inside ebuild.
21 May 2009; Samuli Suominen <ssuominen@gentoo.org> cmus-2.2.0-r1.ebuild:
Remove arts support wrt #270575.
diff --git a/media-sound/cmus/cmus-2.2.0-r1.ebuild b/media-sound/cmus/cmus-2.2.0-r1.ebuild
index ab23c5a49383..53fc1dc2d60d 100644
--- a/media-sound/cmus/cmus-2.2.0-r1.ebuild
+++ b/media-sound/cmus/cmus-2.2.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/cmus/cmus-2.2.0-r1.ebuild,v 1.4 2009/05/21 14:10:21 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/cmus/cmus-2.2.0-r1.ebuild,v 1.5 2009/07/10 11:35:46 ssuominen Exp $
EAPI=2
inherit eutils multilib
@@ -44,6 +44,12 @@ my_config() {
src_prepare() {
epatch "${FILESDIR}"/${P}-new-ffmpeg.patch \
"${FILESDIR}"/${P}-symlink_attack.patch
+
+ if use mp4 && has_version ">=media-libs/libmp4v2-1.9.0"; then
+ ebegin "Patching in libmp4v2 compability support"
+ sed -i -e 's:<mp4.h>:<mp4v2/mp4v2.h>:' mp4.c || die "sed failed"
+ eend $?
+ fi
}
src_configure() {