Thread Rating:
  • 0 Vote(s) - 0 Average
Linux - Looking for help installing mythtv.pvr addon
#1
I recently upgraded my frontend machine from OpenSUSE Leap 42.1 to 42.2. When I re-installed Kodi from RPM, I got 17.1. I think I was on Isengard on the older OS version. Anyway, I've been attempting to install the mythtv.pvr addon from the source, and my lack of linux knowledge is keeping me from being successful. I've been attempting to use the instructions found at the bottom of https://github.com/janbar/pvr.mythtv. After running the first three instructions, I am in the ~/pvr.mythtv/build> directory. On step 4, the cmake command uses ../../xbmc/cmake/addons as the build source (if I understand the command syntax properly). When I run the command in step 4, I get, "CMake Error: The source directory "/home/tonka/xbmc/cmake/addons" does not exist." That makes sense to me, because how would the build sources get in that directory? When I clones the source via git, I put the sources in the ~/pvr.mythtv/.git directory, right?

I must be missing something basic. I'm new to using git, and I'm certainly no linux expert (I've forgotten a lot of what I used to know due to my system just running fine without me needing to do anything to it for years).

Can anybody help me out and point me in the right direction? I'm looking for clarification. Should I be pointing the command to the ~/pvr.mythtv/.git directory instead? And if so, why do the instructions tell me to point it to that other directory? If not, what am I doing wrong that the sources are in the wrong place?
Reply
#2
1.) make sure you have kodi headers (/usr/include/kodi/) and KodiConfig.cmake. Look for a kodi-devel package or something to that end
2.) cd pvr.mythtv/build
3.) cmake ..
4.) make
5.) sudo make install
Reply
#3
(2017-04-04, 20:30)wsnipex Wrote: 1.) make sure you have kodi headers (/usr/include/kodi/) and KodiConfig.cmake. Look for a kodi-devel package or something to that end
2.) cd pvr.mythtv/build
3.) cmake ..
4.) make
5.) sudo make install

Ok. That is one thing I missed. I didn't have Kodi-devel installed. It is now. I have both /usr/include/kodi/ and KodiConfig.cmake. However, when I ran cmake .., it told me it's looking for KodiplatformConfig.cmake or Kodiplatform-config.cmake. I have neither of those. Can I change the config so it's looking for the file I've got?
Reply
#4
if you can't find a package for kodiplatform, compile it from source: https://github.com/xbmc/kodi-platform
This requires https://github.com/Pulse-Eight/platform/ in turn.
Reply
#5
There is another method to build pvr.mythtv which I use all the time on debian based systems.

Code:
# build pvr.mythtv without full kodi sources
# Notes These builds may not have full language translations
#       You need to rebuild manually if the source changes
git clone https://github.com/janbar/pvr.mythtv.git
cd pvr.mythtv
# For Krypton use devel-17, master use devel, Isengard use devel-16
git checkout devel-17

# To build/rebuild
# Note Kodi should have been started once to create ~/.kodi/addons/
cd pvr.mythtv
git clean -xfd
git reset --hard
git pull --rebase
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release    -DPACKAGE_ZIP=ON  ../
make
# The following creates a zip file
make package
# Now copy zip file to ~/.kodi/addons
cp addon-pvr.mythtv-<version>.zip ~/.kodi/addons/
#unzip using the -o option
# e.g unzip -o addon-pvr.mythtv-<version>.zip
Reply
#6
thats not really any different, only that you get a zip file instead of directly installing.
Reply



Logout Mark Read Team Forum Stats Members Help
Looking for help installing mythtv.pvr addon00