2007-12-31 Tomas Frydrych <tf@openedhand.com>

* configure.ac:
	* clutter.pc.in:
	Added CLUTTER_REQUIRES automake var to allow deps in clutter.pc to
	be backend-specific.
This commit is contained in:
Tomas Frydrych 2007-12-31 11:22:11 +00:00
parent 2db2de021f
commit 0681a25825
3 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2007-12-31 Tomas Frydrych <tf@openedhand.com>
* configure.ac:
* clutter.pc.in:
Added CLUTTER_REQUIRES automake var to allow deps in clutter.pc to
be backend-specific.
2007-12-28 Emmanuele Bassi <ebassi@openedhand.com> 2007-12-28 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-texture.c: * clutter/clutter-texture.c:

View File

@ -4,10 +4,11 @@ libdir=${exec_prefix}/lib
includedir=${prefix}/include includedir=${prefix}/include
backend=@clutterbackend@ backend=@clutterbackend@
apiversion=@CLUTTER_API_VERSION@ apiversion=@CLUTTER_API_VERSION@
requires=@CLUTTER_REQUIRES@
Name: Clutter Name: Clutter
Description: Clutter Core Library (${backend} backend) Description: Clutter Core Library (${backend} backend)
Version: @VERSION@ Version: @VERSION@
Libs: -L${libdir} -lclutter-${backend}-${apiversion} Libs: -L${libdir} -lclutter-${backend}-${apiversion}
Cflags: -I${includedir}/clutter-${apiversion} Cflags: -I${includedir}/clutter-${apiversion}
Requires: glib-2.0 >= 2.14 gobject-2.0 gthread-2.0 pangoft2 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0 Requires: ${requires}

View File

@ -304,8 +304,10 @@ AC_SUBST([clutterbackendlib])
dnl ======================================================================== dnl ========================================================================
pkg_modules="pangoft2 glib-2.0 >= 2.14 gobject-2.0 gthread-2.0 gdk-pixbuf-2.0 $BACKEND_PC_FILES" CLUTTER_REQUIRES="pangoft2 glib-2.0 >= 2.14 gobject-2.0 gthread-2.0 gdk-pixbuf-2.0 $BACKEND_PC_FILES"
PKG_CHECK_MODULES(CLUTTER_DEPS, [$pkg_modules]) PKG_CHECK_MODULES(CLUTTER_DEPS, [$CLUTTER_REQUIRES])
AC_SUBST(CLUTTER_REQUIRES)
dnl ======================================================================== dnl ========================================================================