Skip to content

Commit

Permalink
meson: Use gnome module instead of Python script
Browse files Browse the repository at this point in the history
  • Loading branch information
ryonakano committed Sep 19, 2024
1 parent 875f043 commit 8b64dc3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 20 deletions.
11 changes: 8 additions & 3 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
project('com.github.dahenson.agenda', ['vala', 'c'],
version: '1.2.0'
version: '1.2.0',
meson_version: '>= 0.59.0'
)

gnome = import('gnome')
Expand Down Expand Up @@ -64,10 +65,14 @@ executable(
vala_args: vala_args,
c_args: c_args,
dependencies: agenda_deps,
install : true
install: true
)

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

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

This file was deleted.

0 comments on commit 8b64dc3

Please sign in to comment.