[Pkg-libvirt-commits] [SCM] VirtViewer Debian packaging branch, master, updated. debian/0.5.6-1-5-g20493e3

Guido Günther agx at sigxcpu.org
Tue Jun 25 14:33:28 UTC 2013


The following commit has been merged in the master branch:
commit 20493e3a1f0018ec8a3b396a630ffc5b2db8685d
Author: Guido Günther <agx at sigxcpu.org>
Date:   Tue Jun 25 16:23:07 2013 +0200

    Spice is only available on i386 and amd64
    
    so don't try to use it on other architectures

diff --git a/debian/control b/debian/control
index 21a907c..21af71f 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends:
  autotools-dev,
  libvirt-dev (>= 0.10),
  libgtk-vnc-2.0-dev,
- libspice-client-gtk-3.0-dev (>= 0.17),
+ libspice-client-gtk-3.0-dev (>= 0.17) [i386 amd64],
  libxml2-dev,
  libgtk-3-dev,
  autotools-dev,
diff --git a/debian/rules b/debian/rules
index cb7d4ec..2d07552 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,9 @@
 #!/usr/bin/make -f
 
-DEB_CONFIGURE_EXTRA_FLAGS := --with-gtk=3.0 --with-spice-gtk
+DEB_CONFIGURE_EXTRA_FLAGS := --with-gtk=3.0
+ifneq (,$(findstring $(DEB_HOST_ARCH), i386 amd64))
+    DEB_CONFIGURE_EXTRA_FLAGS += --with-spice-gtk
+endif
 
 %:
 	dh $@

-- 
VirtViewer Debian packaging



More information about the Pkg-libvirt-commits mailing list