|MythTV PVR Client||BuildFromSource|
1 Build instructions
When building the addon, you have to use the correct branch (List of Git branches in pvr.mythtv) for the version of Kodi you're building against. For example, if you're building the
master branch of Kodi, you should checkout the
master branch of this repository. Also, make sure you are following this README file from the branch in question.
1.1 Linux environments
git clone --branch master --depth=1 https://github.com/xbmc/xbmc.git git clone --branch Nexus https://github.com/janbar/pvr.mythtv.git && cd ./pvr.mythtv mkdir build && cd ./build cmake -DADDONS_TO_BUILD:STRING="pvr.mythtv" -DADDON_SRC_PREFIX:PATH="../.." -DCMAKE_BUILD_TYPE:STRING="Debug" \ -DCMAKE_INSTALL_PREFIX:PATH="../../xbmc/addons" -DPACKAGE_ZIP:BOOL="ON" "-GUnix Makefiles" ../../xbmc/cmake/addons cmake --build .
The add-on files will be placed in
../../xbmc/kodi-build/addons, so if you build Kodi from source and run it directly, the add-on will be available as a system add-on.