I'm trying to crosscompile Libreeelec for RPi2 on my Ubuntu 16.10 in order to have replay tv with this addon pvr.zattoo.
However this is possible only with a modified version of kodi which can be found here: kodi
I tried modifying tools/mkpkg/mkpkg_kodi like this:
but when i issue PROJECT=RPi2 ARCH=arm make image
I notice that only the kodi version specified in: packages/mediacenter/kodi/package.mk
PKG_VERSION="17.0-beta5-e92818a"
is being built, and not the modified version I need.
I also created package.mk in packages/mediacenter/kodi-binary-addons/pvr.zattoo like this:
PKG_NAME="pvr.zattoo"
PKG_VERSION="zattoo_dash"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kodi.tv"
PKG_URL="https://github.com/rbuehlma/pvr.zattoo/archive/$PKG_VERSION.tar.gz"
PKG_DEPENDS_TARGET="toolchain kodi-platform"
PKG_SECTION=""
PKG_SHORTDESC="pvr.zattoo"
PKG_LONGDESC="pvr.zattoo"
PKG_AUTORECONF="no"
PKG_IS_ADDON="yes"
PKG_ADDON_TYPE="xbmc.pvrclient"
PKG_CMAKE_OPTS_TARGET="-DCMAKE_MODULE_PATH=$SYSROOT_PREFIX/usr/lib/kodi \
-DCMAKE_PREFIX_PATH=$SYSROOT_PREFIX/usr"
addon() {
mkdir -p $ADDON_BUILD/$PKG_ADDON_ID/
cp -R $PKG_BUILD/.install_pkg/usr/share/kodi/addons/$PKG_NAME/* $ADDON_BUILD/$PKG_ADDON_ID/
ADDONSO=$(xmlstarlet sel -t -v "/addon/extension/@library_linux" $ADDON_BUILD/$PKG_ADDON_ID/addon.xml)
cp -L $PKG_BUILD/.install_pkg/usr/lib/kodi/addons/$PKG_NAME/$ADDONSO $ADDON_BUILD/$PKG_ADDON_ID/
}
Display More
however I cannot seem to find anything related to pvr.zattoo in the build.LibreELEC-RPi2.arm-8.0-devel folder.
Can someone point me to the right direction on how to build libreelec with this addon included and modified kodi?