[Spice-commits] meson.build

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Apr 25 16:53:40 UTC 2020


 meson.build |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b06bb9f79abc358bd407d139835b3cc943fda802
Author: Laurent Bigonville <bigon at bigon.be>
Date:   Sat Apr 25 14:51:53 2020 +0200

    build: Properly add the pkg-config modules needed by the public headers
    
    Fixes: https://gitlab.freedesktop.org/spice/spice-gtk/-/issues/124
    
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/meson.build b/meson.build
index 91501e5..7cb9bdc 100644
--- a/meson.build
+++ b/meson.build
@@ -392,7 +392,7 @@ pkgconfig = import('pkgconfig')
 pkgconfig.generate(spice_client_glib_lib,
                    description : 'SPICE Client GLib 2.0 library',
                    subdirs : 'spice-client-glib-2.0',
-                   requires : 'spice-protocol',
+                   requires : ['spice-protocol', 'glib-2.0', 'gobject-2.0', 'gio-2.0'],
                    variables : 'exec_prefix=${prefix}')
 
 #
@@ -402,6 +402,6 @@ if spice_gtk_has_gtk
   pkgconfig.generate(spice_client_gtk_lib,
                      description : 'SPICE Client Gtk 3.0 library',
                      subdirs : 'spice-client-gtk-3.0',
-                     requires : 'spice-client-glib-2.0 gtk+-3.0 >= @0@'.format(gtk_version_required),
+                     requires : ['spice-client-glib-2.0', 'gtk+-3.0', 'glib-2.0', 'gobject-2.0'],
                      variables : 'exec_prefix=${prefix}')
 endif


More information about the Spice-commits mailing list