Commit 57ee486f authored by Martin Blanchard's avatar Martin Blanchard Committed by Sébastien Wilmet

build: Ensure of meson 0.49.0 support

Meson scripts are currently using 0.50.0 features but are only
requesting meson >= 0.46.0: fix dependency to 0.49.0 (like main
dependencies libpeas and gtksourceview).
parent d3b4565a
......@@ -20,6 +20,7 @@ appdata_file = i18n.merge_file(
'metainfo',
)
)
appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test(
......@@ -39,7 +40,6 @@ desktop_file_configured = configure_file(
input: 'org.gnome.gedit.desktop.in.in',
output: 'org.gnome.gedit.desktop.in',
configuration: desktop_in,
install: false,
)
desktop_file = i18n.merge_file(
......@@ -54,6 +54,7 @@ desktop_file = i18n.merge_file(
'applications',
)
)
desktop_file_validate = find_program('desktop-file-validate', required: false)
if desktop_file_validate.found()
test(
......@@ -80,7 +81,6 @@ configure_file(
input: 'org.gnome.gedit.gschema.xml.in',
output: 'org.gnome.gedit.gschema.xml',
configuration: gschema_xml,
install: true,
install_dir: join_paths(
glibdir,
'schemas',
......@@ -94,7 +94,6 @@ configure_file(
input: 'org.gnome.gedit.service.in',
output: 'org.gnome.gedit.service',
configuration: service_in,
install: true,
install_dir: join_paths(
dbusdir,
'services',
......
project(
'gedit', 'c',
version: '3.34.0',
meson_version: '>=0.46.0',
meson_version: '>=0.49.0',
license: 'GPL2'
)
......
......@@ -29,7 +29,6 @@ configure_file(
input: 'org.gnome.gedit.plugins.checkupdate.gschema.xml.in',
output: 'org.gnome.gedit.plugins.checkupdate.gschema.xml',
configuration: gschema_xml,
install: true,
install_dir: join_paths(
glibdir,
'schemas',
......
......@@ -6,7 +6,6 @@ configure_file(
input: 'org.gnome.gedit.plugins.externaltools.gschema.xml.in',
output: 'org.gnome.gedit.plugins.externaltools.gschema.xml',
configuration: gschema_xml,
install: true,
install_dir: join_paths(
glibdir,
'schemas',
......
......@@ -105,7 +105,6 @@ configure_file(
input: 'org.gnome.gedit.plugins.filebrowser.gschema.xml.in',
output: 'org.gnome.gedit.plugins.filebrowser.gschema.xml',
configuration: gschema_xml,
install: true,
install_dir: join_paths(
glibdir,
'schemas',
......
......@@ -4,7 +4,6 @@ configure_file(
input: 'org.gnome.gedit.plugins.pythonconsole.gschema.xml.in',
output: 'org.gnome.gedit.plugins.pythonconsole.gschema.xml',
configuration: gschema_xml,
install: true,
install_dir: join_paths(
glibdir,
'schemas',
......
......@@ -32,7 +32,6 @@ configure_file(
input: 'org.gnome.gedit.plugins.spell.gschema.xml.in',
output: 'org.gnome.gedit.plugins.spell.gschema.xml',
configuration: gschema_xml,
install: true,
install_dir: join_paths(
glibdir,
'schemas',
......
......@@ -46,7 +46,6 @@ configure_file(
input: 'org.gnome.gedit.plugins.time.gschema.xml.in',
output: 'org.gnome.gedit.plugins.time.gschema.xml',
configuration: gschema_xml,
install: true,
install_dir: join_paths(
glibdir,
'schemas',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment