summaryrefslogtreecommitdiff
path: root/spice-client-gtk-3.0.pc.in
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2011-01-14 18:07:11 +0000
committerMarc-André Lureau <marcandre.lureau@redhat.com>2011-01-14 21:13:28 +0100
commita75f4eb21b7a1ff639634fdd39c8fe2ba6753945 (patch)
treeed407178cda3e4e4459f689a62888c55adab2404 /spice-client-gtk-3.0.pc.in
parent71187955773a3f1a4ac58ab50e26af74d0b145e5 (diff)
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
Diffstat (limited to 'spice-client-gtk-3.0.pc.in')
-rw-r--r--spice-client-gtk-3.0.pc.in12
1 files changed, 12 insertions, 0 deletions
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