This weekend our forum will be unavailable for a few hours due to maintenance.

Build from Source, "doesn't contain a valid add-on type name"
Objective: Enjoy Kodi NextPVR PVR on MX Linux, Kodi version 18.9

Built the NextPVR addon from GitHub source, everything appeared to go smoothly. It built something that looks like a binary addon in ~/xbmc/addons/pvr.nextpvr:

$ ls
addon.xml      icon.png   resources

copied that over to special://xbmcbinaddons/ => /usr/lib/x86_64-linux-gnu/kodi/addons

Kodi seems to pick it up, but doesn't like it. I believe the relevant log entries are:
2020-12-08 22:21:51.132 T:140648504069312  NOTICE: ADDON: pvr.nextpvr v8.0.1 installed

2020-12-08 22:21:51.142 T:140648504069312   ERROR: CBinaryAddonBase::LoadAddonXML: file '/usr/lib/x86_64-linux-gnu/kodi/addons/pvr.nextpvr' doesn't contain a valid add-on type name (kodi.pvrclient)
2020-12-08 22:21:51.142 T:140648504069312   ERROR: CBinaryAddonManager::AddAddonBaseEntry: Failed to create base for 'pvr.nextpvr' and addon not usable

Am I doing something wrong here?
Yes.  You are building the pluigin from master which is Matrix and then installing it on a Leia client.

Indeed, thanks.

The relevant code for posterity:
git clone --branch Leia
git clone --branch Leia
cd pvr.nextpvr && mkdir build && cd build
cmake -DADDONS_TO_BUILD=pvr.nextpvr -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons

Logout Mark Read Team Forum Stats Members Help
Build from Source, "doesn't contain a valid add-on type name"0
This forum uses Lukasz Tkacz MyBB addons.