February 25, 2017

kodi-pvr-mythtv addon for Fedora (25)

kodi-pvr-mythtv addon for Fedora (25)

Kodi MythTV PVR automated packages from rpmfusion. and unitedrpms. sadly haven't been working on my Fedora 24 or 25 systems for quite sometime with crashes and failures to load that I couldnt figure out easily.
I've manually built the addon using the following commands (on a 64bit Fedora 25 system) for Kodi 17.0 (krypton). Tested working on a few Fedora 24 and 25 systems here. :)

git clone -b Krypton https://github.com/xbmc/xbmc.git
cd xbmc/project/
git clone -b Krypton https://github.com/kodi-pvr/pvr.mythtv.git
cd pvr.mythtv && mkdir build && cd build
cmake -DADDONS_TO_BUILD=pvr.mythtv -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../../addons -DPACKAGE_ZIP=1 ../../../project/cmake/addons
cp pvr.mythtv-prefix/src/pvr.mythtv-build/pvr.mythtv.so ../pvr.mythtv/
cd ..
zip -r pvr.mythtv.zip pvr.mythtv

You can either manually do the above to build it yourself of try my build (v4.12.7) [here]. Hopefully saves someone else 2 mins :)