aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/utils/multimedia.pp
blob: 03675ef4dce4895a9db8a5b64b116a5766269b66 (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
# 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',         'gstreamer-tools',     'vlc',             'audacity',
              'opencubicplayer', 'moc',                 'cmus',            'youtube-dl',
              'cbrpager',        'llgal',               'darksnow',        'mplayer',
              'picard',          'ffmpeg2theora',       'oggfwd',          'libasound2-plugins',
              'mencoder',        'v4l-utils' ]:
    ensure => installed,
  }

  # Old stuff
  package { 'flashplugin-nonfree',
    ensure => absent,
  }

  # Squeeze only
  package { [ 'tucan', 'orpheus' ]:
    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'],
  }
}