Skip to content

Commit

Permalink
Meson: use gnome.post_install to compile schemas (#248)
Browse files Browse the repository at this point in the history
* Meson: use gnome.post_install to compile schemas

* Delete meson directory

* Update meson.build
  • Loading branch information
danirabbit authored Aug 5, 2023
1 parent 2ef6631 commit a903bf9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
6 changes: 4 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
project(
'power',
'vala', 'c',
version: '6.2.0'
version: '6.2.0',
meson_version: '>=0.57.0'
)

gettext_name = meson.project_name() + '-indicator'
gnome = import('gnome')
i18n = import('i18n')

prefix = get_option('prefix')
Expand All @@ -20,4 +22,4 @@ subdir('data')
subdir('po')
subdir('src')

meson.add_install_script('meson/post_install.py')
gnome.post_install(glib_compile_schemas: true)
10 changes: 0 additions & 10 deletions meson/post_install.py

This file was deleted.

0 comments on commit a903bf9

Please sign in to comment.