MythTV on Mac OSX build

From MythTV Official Wiki
Revision as of 23:06, 5 November 2010 by Bsutton (talk | contribs) (Created page with '== Building Automatically == The easiest way to build MythTV from source is to download the packager script. '''Stable release (recommended)''' Either http://svn.mythtv.org/s…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Building Automatically

The easiest way to build MythTV from source is to download the packager script.

Stable release (recommended) Either http://svn.mythtv.org/svn/branches/release-0-23.1/packaging/OSX/build/osx-packager.pl or

Development release http://svn.mythtv.org/svn/trunk/packaging/OSX/build/osx-packager.pl.

In order to run the build you will need the following:

  • Xcode for your OS X release
  • Firewire SDK (both from http://connect.apple.com/ )
  • pkg-config (??? Why ??? When did this become necessary?)
  • internet connection

The easiest way to obtain pkg-config is to first install MacPorts and then use MacPorts to install pkg-config run:

sudo port install pkgconfig

The package script downloads and builds all the dependencies, and if you are lucky gives you several double-clickable applications.

Note: for 10.6.x you need to edit the osx-package.pl file and do a search for 10.6 and follow the instructions.

Example, to build 0.23.1:

./osx-packager.pl -svnbranch release-0-23.1

You should end up with an application MythFrontend.app and MythAVTest.app

Building Manually

Sadly, the packager script doesn't always work. Maybe one of the downloadable dependencies has been outdated, and someone needs to try building against a newer one. Maybe the MythTV source code has changed and broken Mac builds. Look on the Myth_on_Mac_-_Build_status page for hints about this. For instructions about building by hand, see Building MythTV on Mac OS X

If you just want to watch TV on your Mac, and you aren't planning to do development, you're better off using a prebuilt binary.