Skip to content

Commit

Permalink
Meson: use gnome.post_install (#188)
Browse files Browse the repository at this point in the history
Co-authored-by: Gustavo Marques <[email protected]>
  • Loading branch information
danirabbit and Marukesu authored Nov 11, 2023
1 parent 80335a7 commit 0125900
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(
'dock-resources',
'dock.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.dock',
'vala', 'c',
version: '1.0.0'
version: '1.0.0',
meson_version: '>=0.57'
)

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

add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name()), language:'c')
Expand All @@ -24,7 +26,7 @@ dependencies = [
granite_dep
]

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

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

This file was deleted.

0 comments on commit 0125900

Please sign in to comment.