MythTV PVR/BuildFromSource: Difference between revisions
Jump to navigation
Jump to search
>Cfetzer |
>Fiveisalive m (fix formatting of code) |
||
Line 2: | Line 2: | ||
* Add repository for xbmc nightly builds | * Add repository for xbmc nightly builds | ||
<pre> | |||
sudo add-apt-repository ppa:nathan-renniewaldock/xbmc-nightly | sudo add-apt-repository ppa:nathan-renniewaldock/xbmc-nightly | ||
sudo apt-get update | sudo apt-get update | ||
Line 7: | Line 8: | ||
</pre> | </pre> | ||
* reboot may or may not be necessary | * reboot may or may not be necessary | ||
sudo reboot | <pre>sudo reboot</pre> | ||
* Install build utilities/libraries | * Install build utilities/libraries | ||
Line 17: | Line 18: | ||
</pre> | </pre> | ||
* Install xbmc from nightly builds | * Install xbmc from nightly builds | ||
sudo apt-get install xbmc | <pre>sudo apt-get install xbmc</pre> | ||
* Create zip file for xbmc mythtv addon | * Create zip file for xbmc mythtv addon | ||
Line 31: | Line 32: | ||
* Put the addon in a handy location | * Put the addon in a handy location | ||
<pre> | |||
cp addons/pvr.mythtv.cmyth-linux-x86_64.zip $HOME | cp addons/pvr.mythtv.cmyth-linux-x86_64.zip $HOME | ||
</pre> | |||
* Start XBMC, add the addon using the zip file, then finally enable Live TV using the mythtv addon above. | * Start XBMC, add the addon using the zip file, then finally enable Live TV using the mythtv addon above. |
Revision as of 16:06, 2 November 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
- Install Xcode for your Mac. Go to http://connect.apple.com/
- Snow leopard: Xcode 3.2.6
- Lion: Xcode 4.3
- Mountain Lion: Xcode 4.4
- Install macports. Go to http://http://www.macports.org/install.php
- 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.