| 201 DESKTOP_FILE = 'im.pidgin.Pidgin.desktop' |
201 DESKTOP_FILE = 'im.pidgin.Pidgin.desktop' |
| 202 desktop_file_in = configure_file( |
202 desktop_file_in = configure_file( |
| 203 input : 'data/' + DESKTOP_FILE + '.in.in', |
203 input : 'data/' + DESKTOP_FILE + '.in.in', |
| 204 output : DESKTOP_FILE + '.in', |
204 output : DESKTOP_FILE + '.in', |
| 205 configuration : conf) |
205 configuration : conf) |
| 206 desktop_file = custom_target(DESKTOP_FILE, |
206 desktop_file = i18n.merge_file( |
| 207 input : desktop_file_in, |
207 input : desktop_file_in, |
| 208 output : DESKTOP_FILE, |
208 output : DESKTOP_FILE, |
| 209 command : [intltool_merge, '--desktop-style', '-u', |
209 po_dir : meson.source_root() + '/po', |
| 210 '-c', '@BUILD_DIR@/po/.intltool-merge-cache', |
210 type : 'desktop', |
| 211 meson.source_root() + '/po', '@INPUT@', '@OUTPUT@'], |
|
| 212 install : true, |
211 install : true, |
| 213 install_dir : get_option('datadir') + '/applications') |
212 install_dir : get_option('datadir') + '/applications') |
| 214 |
213 |
| 215 appdata = custom_target('im.pidgin.Pidgin.appdata.xml', |
214 appdata = i18n.merge_file( |
| 216 input : 'data/im.pidgin.Pidgin.appdata.xml.in', |
215 input : 'data/im.pidgin.Pidgin.appdata.xml.in', |
| 217 output : 'im.pidgin.Pidgin.appdata.xml', |
216 output : 'im.pidgin.Pidgin.appdata.xml', |
| 218 command : [intltool_merge, '--xml-style', '-u', |
217 po_dir : meson.source_root() + '/po', |
| 219 '-c', '@BUILD_DIR@/po/.intltool-merge-cache', |
|
| 220 meson.source_root() + '/po', '@INPUT@', '@OUTPUT@'], |
|
| 221 install : true, |
218 install : true, |
| 222 install_dir : get_option('datadir') + '/metainfo') |
219 install_dir : get_option('datadir') + '/metainfo') |
| 223 endif # INSTALL_I18N |
220 endif # INSTALL_I18N |
| 224 |
221 |
| 225 if enable_introspection |
222 if enable_introspection |