Article 6KXQ7 Building Kodi Nexus and Omega with PVR successfully on aarch64, however without CEC adapter

Building Kodi Nexus and Omega with PVR successfully on aarch64, however without CEC adapter

by
Johpin
from LinuxQuestions.org on (#6KXQ7)
In this thread you can find how to build Kodi Nexus on aarch64 from slackbuilds,
apply adaptions and several addons. Unfortunately CEC is not supported,
despite of compiling in. Any suggestion on this is welcome.

Building Kodi Nexus from slackbuilds
====================================

gtest
zulu-openjdk11
libass
tinyxml (add -fPIC as flag to tinyxml.Slackbuilld)
flatbuffers (change in flatbuffers.Slackbuild LIBDIRSUFFIX="" into LIBDIRSUFFIX="64")

platform
libcec (
https://github.com/raspberrypi/userland
cp host_applications/linux/libs/bcm_host/include/bcm_host.h /usr/local/include/
cp -rf interface /usr/local/include/
cp -rf vcinclude /usr/local/include/
In libcec.Slackbuild change LIBDIRSUFFIX="" into LIBDIRSUFFIX="64" )

Kodi
Get files from https://github.com/Ponce/slackbuilds
Change -DAPP_RENDER_SYSTEM=gl in kodi.Slackbuild into -DAPP_RENDER_SYSTEM=gles
FFMPEG=internal ./kodi.Slackbuild

inputstream.adaptive
tar xzf inputstream.adaptive-20.3.18-Nexus.tar.gz
edit inputstream.adaptive-20.3.18-Nexus/src /test//KodiStubs.h
Add "#include <cstdint>" to KodiStubs.h
tar czf inputstream.adaptive-20.3.18-Nexus.tar.gz inputstream.adaptive-20.3.18-Nexus/

For Widevine patch gcc, see
https://github.com/mostman/Slackbuil...-current/glibc
Change in build-file 2.37 into 2.39.
For compiling revert to stock gcc in stead of patched one.

Building TVheadend from slackbuilds.org:
graphviz
tvheadend

Building Kodi Nexus addons from github
======================================

Build and make a zip file for pvr.hts:
https://github.com/kodi-pvr/pvr.hts/tree/20.7.2-Nexus

The addon IPTV Manager requires following dependencies from github. Choose the
branch Nexus.

inputstream.ffmpegdirect (use master, otherwise you have to add two times
#include <cstdint>)
inputstream.ffmpegdirect/src/StreamManager.h:60:16: error: ..virtual void InputStreamFFmpegDirect::SetVideoResolution(int, int).. marked ..override.., but does not override => remove "override")

inputstream.rtmp
pvr.iptvsimple

Additionally build Kodi Omega (no slackbuild available)
=======================================================

From slackbuilds:
tinyxml2
pugixml

Download xbmc from github
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DCORE_PLATFORM_NAME=x11 -DAPP_RENDER_SYSTEM=gles -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_INTERNAL_CROSSGUID=ON -DENABLE_INTERNAL_FSTRCMP=ON -DENABLE_INTERNAL_RapidJSON=ON -DENABLE_INTERNAL_FMT=ON -DENABLE_INTERNAL_SPDLOG=ON -DENABLE_INTERNAL_FFMPEG=ON -DENABLE_CEC=ON
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments