Skip to content

Commit a1f1e6a

Browse files
committed
Add desktop configuration data
1 parent e06627f commit a1f1e6a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Diff for: data/meson.build

+5-3
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@ i18n.merge_file(
2020
install_dir: get_option('datadir') / 'metainfo'
2121
)
2222

23-
desktop_in = configure_file(
23+
desktop_conf = configuration_data()
24+
desktop_conf.set('EXEC_NAME', meson.project_name())
25+
desktop_file_in = configure_file(
2426
input: meson.project_name() + '.desktop.in.in',
2527
output: meson.project_name() + '.desktop.in',
26-
configuration: conf_data
28+
configuration: desktop_conf
2729
)
2830

2931
i18n.merge_file(
30-
input: desktop_in,
32+
input: desktop_file_in,
3133
output: meson.project_name() + '.desktop',
3234
po_dir: meson.project_source_root() / 'po' / 'extra',
3335
type: 'desktop',

0 commit comments

Comments
 (0)