Skip to content

Commit

Permalink
Meson: use gnome.post_install to compile schemas (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored Aug 3, 2023
1 parent 02d5a11 commit 3b7812e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
1 change: 0 additions & 1 deletion data/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
gnome = import('gnome')
gresource = gnome.compile_resources(
'music-resources',
'music.gresource.xml',
Expand Down
6 changes: 4 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
project(
'io.elementary.music',
'vala', 'c',
version: '7.1.0'
version: '7.1.0',
meson_version: '>=0.58.0'
)

gnome = import('gnome')
i18n = import('i18n')

add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name()), language:'c')
Expand Down Expand Up @@ -31,7 +33,7 @@ dependencies = [
gtk_dep
]

meson.add_install_script('meson/post_install.py')
gnome.post_install(glib_compile_schemas: true)

subdir('data')
subdir('po')
Expand Down
10 changes: 0 additions & 10 deletions meson/post_install.py

This file was deleted.

0 comments on commit 3b7812e

Please sign in to comment.