Skip to content

Commit 4b94ce5

Browse files
committed
Update meson.build to use meson.project_source_root() for po_dir and fix formatting issues
1 parent 8bfc9e1 commit 4b94ce5

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

data/meson.build

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ desktop_file = i18n.merge_file(
2020
},
2121
),
2222
output: meson.project_name() + '.desktop',
23-
po_dir: meson.source_root() / 'po',
23+
po_dir: meson.project_source_root() / 'po',
2424
type: 'desktop',
2525
install: true,
2626
install_dir: get_option('datadir') / 'applications',
@@ -46,7 +46,7 @@ appstream_file = i18n.merge_file(
4646
},
4747
),
4848
output: meson.project_name() + '.appdata.xml',
49-
po_dir: meson.source_root() / 'po',
49+
po_dir: meson.project_source_root() / 'po',
5050
install: true,
5151
install_dir: get_option('datadir') / 'metainfo',
5252
)
@@ -106,7 +106,6 @@ gresources = gnome.compile_resources(
106106
)
107107

108108
add_project_arguments(
109-
'--gresourcesdir',
110-
meson.current_build_dir(),
109+
'--gresourcesdir', meson.current_build_dir(),
111110
language: ['vala'],
112-
)
111+
)

0 commit comments

Comments
 (0)