Skip to content

Commit

Permalink
Merge pull request #160 from ryonakano/use-gnome-module
Browse files Browse the repository at this point in the history
meson: Use gnome module instead of Python script
  • Loading branch information
be1 authored Sep 23, 2024
2 parents 7208ec2 + 8b64dc3 commit a000101
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 a000101

Please sign in to comment.