[spice-gtk] Enable lz4 support

Christophe Fergeau teuf at fedoraproject.org
Tue Dec 30 19:38:52 UTC 2014


commit 5ebf846c54afcd338d17644e525af0c7df9eb91b
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri Dec 12 11:55:08 2014 +0100

    Enable lz4 support

 spice-gtk.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/spice-gtk.spec b/spice-gtk.spec
index 1350e50..42dd25f 100644
--- a/spice-gtk.spec
+++ b/spice-gtk.spec
@@ -7,7 +7,7 @@
 
 Name:           spice-gtk
 Version:        0.27
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        A GTK+ widget for SPICE clients
 
 Group:          System Environment/Libraries
@@ -41,6 +41,7 @@ BuildRequires: gtk-doc
 BuildRequires: vala-tools
 BuildRequires: usbutils
 BuildRequires: libphodav-1.0-devel
+BuildRequires: lz4-devel
 %if %{with_gtk3}
 BuildRequires: gtk3-devel
 %endif
@@ -168,13 +169,13 @@ cp -a spice-gtk-%{version} spice-gtk3-%{version}
 %build
 
 cd spice-gtk-%{version}
-%configure --with-gtk=2.0 --enable-gtk-doc --with-usb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/
+%configure --with-gtk=2.0 --enable-gtk-doc --with-usb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/ --enable-lz4
 make %{?_smp_mflags}
 cd ..
 
 %if %{with_gtk3}
 cd spice-gtk3-%{version}
-%configure --with-gtk=3.0 --enable-vala --with-usb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/
+%configure --with-gtk=3.0 --enable-vala --with-usb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/ --enable-lz4
 make %{?_smp_mflags}
 cd ..
 %endif
@@ -279,6 +280,9 @@ rm -rf %{buildroot}%{_datadir}/pkgconfig/spice-protocol.pc
 %{_bindir}/spicy-stats
 
 %changelog
+* Tue Dec 30 2014 Christophe Fergeau <cfergeau at redhat.com> 0.27-4
+- Enable lz4 support
+
 * Mon Dec 22 2014 Marc-André Lureau <marcandre.lureau at redhat.com> 0.27-3
 - Fix usbredir crash on disconnection.
 


More information about the scm-commits mailing list