@@ -1,24 +1,24 @@
1−{ stdenv, fetchurl, pkgconfig, gtk2, spice_protocol, intltool, celt_0_5_1
1+{ stdenv, fetchurl, pkgconfig, spice_protocol, intltool, celt_0_5_1
22, openssl, libpulseaudio, pixman, gobjectIntrospection, libjpeg_turbo, zlib
33, cyrus_sasl, pythonPackages, autoreconfHook, usbredir, libsoup
4−, gtk3, enableGTK3 ? false }:
4+, gtk3, epoxy }:
55
66with stdenv.lib;
77
88let
99 inherit (pythonPackages) python pygtk;
1010in stdenv.mkDerivation rec {
11− name = "spice-gtk-0.29";
11+ name = "spice-gtk-0.32";
1212
1313 src = fetchurl {
1414 url = "http://www.spice-space.org/download/gtk/${name}.tar.bz2";
15− sha256 = "0wz9sm44gnmwjpmyacwd5jyzvhfl1wlf1dn3qda20si42cky5is4";
15+ sha256 = "00pf94xh2xf0h1g13lnavxrysd0d0x22l5jl108cvq1mjc4z8j2c";
1616 };
1717
1818 buildInputs = [
1919 spice_protocol celt_0_5_1 openssl libpulseaudio pixman gobjectIntrospection
20− libjpeg_turbo zlib cyrus_sasl python pygtk usbredir
21− ] ++ (if enableGTK3 then [ gtk3 ] else [ gtk2 ]);
20+ libjpeg_turbo zlib cyrus_sasl python pygtk usbredir gtk3 epoxy
21+ ];
2222
2323 nativeBuildInputs = [ pkgconfig intltool libsoup autoreconfHook ];
2424
@@ -35,7 +35,7 @@ in stdenv.mkDerivation rec {
3535
3636 configureFlags = [
3737 "--disable-maintainer-mode"
38− (if enableGTK3 then "--with-gtk3" else "--with-gtk=2.0")
38+ "--with-gtk3"
3939 ];
4040
4141 dontDisableStatic = true; # Needed by the coroutine test
@@ -43,9 +43,9 @@ in stdenv.mkDerivation rec {
4343 enableParallelBuilding = true;
4444
4545 meta = {
46− description = "A GTK+2 and GTK+3 SPICE widget";
46+ description = "A GTK+3 SPICE widget";
4747 longDescription = ''
48− spice-gtk is a GTK+2 and GTK+3 SPICE widget. It features glib-based
48+ spice-gtk is a GTK+3 SPICE widget. It features glib-based
4949 objects for SPICE protocol parsing and a gtk widget for embedding
5050 the SPICE display into other applications such as virt-manager.
5151 Python bindings are available too.