diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2016-04-02 11:43:39 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2016-04-02 11:43:47 +0100 |
commit | 45fc303a416aa252542c49b9383ad148f9022974 (patch) | |
tree | ff4c5ee6ab5050b02ad2cd0f2d09ea421b911bcf /media-sound/xmms2/xmms2-0.8-r2.ebuild | |
parent | dev-libs/libplatform: Version bump (diff) | |
download | gentoo-45fc303a416aa252542c49b9383ad148f9022974.tar.gz gentoo-45fc303a416aa252542c49b9383ad148f9022974.tar.bz2 gentoo-45fc303a416aa252542c49b9383ad148f9022974.zip |
media-sound/xmms2: support stable API for libav, bug #540890
Latest stable media-video/ffmpeg-2.8.6 provides both functions:
avcodec_decode_audio3
avcodec_decode_audio4
While latest stable media-video/libav-11.3 provides only
avcodec_decode_audio4
Pulled large patchset from upstream to support audio4 API.
Builds fine on both stable virtual/ffmpeg implementations
and unstable libav.
Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/540890
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-sound/xmms2/xmms2-0.8-r2.ebuild')
-rw-r--r-- | media-sound/xmms2/xmms2-0.8-r2.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/media-sound/xmms2/xmms2-0.8-r2.ebuild b/media-sound/xmms2/xmms2-0.8-r2.ebuild index 4661d2d4af6a..4500c37e84e4 100644 --- a/media-sound/xmms2/xmms2-0.8-r2.ebuild +++ b/media-sound/xmms2/xmms2-0.8-r2.ebuild @@ -116,6 +116,13 @@ src_prepare() { epatch "${FILESDIR}/${P}"-ffmpeg2.patch #536232 epatch "${FILESDIR}/${P}"-cpython.patch epatch "${FILESDIR}/${P}"-modpug.patch #536046 + epatch "${FILESDIR}/${P}"-audio4-p1.patch + epatch "${FILESDIR}/${P}"-audio4-p2.patch + epatch "${FILESDIR}/${P}"-audio4-p3.patch + epatch "${FILESDIR}/${P}"-audio4-p4.patch + epatch "${FILESDIR}/${P}"-audio4-p5.patch + epatch "${FILESDIR}/${P}"-audio4-p6.patch + epatch "${FILESDIR}/${P}"-audio4-p7.patch if has_version dev-libs/libcdio-paranoia; then sed -i -e 's:cdio/cdda.h:cdio/paranoia/cdda.h:' src/plugins/cdda/cdda.c || die |