aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/utils/multimedia.pp
blob: 83bd70ebd250e8b941cb1641de130f111c08461a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Multimedia utilities
class utils::multimedia::studio {
  package { [ 'ardour', 'hydrogen', ]:
    ensure => installed,
  }
}

class utils::multimedia::ripper {
  # CD writers and extractors
  package { [ 'ripit', 'asunder', 'wodim', 'genisoimage', 'dvd+rw-tools' ]:
    ensure => installed,
  }
}

class utils::multimedia {
  # Multimedia
  package { [ 'alsa-tools-gui',  'mp3blaster',          'alsa-utils',      'netpbm',
              'gqview',          'mpg123',              'audacious',       'qjackctl',
              'gimp',            'xine-ui',             'v4l-utils',       'inkscape',
              'easytag',         'gstreamer-tools',     'vlc',             'audacity',
              'opencubicplayer', 'youtube-dl',          'mencoder',        'libasound2-plugins',
              'cbrpager',        'llgal',               'darksnow',        'mplayer',
              'picard',          'ffmpeg2theora',       'oggfwd',          'jhead',
              'pavucontrol' ]:
    ensure => installed,
  }

  # Old stuff
  package { [ 'flashplugin-nonfree', 'amarok', 'moc', 'cmus' ]:
    ensure => purged,
  }

  # Squeeze only
  package { [ 'tucan', 'orpheus' ]:
    ensure => $::lsbdistcodename ? {
      'squeeze' => installed,
      default   => purged,
    }
  }

  # Wheezy onwards
  package { 'landell':
    ensure => $::lsbdistcodename ? {
      'squeeze' => absent,
      default   => installed,
    }
  }

  # Flash
  package { 'browser-plugin-gnash':
    ensure => installed,
  }

  # Flash alternative
  file { "/etc/alternatives/flash-mozilla.so":
    ensure  => "/usr/lib/gnash/libgnashplugin.so",
    owner   => root,
    group   => root,
    require => Package['flashplugin-nonfree'],
  }
}

class utils::multimedia::mediacenter {
  package { [ 'xbmc', 'upnp-inspector', 'gupnp-tools' ]:
    ensure => present,
  }
}