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 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
|
################################################################################
dataConf = configuration_data()
dataConf.set('VERSION', meson.project_version())
desktopFiles = [
configure_file(
input : 'nemo-autorun-software.desktop.in',
output: 'nemo-autorun-software.desktop',
configuration: dataConf,
),
configure_file(
input : 'nemo-autostart.desktop.in',
output: 'nemo-autostart.desktop',
configuration: dataConf,
),
configure_file(
input : 'nemo.desktop.in',
output: 'nemo.desktop',
configuration: dataConf,
)
]
install_data(desktopFiles,
install_dir: join_paths(get_option('datadir'), 'applications')
)
################################################################################
dataConf = configuration_data()
dataConf.set('bindir', join_paths(get_option('prefix'), get_option('bindir')))
dbusFiles = [
configure_file(
input : 'nemo.service.in',
output: 'nemo.service',
configuration: dataConf,
),
configure_file(
input : 'nemo.FileManager1.service.in',
output: 'nemo.FileManager1.service',
configuration: dataConf,
),
]
install_data(dbusFiles,
install_dir: join_paths(get_option('datadir'), 'dbus-1', 'services')
)
################################################################################
mimeFile_translated = custom_target('nemo.xml',
input : ['nemo.xml.in'],
output: 'nemo.xml',
command: ['intltool-merge',
'--quiet',
'--xml-style',
'--utf8',
po_subdir, '@INPUT@', '@OUTPUT@'
],
install: true,
install_dir: join_paths(get_option('datadir'), 'mime', 'packages'),
build_by_default: true,
)
################################################################################
dataConf = configuration_data()
dataConf.set('bindir', join_paths(get_option('prefix'), get_option('bindir')))
rootPolicyFile = configure_file(
input : 'org.nemo.root.policy.in',
output: 'org.nemo.root.policy',
configuration: dataConf,
)
install_data(rootPolicyFile,
install_dir: join_paths(get_option('datadir'), 'polkit-1', 'actions')
)
foreach lang_file: ['nemo_action.lang', 'nemo_search_helper.lang']
foreach sv_dir: ['gtksourceview-2.0', 'gtksourceview-3.0', 'gtksourceview-4']
install_data(lang_file,
install_dir: join_paths(get_option('datadir'), sv_dir, 'language-specs')
)
endforeach
endforeach
################################################################################
subdir('icons')
|