summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2015-03-03 16:28:45 +0200
committerMart Raudsepp <leio@gentoo.org>2015-03-03 16:28:45 +0200
commit584b51df6bb791b2925d91bc72329bc327e80265 (patch)
treeb0185bea43895820bcba5ab4ca047b6bf80712c1 /media-tv
parentAdd a very rough kodi ebuild for RPi for testing by interested parties (diff)
downloadleio-584b51df6bb791b2925d91bc72329bc327e80265.tar.gz
leio-584b51df6bb791b2925d91bc72329bc327e80265.tar.bz2
leio-584b51df6bb791b2925d91bc72329bc327e80265.zip
kodi: append glesv2 and egl cflags and ldflags, to help kodi find them from /opt/vc
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/kodi/kodi-14.1.ebuild4
1 files changed, 3 insertions, 1 deletions
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} \