aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/utils/multimedia.pp
blob: 246de7684f7a8d6aa2f373fe4d2932d06cc6a07f (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
# Multimedia utilities
class utils::multimedia::studio {
  package { [ 'ardour', 'hydrogen', ]:
    ensure => $::lsbdistcodename ? {
      'lenny' => absent,
      default => installed,
    }
  }

  # CD extractors
  package { [ 'ripit', 'asunder' ]:
    ensure => installed,
  }
}

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

  # Squeeze only
  package { 'tucan':
    ensure => $::lsbdistcodename ? {
      'squeeze' => installed,
      default   => absent,
    }
  }

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

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