aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/utils/multimedia.pp
blob: 27e57ec1a68f2f3892dd76c59c9b6ab24dcb43d4 (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
# 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',
              'tucan',           'ffmpeg2theora',       'oggfwd',          'libasound2-plugins',
              'mencoder',        'v4l-utils',           'gstreamer-tools', 'youtube-dl' ]:
    ensure => installed,
  }

  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'],
  }
}