commit 568280ee38231d93a08ae91bfeeee853a3a0e994
Author: Christophe Fergeau <t...@gnome.org>
Date:   Tue Feb 8 14:01:31 2011 +0100

    report libimobiledevice dependency in .pc file
    
    When libgpod is compiled against libimobiledevice, this dependency
    needs to be reported in libgpod-1.0.pc.

 configure.ac      |    4 ++--
 libgpod-1.0.pc.in |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 295faf6..a52ac3a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -156,11 +156,11 @@ if test "x$with_libimobiledevice" != "xno"; then
   fi
 
   if test "x$enable_libimobiledevice" = "xyes"; then
+      LIBIMOBILEDEVICE_REQ="libimobiledevice-1.0"
       AC_DEFINE(HAVE_LIBIMOBILEDEVICE, 1, [Define if you have libimobiledevice 
support])
-      AC_SUBST(LIBIMOBILEDEVICE_CFLAGS)
-      AC_SUBST(LIBIMOBILEDEVICE_LIBS)
   fi
 fi
+AC_SUBST(LIBIMOBILEDEVICE_REQ)
 AM_CONDITIONAL(HAVE_LIBIMOBILEDEVICE, test x"$enable_libimobiledevice" = xyes)
 
 dnl ***********************************************************************
diff --git a/libgpod-1.0.pc.in b/libgpod-1.0.pc.in
index 808dd78..cef6db4 100644
--- a/libgpod-1.0.pc.in
+++ b/libgpod-1.0.pc.in
@@ -6,6 +6,6 @@ includedir=@includedir@
 Name: libgpod
 Description: A library to manipulate songs and playlists stored on an ipod
 Version: @VERSION@
-Requires: glib-2.0 >= 2.8.0 gobject-2.0 @GDKPIXBUF_REQ@
+Requires: glib-2.0 >= 2.8.0 gobject-2.0 @GDKPIXBUF_REQ@ @LIBIMOBILEDEVICE_REQ@
 Libs: -L${libdir} -lgpod
 Cflags: -I${includedir}/gpod-1.0

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
gtkpod-cvs2 mailing list
gtkpod-cvs2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to