[libpeas: 38/38] Include g-i and gtk requirements in libpeas(ui)-1.0.pc
- From: Steve Frécinaux <sfre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas: 38/38] Include g-i and gtk requirements in libpeas(ui)-1.0.pc
- Date: Wed, 26 May 2010 19:02:29 +0000 (UTC)
commit f3a5e1837a3abaa6c8a1ac7f74130e82b7fbde73
Author: Steve Frécinaux <code istique net>
Date: Wed May 26 20:59:26 2010 +0200
Include g-i and gtk requirements in libpeas(ui)-1.0.pc
configure.ac | 5 ++++-
data/libpeas-1.0.pc.in | 4 ++--
data/libpeasui-1.0.pc.in | 4 ++--
3 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f0695f8..372475a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -105,11 +105,14 @@ AC_MSG_RESULT([$found_seed])
if test "$found_gtk3" = "yes"; then
PKG_CHECK_MODULES(PEASUI, [gtk+-3.0 >= 2.90.0])
GTK_TYPELIB=Gtk-3.0
+ GTK_PKG_REQUIREMENT="gtk+-3.0 >= 2.90"
else
- PKG_CHECK_MODULES(PEASUI, [gtk+-2.0 >= 2.16.0])
GTK_TYPELIB=Gtk-2.0
+ GTK_PKG_REQUIREMENT="gtk+-2.0 >= 2.16"
fi
+PKG_CHECK_MODULES(PEASUI, [$GTK_PKG_REQUIREMENT])
AC_SUBST(GTK_TYPELIB)
+AC_SUBST(GTK_PKG_REQUIREMENT)
dnl ================================================================
diff --git a/data/libpeas-1.0.pc.in b/data/libpeas-1.0.pc.in
index bb03cb8..b84a604 100644
--- a/data/libpeas-1.0.pc.in
+++ b/data/libpeas-1.0.pc.in
@@ -4,8 +4,8 @@ libdir= libdir@
includedir= includedir@
Name: libpeas
-Description: Gedit's Plugin Engine, as a lib
-Requires: glib-2.0 >= 2.14
+Description: libpeas, a plugins library
+Requires: glib-2.0 >= 2.18, gobject-2.0 >= 2.23.6, gmodule-2.0 >= 2.18, gobject-introspection-1.0 >= 0.6.7
Version: @VERSION@
Cflags: -I${includedir}/libpeas-1.0
Libs: -L${libdir} -lpeas-1.0
diff --git a/data/libpeasui-1.0.pc.in b/data/libpeasui-1.0.pc.in
index 93672e8..70b1b34 100644
--- a/data/libpeasui-1.0.pc.in
+++ b/data/libpeasui-1.0.pc.in
@@ -4,8 +4,8 @@ libdir= libdir@
includedir= includedir@
Name: libpeas
-Description: Gedit's Plugin Engine UI, as a lib
-Requires: glib-2.0 >= 2.14, libpeas-1.0 >= @VERSION@
+Description: libpeas, a plugins library (UI part)
+Requires: glib-2.0 >= 2.14, @GTK_PKG_REQUIREMENT@, libpeas-1.0 >= @VERSION@
Version: @VERSION@
Cflags: -I${includedir}/libpeas-1.0
Libs: -L${libdir} -lpeasui-1.0
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]