aboutsummaryrefslogtreecommitdiffstats
path: root/data/desktop/meson.build
blob: fce7eef8a19930fd3a18c57684af8aae28928b88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
install_data('ephoto.desktop',
             install_dir: join_paths(dir_data, 'applications'))
install_data('ephoto.png',
             install_dir: join_paths(dir_data, 'icons'))
host_os = host_machine.system()
if host_os == 'linux'
        if cc.has_header_symbol('features.h', '__UCLIBC__')
                host_os = 'linux-uclibc'
        elif cc.has_header_symbol('features.h', '__dietlibc__')
                host_os = 'linux-dietlibc'
        else
                host_os = 'linux-gnu'
        endif
endif
if (build_gadget == true)
        release = depe.get_pkgconfig_variable('release')
        module_arch = '@0@-@1@-@2@'.format(host_os, host_machine.cpu_family(), release)
        dir_gadgets = join_paths([dir_lib, 'enlightenment/gadgets', module_arch])
        install_data('slideshow.desktop',
                install_dir: join_paths([dir_gadgets, 'slideshow']))
endif