Skip to content

Commit

Permalink
fix: fix flatpak 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ppvan committed May 20, 2024
1 parent f6ecf6f commit ce29af2
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ ui_sources = files(
'ui/views/ConnectionView.vala',
'ui/views/SchemaView.vala',
'ui/widgets/BackupDialog.vala',
'ui/widgets/RestoreDialog.vala',
'ui/widgets/DataCell.vala',
'ui/widgets/RestoreDialog.vala',
'ui/widgets/Shape.vala',
'ui/widgets/StyleSwitcher.vala',
'ui/widgets/TableColumnInfo.vala',
Expand Down Expand Up @@ -104,7 +104,14 @@ psequel_deps = [
valac.find_library('config', dirs: vapi_dir),
]

add_project_arguments(['--target-glib=2.80', '--vapidir', vapi_dir, '--gresourcesdir', psequel_resources_dir], language: 'vala')
add_project_arguments(
[
'--target-glib=2.80',
'--vapidir', vapi_dir,
'--gresourcesdir', psequel_resources_dir,
],
language: 'vala',
)
add_project_arguments(
'-include', 'config.h',
'-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
Expand All @@ -131,5 +138,8 @@ executable(
app_name,
[psequel_resources, psequel_sources_main],
dependencies: psequel_deps,
vala_args: [
'--gresourcesdir=' + psequel_resources_dir,
],
install: true,
)

0 comments on commit ce29af2

Please sign in to comment.