Posts: 1,506
Joined: Nov 2013
2016-11-23, 17:15
(This post was last modified: 2016-11-23, 17:42 by ironic_monkey.)
it's a bit confusing but it's not that hard. the need to build in the cross env for android makes it a bit more complex, but it's basically the same steps.
by default kodi will "bootstrap" (download instructions) for add-ons to build from
https://github.com/xbmc/repo-binary-addons
you can use -DADDONS_DEFINITIONS_DIR to specify a local directory with add-on definitions instead. make such a directory and make the definition for pvr.zatoo (pretty much just copying and changing an existing pvr addon). then edit tools/depends/xbmc-addons.include and add the -DADDON_DEFINITIONS_DIR=<your dir> to the cmake command there. build. it should now produce pvr.zattoo
if you want the other add-ons, clone repo-binary-addons to your local addon definitions dir first.
alternatively, fork repo-binary-addons, add pvr.zatoo then point the bootstrap process to your repo using
https://github.com/xbmc/xbmc/blob/master...addons.txt
Posts: 84
Joined: Nov 2012
Reputation:
1
Great!
Not really trivial, but manageable.
Posts: 84
Joined: Nov 2012
Reputation:
1
2016-11-24, 13:03
(This post was last modified: 2016-11-24, 13:05 by vel2000.)
Ok, I've used the 2nd alternative (fork repo-binary-addons) and the pvr addon built just fine and even works..
But one more question:
When building the addon, an additional library (libyajl.so.2) is built too.
This library is necessary, but was not included in the final Kodi build, so I had to copy it separately to the lib folder, after I installed Kodi.
So, where do I have to copy/add this lib, so its included in the final Kodi build?
Posts: 1,506
Joined: Nov 2013
that library should have been built static so that's an error in the dependency definition.
Posts: 1,506
Joined: Nov 2013