commit: 40043d4962e06a2ca87fd97b06e837b8302d0490
Author: Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 5 07:56:14 2016 +0000
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Mon Dec 5 07:57:17 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40043d49
media-libs/libde265: fix PIX_FMT_YUV420P undefined err
Gentoo-Bug: 575554
Package-Manager: portage-2.3.2
media-libs/libde265/libde265-1.0.2.ebuild | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/media-libs/libde265/libde265-1.0.2.ebuild
b/media-libs/libde265/libde265-1.0.2.ebuild
index 7b52f00..e132363 100644
--- a/media-libs/libde265/libde265-1.0.2.ebuild
+++ b/media-libs/libde265/libde265-1.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -27,6 +27,11 @@ RDEPEND="${DEPEND}"
REQUIRED_USE="tools? ( || ( qt4 qt5 ) )"
+src_prepare() {
+ sed -ri 's/(PIX_FMT_)/AV_\1/g' sherlock265/VideoDecoder.cc || die
+ autotools-multilib_src_prepare
+}
+
src_configure() {
local myeconfargs=(
$(use_enable cpu_flags_x86_sse sse)