![]() |
Android Compiling "external" PVR Addon - Howto? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136) +---- Thread: Android Compiling "external" PVR Addon - Howto? (/showthread.php?tid=297449) |
Compiling "external" PVR Addon - Howto? - vel2000 - 2016-11-20 Hi, after following this tutorial, I was able to successfully build Kodi 17 and also some "official" PVR Addons like iptvsimple, etc. Now I want to compile this Zattoo addon, but couldn't find any usable tutorial for Android, only Win/Linux. Can somebody point me to the right direction or recommend a tutorial? thanks in advance RE: Compiling "external" PVR Addon - Howto? - vel2000 - 2016-11-23 hmm, seems to be some kind of "black magic" ![]() RE: Compiling "external" PVR Addon - Howto? - ironic_monkey - 2016-11-23 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/project/cmake/addons/bootstrap/repositories/binary-addons.txt RE: Compiling "external" PVR Addon - Howto? - vel2000 - 2016-11-24 Great! Not really trivial, but manageable. RE: Compiling "external" PVR Addon - Howto? - vel2000 - 2016-11-24 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? RE: Compiling "external" PVR Addon - Howto? - ironic_monkey - 2016-11-24 that library should have been built static so that's an error in the dependency definition. RE: Compiling "external" PVR Addon - Howto? - ironic_monkey - 2016-11-24 i have sent a fix https://github.com/trummerjo/pvr.zattoo/pull/9 RE: Compiling "external" PVR Addon - Howto? - vel2000 - 2016-11-25 (2016-11-24, 13:26)ironic_monkey Wrote: i have sent a fix https://github.com/trummerjo/pvr.zattoo/pull/9 I think, this repo isn't maintained any more. The current location ist now here: https://github.com/rbuehlma/pvr.zattoo/tree/zattoo So how can I add the pre-compiled (and working) lib, before building Kodi or making the apk? |