diff options
author | 2015-03-03 16:28:45 +0200 | |
---|---|---|
committer | 2015-03-03 16:28:45 +0200 | |
commit | 584b51df6bb791b2925d91bc72329bc327e80265 (patch) | |
tree | b0185bea43895820bcba5ab4ca047b6bf80712c1 | |
parent | Add a very rough kodi ebuild for RPi for testing by interested parties (diff) | |
download | leio-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
-rw-r--r-- | media-tv/kodi/kodi-14.1.ebuild | 4 |
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} \ |