mirror of
https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
synced 2024-11-21 08:20:40 -05:00
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
This commit is contained in:
parent
b4854a80a9
commit
68b7fccda8
13
meson.build
13
meson.build
@ -12,11 +12,6 @@ gnome = import('gnome')
|
|||||||
pkglibdir = get_option('pkglibdir')
|
pkglibdir = get_option('pkglibdir')
|
||||||
pkgdatadir = get_option('pkgdatadir')
|
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 = configuration_data()
|
||||||
cdata.set_quoted('GETTEXT_PACKAGE', get_option('package_name'))
|
cdata.set_quoted('GETTEXT_PACKAGE', get_option('package_name'))
|
||||||
cdata.set_quoted('PACKAGE_VERSION', get_option('package_version'))
|
cdata.set_quoted('PACKAGE_VERSION', get_option('package_version'))
|
||||||
@ -55,10 +50,10 @@ libgvc_no_gir_sources = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
libgvc_deps = [
|
libgvc_deps = [
|
||||||
gio,
|
dependency('gio-2.0'),
|
||||||
gobject,
|
dependency('gobject-2.0'),
|
||||||
libpulse,
|
dependency('libpulse', version: '>= 2.0'),
|
||||||
libpulse_glib
|
dependency('libpulse-mainloop-glib')
|
||||||
]
|
]
|
||||||
|
|
||||||
enable_alsa = get_option('alsa')
|
enable_alsa = get_option('alsa')
|
||||||
|
Loading…
Reference in New Issue
Block a user