[gegl] Bug 743855 - gegl-sc-0.3.pc lists non-existent packages as its dependency
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Bug 743855 - gegl-sc-0.3.pc lists non-existent packages as its dependency
- Date: Wed, 29 Apr 2015 22:30:20 +0000 (UTC)
commit 89579cc1bd523edc02775fc451b8a620ccd4193b
Author: Ting-Wei Lan <lantw src gnome org>
Date: Wed Apr 29 18:28:54 2015 -0400
Bug 743855 - gegl-sc-0.3.pc lists non-existent packages as its dependency
Don't list non-existent packages in gegl-sc-0.3.pc.
configure.ac | 2 ++
seamless-clone/gegl-sc.pc.in | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f64340c..d61d666 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1121,12 +1121,14 @@ AM_CONDITIONAL(HAVE_P2TC, test "$have_p2tc" = "yes")
AC_SUBST(P2TC_CFLAGS)
AC_SUBST(P2TC_LIBS)
+AC_SUBST(P2TC_PACKAGES, "poly2tri-c")
# If no poly2tri-c version is installed, we should use the local version
# we have cached in the libs directory
if test "x$have_p2tc" != "xyes"; then
AC_SUBST(P2TC_CFLAGS, "-I\$(top_srcdir)/libs/poly2tri-c")
AC_SUBST(P2TC_LIBS, "-L\$(top_builddir)/libs/poly2tri-c/poly2tri-c -lpoly2tri-c")
+ AC_SUBST(P2TC_PACKAGES, "")
fi
##################
diff --git a/seamless-clone/gegl-sc.pc.in b/seamless-clone/gegl-sc.pc.in
index 52c475e..0c005f4 100644
--- a/seamless-clone/gegl-sc.pc.in
+++ b/seamless-clone/gegl-sc.pc.in
@@ -6,6 +6,6 @@ includedir= includedir@/sc
Name: GEGL Seamless Cloning
Description: Seamless Cloning Library Based on GEGL
Version: @GEGL_REAL_VERSION@
-Requires: @GLIB_PACKAGES@ babl poly2tri-c @PACKAGE_NAME@
+Requires: @GLIB_PACKAGES@ babl @P2TC_PACKAGES@ @PACKAGE_NAME -@GEGL_API_VERSION@
Libs: -L${libdir} -l PACKAGE_NAME@-sc- GEGL_API_VERSION@
Cflags: -I${includedir}/@PACKAGE_NAME -@GEGL_API_VERSION@/sc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]