mxcl/homebrew — pull request #11949 by digitalpardoe (2012-04-29 18:21:41+00:00)
Title: Updated MediaTomb Formula For A Complete Installation (New)

New pull request for (accidentally) closed #9364.

**Original message:**

This update to the MediaTomb formula includes fiorix's patches for libav (which I had to merge to allow me to compile MediaTomb in the first place), it also expands the formula to include the necessary dependencies that make MediaTomb useful (such as ffmpegx and libexif).

In addition to these rudimentary additions it also bundles up an internal & legacy copy of SpiderMonkey 1.7.0 as MediaTomb can't be compiled against the latest SpiderMonkey (0.8.5) build. SpiderMonkey is required to be able to create custom import scripts and playlists for MediaTomb as is generally considered a recommended library to compile against.

The new formula also includes options dependencies for Last.fm and video thumbnail support.

In theory the formula with these changes should be able to provide a 'complete' MediaTomb installation.

The formula as it stands is not pretty because of the SpiderMonkey dependency, there didn't seem to be many suitable solutions however as Homebrew does not yet support versioned dependencies.