diff libpurple/purple-2.pc.in @ 29341:a52831eada67

Add pidgin-2 and purple-2 .pc variants Instead of adding ${includedir}/libpurple to the include path, purple-2 adds ${includedir}. This allows projects to #include <libpurple/debug.h> rather than #include <debug.h>, which prevents libpurple's headers colliding with the project's own, and is more conventional. media/codec.h needed tweaking to compile.
author Will Thompson <will.thompson@collabora.co.uk>
date Sun, 20 Dec 2009 18:03:58 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libpurple/purple-2.pc.in	Sun Dec 20 18:03:58 2009 +0000
@@ -0,0 +1,16 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+datarootdir=@datarootdir@
+datadir=@datadir@
+sysconfdir=@sysconfdir@
+
+plugindir=${libdir}/purple-@PURPLE_MAJOR_VERSION@
+
+Name: libpurple
+Description: libpurple is a GLib-based instant messenger library.
+Version: @VERSION@
+Requires: glib-2.0
+Cflags: -I${includedir}
+Libs: -L${libdir} -lpurple