Skip to content

Commit

Permalink
Update meson.build to use meson.project_source_root() for po_dir and …
Browse files Browse the repository at this point in the history
…fix formatting issues
  • Loading branch information
lainsce committed Sep 10, 2024
1 parent 8bfc9e1 commit 4b94ce5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ desktop_file = i18n.merge_file(
},
),
output: meson.project_name() + '.desktop',
po_dir: meson.source_root() / 'po',
po_dir: meson.project_source_root() / 'po',
type: 'desktop',
install: true,
install_dir: get_option('datadir') / 'applications',
Expand All @@ -46,7 +46,7 @@ appstream_file = i18n.merge_file(
},
),
output: meson.project_name() + '.appdata.xml',
po_dir: meson.source_root() / 'po',
po_dir: meson.project_source_root() / 'po',
install: true,
install_dir: get_option('datadir') / 'metainfo',
)
Expand Down Expand Up @@ -106,7 +106,6 @@ gresources = gnome.compile_resources(
)

add_project_arguments(
'--gresourcesdir',
meson.current_build_dir(),
'--gresourcesdir', meson.current_build_dir(),
language: ['vala'],
)
)

0 comments on commit 4b94ce5

Please sign in to comment.