# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header$ EAPI="5" inherit git-r3 EGIT_BRANCH="Isengard" EGIT_REPO_URI="git://github.com/kodi-pvr/pvr.hts.git" DESCRIPTION="Kodi is a free and open source media-player and entertainment hub" HOMEPAGE="http://kodi.tv/ http://kodi.wiki/" LICENSE="GPL-2" SLOT="0" IUSE="" DEPEND="dev-util/cmake media-tv/kodi-platform" src_unpack() { git-r3_src_unpack ${CODENAME} (cd ${P} && \ git branch build c26f044b9dbc3cf64466542b485aab5361e7d347 && \ git checkout build \ ) } src_configure() { #sed 's/@PLATFORM@/linux/g' < pvr.hts/addon.xml.in | sed 's/@LIBRARY_FILENAME@/pvr.hts.so/' > pvr.hts/addon.xml cmake -DCMAKE_INSTALL_PREFIX=/usr \ -Dkodiplatform_DIR=/usr/share/kodi/addons/kodi.platform/lib/kodiplatform \ -Dplatform_DIR=/usr/share/kodi/addons/library.kodi.platform/lib/platform \ -DOVERRIDE_PATHS=1 \ . }