forked from elementary/wallpapers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
35 lines (29 loc) · 832 Bytes
/
meson.build
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
project(
'io.elementary.wallpapers',
version: '7.0.0'
)
i18n = import('i18n')
symlink = meson.current_source_dir() / 'meson' / 'symlink.py'
default_wallpaper = 'Photo of Valley.jpg'
if get_option('early_access')
rsvg = find_program('rsvg-convert')
run_command(
rsvg, '--format', 'png',
'--width=5000', '--height=2813',
'--output', meson.source_root() / 'backgrounds' / 'Early Access.png',
'early_access.svg',
check: true
)
default_wallpaper = 'Early Access.png'
endif
install_subdir(
'backgrounds',
install_dir: get_option('datadir')
)
meson.add_install_script(
symlink,
'--src', get_option('datadir') / 'backgrounds' / default_wallpaper,
'--dest', get_option('datadir') / 'backgrounds' / 'elementaryos-default'
)
subdir('data')
subdir('po')