packages/spice-gtk/remove-gobject-introspection-dep.patch

26 lines
1011 B
Diff

From 3bd8aac326714ed3641a66793b69d9355818df1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor@gmail.com>
Date: Tue, 7 Mar 2023 14:00:25 +0000
Subject: [PATCH] Remove dependency on gobject-introspection-1.0
The library and header files of gobject-introspection-1.0 are not used by spice-gtk itself. Only the 'g-ir-scanner' and 'g-ir-compiler' tools are used during the build. Adding it as dependency to library and pkgconfig file is not needed.
---
meson.build | 1 -
1 file changed, 1 deletion(-)
diff --git a/meson.build b/meson.build
index 341f5fb5..44017e55 100644
--- a/meson.build
+++ b/meson.build
@@ -345,7 +345,6 @@ summary_info += {'coroutine': spice_gtk_coroutine}
spice_gtk_has_introspection = false
d = dependency('gobject-introspection-1.0', version : '>= 0.94', required : get_option('introspection'))
if d.found()
- spice_glib_deps += d
spice_gtk_has_introspection = true
endif
summary_info += {'introspection': spice_gtk_has_introspection}
--
GitLab