[libgepub] Simplify pkg-config file



commit c2c4e6792c27234377434cc3dc5dd168293f78b5
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jun 1 01:16:07 2016 +0200

    Simplify pkg-config file
    
    glib-2.0 and gobject-2.0 are both dragged in when gio-2.0 is in the list
    of pkg-config dependencies, no need to duplicate their inclusion.
    
    Also hide internal dependencies of the library. libarchive and libxml2
    are only needed to build libgepub, not to link against it.

 libgepub.pc.in |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libgepub.pc.in b/libgepub.pc.in
index 8f44d30..bf0303e 100644
--- a/libgepub.pc.in
+++ b/libgepub.pc.in
@@ -6,6 +6,7 @@ includedir= includedir@
 Name: libgepub
 Description: epub Documents library
 Version: @VERSION@
-Requires: glib-2.0 gobject-2.0 gio-2.0 libxml-2.0 libarchive
+Requires: gio-2.0
+Requires.private: libxml-2.0 libarchive
 Libs: -L${libdir} -lgepub
 Cflags: -I${includedir}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]