Kodi Community Forum

Full Version: The cpack directive is not always included in the MakeFile binary addons files.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello ,
I would like to know if it would be possible to launch a packgaging harmonization of the binary addons
I explain every official addons does not always include the CPACK directive.
Is it possible to set a standard cpack for official binary addons?

Like Kodi's repository who contains cpacks files in cmake folder
the main complexity is that because of the way cmake/cpack works, the cpack directive needs to go at the end, after all the calls to the other macros. (it has to sit after all install calls). it simply has to be up to devs to do so.

EDIT: before you ask, you have to take e.g. https://github.com/notspiff/screensavers...eLists.txt into consideration - it's spitting out multiple addons so the include cannot be done at end of the build_addon macro.

it is aimed at allowing to build zips, it's not aimed at deb or installers. so no configuration is necessary as such.