From de700d09efa6564598fec046a50ca3e1fae1af20 Mon Sep 17 00:00:00 2001 From: Fabiano FidĂȘncio Date: Wed, 17 Dec 2014 06:29:21 +0100 Subject: msi: use gtk-vnc conditionally Only include gtk-vnc as dep when it's explicitly done in the configure. --- data/Makefile.am | 7 +++++++ data/virt-viewer.wxs.in | 12 ++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index 52a1249..9fa126c 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -34,6 +34,12 @@ else HaveSpiceGtk = False endif +if HAVE_GTK_VNC +HaveGtkVnc = True +else +HaveGtkVnc = False +endif + deps.txt: $(AM_V_GEN)rpm -qa | grep $(host_os) | sort | unix2dos > $@ @@ -59,6 +65,7 @@ virt-viewer-$(WIXL_ARCH)-$(VERSION).msi: virt-viewer.wxs deps.txt -D DESTDIR=$$DESTDIR$(prefix) \ -D GtkVersion=$(GTK_API_VERSION) \ -D HaveSpiceGtk=$(HaveSpiceGtk) \ + -D HaveGtkVnc=$(HaveGtkVnc) \ -D HaveLibvirt=$(HaveLibvirt) \ -D HaveOVirt=$(HaveOVirt) \ --arch $(WIXL_ARCH) \ diff --git a/data/virt-viewer.wxs.in b/data/virt-viewer.wxs.in index 01e86a1..2b09bba 100644 --- a/data/virt-viewer.wxs.in +++ b/data/virt-viewer.wxs.in @@ -20,12 +20,16 @@ + + + + @@ -131,12 +135,16 @@ - + + + - + + + -- cgit