Skip to content

djoos-cookbooks/mplayer

Repository files navigation

Build Status

Description

This cookbook provides an easy way to install MPlayer, the movie player.

More information? http://www.mplayerhq.hu

Requirements

Cookbooks:

  • build-essential

Platforms:

  • Ubuntu
  • Debian

Attributes

  • node['mplayer']['install_method'] - Installation method, ':source' or ':package' - default ':source'
  • node['mplayer']['prefix'] - Location prefix of where the installation files will go if installing via ':source'
  • node['mplayer']['svn_repository'] - Location of the source subversion repository if installing via ':source'
  • node['mplayer']['svn_revision'] - Revision of the subversion repository to install if installing via ':source'
  • node['mplayer']['compile_flags'] - Array of flags to use in compilation process if installing via ':source'

Usage

  1. include recipe[mplayer] in a run list
  2. tweak the attributes via attributes/default.rb --- OR --- override the attribute on a higher level (http://wiki.opscode.com/display/chef/Attributes#Attributes-AttributesPrecedence)

References

Changelog

0.0.5

* bugfix - delete creates immediately

0.0.4

* only run compilation when creates file is not present
* delete creates file when new source is available and/or compile flags have changed
* make use of subversion cookbook
* make use of yasm cookbook

0.0.3

* additional prefix-attribute
* don't run compilation more than necessary
* upgrade subversion & yasm package

0.0.2

* install YASM package

License and Authors

Author: David Joos [email protected] Author: Escape Studios Development [email protected] Copyright: 2012-2014, Escape Studios

Unless otherwise noted, all files are released under the MIT license, possible exceptions will contain licensing information in them.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.