Summary: | media-sound/xmms2 - fix building against media-video/ffmpeg | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anthony Guevara <amboxer21> |
Component: | Current packages | Assignee: | Sergei Trofimovich (RETIRED) <slyfox> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=536232 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | xmms2-0.8-r3.ebuild |
Comment on attachment 385476 [details]
xmms2-0.8-r3.ebuild
--- xmms2-0.8-r2.ebuild
+++ xmms2-0.8-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/xmms2/xmms2-0.8-r2.ebuild,v 1.4 2014/08/10 21:13:03 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/xmms2/xmms2-0.8-r1.ebuild,v 1.16 2014/08/10 21:13:03 slyfox Exp $
EAPI=3
@@ -14,7 +14,7 @@
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+KEYWORDS="alpha amd64 ppc x86"
IUSE="aac airplay +alsa ao asf avahi cdda curl cxx ffmpeg flac gvfs ices
jack mac mlib-update mms +mad modplug mp3 mp4 musepack ofa oss
@@ -108,8 +108,6 @@
epatch "${FILESDIR}/${PN}"-0.8DrO_o-waflib-fix-perl.patch
cd "${S}"
epatch "${FILESDIR}/${P}"-ffmpeg-0.11.patch #443256
- epatch "${FILESDIR}/${P}"-libav-9-p2.patch #443256
- epatch "${FILESDIR}/${P}"-libav-9.patch #443256
epatch "${FILESDIR}/${P}"-cython-0.19.1.patch
epatch "${FILESDIR}/${P}"-memset.patch
@@ -119,6 +117,7 @@
}
src_configure() {
+ # rm -rf /var/tmp/portage/media-sound/xmms2-0.8-r3/work/xmms2-0.8DrO_o/src/plugins/avcodec &&
# ./configure alike options.
local waf_params="--prefix=/usr \
--libdir=/usr/$(get_libdir) \
@@ -159,7 +158,6 @@
" airplay"
" ao"
"ffmpeg apefile"
- "ffmpeg avcodec"
" asf"
"ENABLED asx"
" cdda"
The patch looks very confusing to me. So I guess you are running ffmpeg instead of libav. Y have a couple of questions for you: - the output of 'emerge --info media-video/ffmpeg' - and actual build.log failure if you try to install in-tree's xmms2 (In reply to Sergei Trofimovich from comment #2) > The patch looks very confusing to me. > > So I guess you are running ffmpeg instead of libav. > Y have a couple of questions for you: > > - the output of 'emerge --info media-video/ffmpeg' > - and actual build.log failure if you try to install in-tree's xmms2 I will reply back tomorrow with the info you requested. It is late here and I just got home but I wanted to respond to let you know that xmms2 wont build unless I remove the libav patches as well as the libav entry in the plugin maps. Yes, I am using ffmpeg instead of libav and I Wouldn't call this a patch lol *** This bug has been marked as a duplicate of bug 536232 *** |
Created attachment 385476 [details] xmms2-0.8-r3.ebuild Building media-sound/xmms2 tries to pull in libav but if you have ffmpeg installed, installation of xmms2 breaks while trying to pull in libav plugins.