On Mon, Jan 07, 2019 at 11:02:04PM +0400, Marc-André Lureau wrote: > Hi > > On Mon, Jan 7, 2019 at 6:15 PM Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote: > > > > On Mon, Jan 07, 2019 at 12:00:45PM +0400, marcandre.lureau@xxxxxxxxxx wrote: > > > From: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx> > > > > > > Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxxx> > > > --- > > > .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? Ok. Christophe
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel