meson.build 478 Bytes
Newer Older
Bob Ham's avatar
Bob Ham committed
1
2
datadir = get_option('datadir')

3
# Desktop file
Bob Ham's avatar
Bob Ham committed
4
5
6
install_data('sm.puri.Calls.desktop',
             install_dir : join_paths(datadir, 'applications'))

7
8
9
10
11
12
13
14
desktop_utils = find_program('desktop-file-validate', required: false)
if desktop_utils.found()
    test('Validate desktop file', desktop_utils,
        args: ['sm.puri.Calls.desktop']
    )
endif

# Icons
Bob Ham's avatar
Bob Ham committed
15
16
install_data('sm.puri.Calls.png',
             install_dir : join_paths(datadir, 'icons', 'hicolor', '256x256', 'apps'))