build: Drop meson version check
We require meson 1.0 anyway Signed-off-by: Guido Günther <agx@sigxcpu.org> Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/778>
This commit is contained in:
@@ -165,13 +165,8 @@ subdir('plugins')
|
|||||||
subdir('tests')
|
subdir('tests')
|
||||||
subdir('doc')
|
subdir('doc')
|
||||||
|
|
||||||
# gnome.post_install() is available since meson 0.59.0
|
gnome.post_install(
|
||||||
# Distributions use their own tooling (e.g. postinst, triggers, etc)
|
|
||||||
# so it is okay if the post_install() is not run on distro builds
|
|
||||||
if meson.version().version_compare('>=0.59.0')
|
|
||||||
gnome.post_install(
|
|
||||||
glib_compile_schemas: true,
|
glib_compile_schemas: true,
|
||||||
gtk_update_icon_cache: true,
|
gtk_update_icon_cache: true,
|
||||||
update_desktop_database: true,
|
update_desktop_database: true,
|
||||||
)
|
)
|
||||||
endif
|
|
||||||
|
|||||||
Reference in New Issue
Block a user