From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-779129-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id A8282138CB7
	for <garchives@archives.gentoo.org>; Tue,  3 Mar 2015 14:30:01 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D4CBFE08C0;
	Tue,  3 Mar 2015 14:30:00 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 81255E08C0
	for <gentoo-commits@lists.gentoo.org>; Tue,  3 Mar 2015 14:30:00 +0000 (UTC)
Received: from manakin.gentoo.org (static-108-28-123-98.washdc.fios.verizon.net [108.28.123.98])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 702C134098B
	for <gentoo-commits@lists.gentoo.org>; Tue,  3 Mar 2015 14:29:59 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by manakin.gentoo.org (Postfix) with ESMTP id 457D4603E6
	for <gentoo-commits@lists.gentoo.org>; Tue,  3 Mar 2015 14:29:58 +0000 (UTC)
From: "git@oystercatcher mirror+tproxy" <git@oystercatcher.gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "git@oystercatcher mirror+tproxy" <git@oystercatcher.gentoo.org>
Message-ID: <1425392925.584b51df6bb791b2925d91bc72329bc327e80265.git@gentoo>
Subject: [gentoo-commits] dev/leio:master commit in: media-tv/kodi/
X-VCS-Repository: dev/leio
X-VCS-Files: media-tv/kodi/kodi-14.1.ebuild
X-VCS-Directories: media-tv/kodi/
X-VCS-Committer: git
X-VCS-Committer-Name: git@oystercatcher mirror+tproxy
X-VCS-Revision: 584b51df6bb791b2925d91bc72329bc327e80265
X-VCS-Branch: master
Date: Tue,  3 Mar 2015 14:29:58 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 38441bfa-3ae7-4d97-9de6-8b7ade7df5a1
X-Archives-Hash: 9b3446ae92f24aadb03a046c8a3aba00

commit:     584b51df6bb791b2925d91bc72329bc327e80265
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  3 14:28:45 2015 +0000
Commit:     git@oystercatcher mirror+tproxy <git <AT> oystercatcher <DOT> gentoo <DOT> org>
CommitDate: Tue Mar  3 14:28:45 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=dev/leio.git;a=commit;h=584b51df

kodi: append glesv2 and egl cflags and ldflags, to help kodi find them from /opt/vc

 media-tv/kodi/kodi-14.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-tv/kodi/kodi-14.1.ebuild b/media-tv/kodi/kodi-14.1.ebuild
index 3022b8b..cd76c6b 100644
--- a/media-tv/kodi/kodi-14.1.ebuild
+++ b/media-tv/kodi/kodi-14.1.ebuild
@@ -9,7 +9,7 @@ EAPI="5"
 PYTHON_COMPAT=( python{2_6,2_7} )
 PYTHON_REQ_USE="sqlite"
 
-inherit eutils python-single-r1 multiprocessing autotools
+inherit eutils flag-o-matic python-single-r1 multiprocessing autotools
 
 CODENAME="Helix"
 case ${PV} in
@@ -193,6 +193,8 @@ src_configure() {
 
 	local myconf
 	use rpi && myconf='--with-platform=raspberry-pi'
+	use rpi && append-cppflags $(pkg-config --cflags egl glesv2)
+	use rpi && append-ldflags $(pkg-config --libs egl glesv2)
 
 	econf \
 		--docdir=/usr/share/doc/${PF} \