From a75f4eb21b7a1ff639634fdd39c8fe2ba6753945 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 14 Jan 2011 18:07:11 +0000 Subject: Adapt build system to allow building with GTK3 The new configure flag '--with-gtk' can be used to choose which GTK version to build against, defaulting to GTK2. To enable GTK3 use ./configure --with-gtk=3.0 The libspice-client-glib-2.0.la library is unchanged, building against glib-2.0 at all times. The GTK3 build will produce a libspice-client-gtk-3.0.la The include files will also live in $prefix/spice-client-gtk-3.0 and the pkgconfig is called spice-client-gtk-3.0 too. This allows for full parallel install of GTK2 and GTK3 builds --- spice-client-gtk-3.0.pc.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 spice-client-gtk-3.0.pc.in (limited to 'spice-client-gtk-3.0.pc.in') diff --git a/spice-client-gtk-3.0.pc.in b/spice-client-gtk-3.0.pc.in new file mode 100644 index 0000000..96e1e5a --- /dev/null +++ b/spice-client-gtk-3.0.pc.in @@ -0,0 +1,12 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: spice-client-gtk-3.0 +Description: SPICE Client Gtk 3.0 library +Version: @VERSION@ + +Requires: @SPICE_REQUIRES@ spice-protocol spice-client-glib-3.0 +Libs: -L${libdir} -lspice-client-gtk-3.0 +Cflags: -I${includedir}/spice-client-gtk-3.0 -- cgit