Skip to content

Commit

Permalink
meson: Replace deprecated source_root with project_source_root
Browse files Browse the repository at this point in the history
  • Loading branch information
ryonakano committed Sep 19, 2024
1 parent 875f043 commit e337ae0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ install_data(
i18n.merge_file(
input: meson.project_name() + '.desktop.in',
output: meson.project_name() + '.desktop',
po_dir: join_paths(meson.source_root(), 'po', 'extra'),
po_dir: join_paths(meson.project_source_root(), 'po', 'extra'),
type: 'desktop',
install: true,
install_dir: join_paths(get_option('datadir'), 'applications')
Expand All @@ -28,7 +28,7 @@ i18n.merge_file(
i18n.merge_file(
input: meson.project_name() + '.appdata.xml.in',
output: meson.project_name() + '.appdata.xml',
po_dir: join_paths(meson.source_root(), 'po', 'extra'),
po_dir: join_paths(meson.project_source_root(), 'po', 'extra'),
install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo')
)
2 changes: 1 addition & 1 deletion po/extra/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
i18n.gettext('extra',
args: ['--directory='+meson.source_root(), '--from-code=UTF-8'],
args: ['--directory='+meson.project_source_root(), '--from-code=UTF-8'],
install: false
)
2 changes: 1 addition & 1 deletion po/meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
i18n.gettext(meson.project_name(),
args: ['--directory='+meson.source_root(), '--from-code=UTF-8']
args: ['--directory='+meson.project_source_root(), '--from-code=UTF-8']
)

subdir('extra')

0 comments on commit e337ae0

Please sign in to comment.