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
|
dataconf = configuration_data()
dataconf.set('BACKGROUNDDIR', backgrounddir)
dataconf.set('datadir', datadir)
backgrounds = [
'adwaita-d.jpg',
'adwaita-l.jpg',
'blobs-d.svg',
'blobs-l.svg',
'brush-strokes-d.jpg',
'brush-strokes-l.jpg',
'disco-d.jpg',
'disco-l.jpg',
'drool-d.svg',
'drool-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 : ['gnome-backgrounds.xml', 'adwaita.xml']
configure_file(
input: metadata + '.in',
output: metadata,
configuration: dataconf,
install: true,
install_dir: metadatadir
)
endforeach
|