Start by executing:
./bootstrap
To build all PVR addons and install them directly (so that you just have to enable them in Kodi), execute the following (change the prefix path to your actual installation):
./configure --prefix=/usr/local/lib/kodi
make install
To build all PVR addons and package them into individual ZIP archives (which can then be installed manually), execute the following:
./configure
make zip
The build method described above excludes addons that depend on runtime libraries. This is because the installed versions of the dependend libraries on the build-machine and the target machine have to match exactly. Therefore this addons cannot be distributed easily.
Distribution package maintainers and users who build the addons on their target machine can enable the build of addons with dependencies:
./configure --enable-addons-with-dependencies
projectBuildDependenciesDownloadBuildDeps.bat
projectVS2010Expressxbmc-pvr-addons.sln
addonspvr.demoaddon*.*
to YOUR_KODI_DIRaddonspvr.demo*.*
First ensure that you have separate working build environments for both Kodi and the addons, then import the addon projects into the Kodi solution like this:
The PVR addon projects already contain a PostBuild action that only runs when part of the XBMC solution, that copies their output into the Kodi's solution's addon directory. This mean no manual copying is needed like when building the addons standalone.
Remember, if you make any modifications to the Kodi solution to include PVR addons, don't include those changes when you do pull requests!