[Spice-devel] [PATCH spice-gtk 16/34] meson: switch pulse option to auto feature
Marc-André Lureau
marcandre.lureau at gmail.com
Mon Jan 7 19:02:04 UTC 2019
Hi
On Mon, Jan 7, 2019 at 6:15 PM Christophe Fergeau <cfergeau at redhat.com> wrote:
>
> On Mon, Jan 07, 2019 at 12:00:45PM +0400, marcandre.lureau at redhat.com wrote:
> > From: Marc-André Lureau <marcandre.lureau at redhat.com>
> >
> > Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
> > ---
> > .gitlab-ci.yml | 1 -
> > meson.build | 8 +++-----
> > meson_options.txt | 3 +--
> > 3 files changed, 4 insertions(+), 8 deletions(-)
> >
> > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
> > index e913da4..fabe29e 100644
> > --- a/.gitlab-ci.yml
> > +++ b/.gitlab-ci.yml
> > @@ -47,7 +47,6 @@ makecheck_simple-meson:
> > - meson build -Dauto_features=disabled
> > -Dlz4=false
> > -Dsasl=false
> > - -Dpulse=false
> > -Dsmartcard=false
> > -Dusbredir=false
> > -Ddbus=false || (cat build/meson-logs/meson-log.txt && exit 1)
> > diff --git a/meson.build b/meson.build
> > index 9bb56c3..69f7e1f 100644
> > --- a/meson.build
> > +++ b/meson.build
> > @@ -154,11 +154,9 @@ endif
> >
> > # pulse
> > spice_gtk_has_pulse = false
> > -if get_option('pulse')
> > - deps = ['libpulse', 'libpulse-mainloop-glib']
> > - foreach dep : deps
> > - spice_glib_deps += dependency(dep)
> > - endforeach
> > +d = dependency('libpulse-mainloop-glib', required: get_option('pulse'))
>
> There were 2 deps, one for 'libpulse' the other for
> 'libpulse-mainloop-glib', did you intentionally drop one?
Yes, libpulse-mainloop-glib depends on libpulse.
Checking for both dependency with meson is unfortunately unnecessarily
complicated.
Ack with commit message updated?
thanks
>
> Christophe
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
--
Marc-André Lureau
More information about the Spice-devel
mailing list