Commit 9be1e735 authored by Guido Gunther's avatar Guido Gunther

build: move glib/gio dependency to toplevel meson file

This and asigining it to variables makes it simpler for
other meson files to use.
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent b3c850b1
......@@ -99,6 +99,9 @@ configure_file(
gnome = import('gnome')
i18n = import('i18n')
gio_dep = dependency('gio-2.0', version: '>=2.56')
gio_unix_dep = dependency('gio-unix-2.0', version: '>=2.50.0')
glib_dep = dependency('glib-2.0', version: '>=2.50.0')
libgvc = subproject('gvc',
default_options: [
'package_name=' + meson.project_name(),
......
......@@ -121,9 +121,9 @@ phosh_sources = [
phosh_deps = [
dependency('gcr-3', version: '>= 3.7.5'),
dependency('gio-2.0', version: '>=2.56'),
dependency('gio-unix-2.0', version: '>=2.50.0'),
dependency('glib-2.0', version: '>=2.50.0'),
gio_dep,
gio_unix_dep,
glib_dep,
dependency('gnome-desktop-3.0', version: '>=3.26'),
dependency('gobject-2.0', version: '>=2.50.0'),
dependency('gtk+-3.0', version: '>=3.22'),
......
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