summaryrefslogtreecommitdiff
path: root/backgrounds/meson.build
blob: 5941c419a83ebc7a4a4e6729e8f7930f69e01482 (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
dataconf = configuration_data()
dataconf.set('BACKGROUNDDIR', backgrounddir)
dataconf.set('datadir', datadir)

backgrounds = [
  'adwaita-d.jpg',
  'adwaita-l.jpg',
  'brush-strokes-d.jpg',
  'brush-strokes-l.jpg',
  'drool-d.svg',
  'drool-l.svg',
  'dune-d.svg',
  'dune-l.svg',
  'field-d.svg',
  'field-l.svg',
  'libadwaita-d.jpg',
  'libadwaita-l.jpg',  
  'pixels-d.png',
  'pixels-l.png',
  'symbolics-d.png',
  'symbolics-l.png',
  'truchet-d.jpg',
  'truchet-l.jpg',
  'vnc-d.png',
  'vnc-l.png',
  'wood-d.jpg',
  'wood-l.jpg'
]

install_data(backgrounds, install_dir: backgrounddir)

foreach metadata : [
  'adwaita.xml',
  'brush-strokes.xml',
  'disco.xml',
  'drool.xml',
  'dune.xml',
  'libadwaita.xml',
  'pixels.xml',
  'symbolics.xml',
  'truchet.xml',
  'vnc.xml',
  'wood.xml']
  configure_file(
    input: metadata + '.in',
    output: metadata,
    configuration: dataconf,
    install: true,
    install_dir: metadatadir
  )
endforeach