diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2018-01-27 08:41:56 +0100 |
---|---|---|
committer | Iñigo Martínez <inigomartinez@gmail.com> | 2018-01-30 13:15:45 +0100 |
commit | 68b7fccda89a5318f9219a6f80736340756d9862 (patch) | |
tree | ddc4d76111bf7878b2a80ca134e78a97d619a672 | |
parent | b4854a80a96311fc47f64a41b32a3fe01ad1afec (diff) | |
download | libgnome-volume-control-68b7fccda89a5318f9219a6f80736340756d9862.tar.gz |
build: Remove dependencies' variables
A set of different variables are used to hold dependencies. However,
no individual use of them is done.
This patch removes these variables and holds their objects directly
in the array of dependencies.
https://bugzilla.gnome.org/show_bug.cgi?id=792948
-rw-r--r-- | meson.build | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/meson.build b/meson.build index 8bae82b..adfa85f 100644 --- a/meson.build +++ b/meson.build @@ -12,11 +12,6 @@ gnome = import('gnome') pkglibdir = get_option('pkglibdir') pkgdatadir = get_option('pkgdatadir') -gio = dependency('gio-2.0') -gobject = dependency('gobject-2.0') -libpulse = dependency('libpulse', version: '>= 2.0') -libpulse_glib = dependency('libpulse-mainloop-glib') - cdata = configuration_data() cdata.set_quoted('GETTEXT_PACKAGE', get_option('package_name')) cdata.set_quoted('PACKAGE_VERSION', get_option('package_version')) @@ -55,10 +50,10 @@ libgvc_no_gir_sources = [ ] libgvc_deps = [ - gio, - gobject, - libpulse, - libpulse_glib + dependency('gio-2.0'), + dependency('gobject-2.0'), + dependency('libpulse', version: '>= 2.0'), + dependency('libpulse-mainloop-glib') ] enable_alsa = get_option('alsa') |