MythTV PVR/BuildFromSource: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Cfetzer
>Cfetzer
Line 78: Line 78:
<pre>cd xbmc-pvr-addons
<pre>cd xbmc-pvr-addons
./bootstrap
./bootstrap
./configure
./configure --enable-addons-with-dependencies
make zip</pre>
make zip</pre>


* Install addon '''pvr.mythtv.cmyth''' with '''XBMC''' ''frodo (nightly build)''
* Install addon '''pvr.mythtv.cmyth''' with '''XBMC''' ''frodo (nightly build)''
Get it from ''src/xbmc-pvr-addons/addons/pvr.mythtv.cmyth-darwin-unknown.zip'' and upload it with '''XBMC''' as zip file.
Get it from ''src/xbmc-pvr-addons/addons/pvr.mythtv.cmyth-darwin-unknown.zip'' and upload it with '''XBMC''' as zip file.

Revision as of 11:16, 28 October 2012

Build MythTV addon on Ubuntu 12.04 (Precise)

  • Add repository for xbmc nightly builds

sudo add-apt-repository ppa:nathan-renniewaldock/xbmc-nightly sudo apt-get update sudo apt-get upgrade

  • reboot may or may not be necessary

sudo reboot

  • Install build utilities/libraries
sudo apt-get install ubuntu-restricted-extras autoconf git
sudo apt-get install build-essential automake checkinstall
sudo apt-get install autoconf automake bison flex libtool intltool 
sudo apt-get install libmysqlclient-dev libboost-filesystem-dev
  • Install xbmc from nightly builds

sudo apt-get install xbmc

  • Create zip file for xbmc mythtv addon
mkdir source
cd source
git clone git://github.com/fetzerch/xbmc-pvr-addons.git
cd xbmc-pvr-addons
./bootstrap
./configure --enable-addons-with-dependencies
make zip
  • Put the addon in a handy location

cp addons/pvr.mythtv.cmyth-linux-x86_64.zip $HOME

  • Start XBMC, add the addon using the zip file, then finally enable Live TV using the mythtv addon above.

Build MythTV addon on OSX

Snow leopard: Xcode 3.2.6
Lion: Xcode 4.3
Mountain Lion: Xcode 4.4
Prefer Mac OS X Package (.pkg) installer specific for your Mac (Mountain Lion, Lion, Snow Leopard)
  • Configure macports using Terminal console
sudo port selfupdate

Here sudo need your favorite password.

  • Install required tools to build addons using macports.
sudo port install automake autoconf libtool pkgconfig
  • Install boost headers.
sudo port install boost
sudo ln -s /opt/local/include/boost /usr/local/include/boost
  • Install mysql-connector-c
cd ; mkdir src ; cd src

curl -L http://mirror.cogentco.com/pub/mysql/Connector-C/mysql-connector-c-6.0.2-osx10.5-x86-64bit.tar.gz \
  -o mysql-connector-c-6.0.2-osx10.5-x86-64bit.tar.gz

tar xvfz mysql-connector-c-6.0.2-osx10.5-x86-64bit.tar.gz

cd mysql-connector-c-6.0.2-osx10.5-x86-64bit

sudo cp bin/* /usr/local/bin/
sudo cp lib/* /usr/local/lib/
sudo mkdir /usr/local/include/mysql
sudo cp -R include/ /usr/local/include/mysql/

cd
  • Download xbmc-pvr-addons source from git repository (fetzerch)
cd src
git clone git://github.com/fetzerch/xbmc-pvr-addons.git
  • Build it
cd xbmc-pvr-addons
./bootstrap
./configure --enable-addons-with-dependencies
make zip
  • Install addon pvr.mythtv.cmyth with XBMC frodo (nightly build)

Get it from src/xbmc-pvr-addons/addons/pvr.mythtv.cmyth-darwin-unknown.zip and upload it with XBMC as zip file.