2014-09-14, 12:28
(2014-09-13, 10:10)nickr Wrote: Hey janbar, can you point me to a post or howto on getting this addon going for openelec? I have been following this thread, but I can't find a simple answer (although there is a lot about raspberry pi).
I am happy to do some compiling. I have compiled openelec before.
@nickr
This is a hack but it works for me!
Just build it for raspbmc and copy the zip file to .xbmc/addons and unzip it.
I have just tried this on Openelec master (has kodi/helix/14) built from source with addon built separately from janbar master and on Openelec 4.0.7 rpi prebuilt distribution (has gotham 13.1) with janbar gotham addon again built separately.
Code:
# this works on unbuntu 12.04 and 14.04
sudo apt-get update
sudo apt-get install git automake libtool zip
# Now setup the toochain to allow cross compile for pi processor arm
cd ~
git clone https://github.com/raspberrypi/tools.git --depth 1
# put the following line in your .bashrc file at the end will do
export PATH=~/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin:$PATH
# reload .bashrc
source ~/.bashrc
# use gotham branch unless you need master (for kodi/Helix 14)
git clone https://github.com/janbar/xbmc-pvr-addons.git --depth 1
# get xbmc-pvr-addons from git - using gotham branch only
git clone https://github.com/janbar/xbmc-pvr-addons.git -b gotham --depth 1
#Now build the mythtv pvr addon
cd xbmc-pvr-addons
./bootstrap
./configure --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
make -C lib/cppmyth
make clean zip -C addons/pvr.mythtv
#Now transfer the addon pvr.mythtv-linux-arm.zip to the Raspberry pi and unzip in .xmbc/addons, I used gftp.
Mike