mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-25 06:52:56 +02:00
25 lines
921 B
Diff
25 lines
921 B
Diff
From 0d734eb2314fc60deee59de5f1440617e04e5125 Mon Sep 17 00:00:00 2001
|
|
From: Nathan Owens <ndowens@artixlinux.org>
|
|
Date: Sun, 15 Nov 2020 10:25:30 -0600
|
|
Subject: [PATCH] no-gir-automatic
|
|
|
|
---
|
|
meson.build | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git meson.build meson.build
|
|
index 5ecce7f..98f8113 100644
|
|
--- meson.build
|
|
+++ meson.build
|
|
@@ -416,7 +416,7 @@ endif
|
|
|
|
gir = find_program('g-ir-scanner', required : get_option('introspection'))
|
|
gnome = import('gnome')
|
|
-build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection').enabled())
|
|
+build_gir = gir.found() or get_option('introspection').enabled()
|
|
gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \
|
|
'g_setenv("GST_REGISTRY_DISABLE", "yes", TRUE);' + \
|
|
'g_setenv("GST_REGISTRY_1.0", "@0@", TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \
|
|
--
|
|
2.29.2
|
|
|