[gtk-vnc] build: disable introspection in mingw builds



commit 8b79e40237770d2e0c52c0bc36260299a0630db1
Author: Daniel P. Berrangé <dan berrange com>
Date:   Fri Jan 8 14:24:19 2021 +0000

    build: disable introspection in mingw builds
    
    Signed-off-by: Daniel P. Berrangé <berrange redhat com>

 mingw-gtk-vnc.spec.in |  2 +-
 prepare-release.sh    | 14 ++++++++++----
 2 files changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/mingw-gtk-vnc.spec.in b/mingw-gtk-vnc.spec.in
index acfcd92..717a352 100644
--- a/mingw-gtk-vnc.spec.in
+++ b/mingw-gtk-vnc.spec.in
@@ -100,7 +100,7 @@ allowing it to be completely asynchronous while remaining single threaded.
 
 
 %build
-%mingw_meson
+%mingw_meson -Dintrospection=disabled
 %mingw_ninja
 
 
diff --git a/prepare-release.sh b/prepare-release.sh
index 643c22d..e0f2c36 100755
--- a/prepare-release.sh
+++ b/prepare-release.sh
@@ -21,8 +21,11 @@ rpmbuild --nodeps \
 
 if test -x /usr/bin/i686-w64-mingw32-gcc && \
    test -r /usr/share/mingw/toolchain-mingw32.meson ; then
-  meson build/win32 --prefix="$INSTALL_ROOT/i686-w64-mingw32/sys-root/mingw" \
-              --cross-file="/usr/share/mingw/toolchain-mingw32.meson" --werror
+  meson build/win32 \
+       --prefix="$INSTALL_ROOT/i686-w64-mingw32/sys-root/mingw" \
+        --cross-file="/usr/share/mingw/toolchain-mingw32.meson" \
+       -Dintrospection=disabled \
+       --werror
 
   ninja -C build/win32
   ninja -C build/win32 install
@@ -30,8 +33,11 @@ fi
 
 if test -x /usr/bin/x86_64-w64-mingw32-gcc && \
    test -r /usr/share/mingw/toolchain-mingw64.meson ; then
-  meson build/win64 --prefix="$INSTALL_ROOT/x86_64-w64-mingw32/sys-root/mingw" \
-              --cross-file="/usr/share/mingw/toolchain-mingw64.meson" --werror
+  meson build/win64 \
+       --prefix="$INSTALL_ROOT/x86_64-w64-mingw32/sys-root/mingw" \
+        --cross-file="/usr/share/mingw/toolchain-mingw64.meson" \
+       -Dintrospection=disabled \
+       --werror
 
   ninja -C build/win64
   ninja -C build/win64 install


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]