use proper GTK+ version in pluma.pc file

This commit is contained in:
Monsta 2014-12-19 14:58:05 +03:00
parent 65f91807ca
commit 87eecea6bd
2 changed files with 3 additions and 1 deletions

View File

@ -286,6 +286,7 @@ case "$with_gtk" in
GTK_REQUIRED=3.0.0 GTK_REQUIRED=3.0.0
;; ;;
esac esac
AC_SUBST(GTK_API_VERSION)
PKG_CHECK_MODULES(GMODULE,gmodule-2.0,[GMODULE_ADD="gmodule-2.0"],[GMODULE_ADD=""]) PKG_CHECK_MODULES(GMODULE,gmodule-2.0,[GMODULE_ADD="gmodule-2.0"],[GMODULE_ADD=""])
PKG_CHECK_MODULES(PLUMA, [ PKG_CHECK_MODULES(PLUMA, [

View File

@ -2,10 +2,11 @@ prefix=@prefix@
exec_prefix=@exec_prefix@ exec_prefix=@exec_prefix@
libdir=@libdir@ libdir=@libdir@
includedir=@includedir@ includedir=@includedir@
pluginsdir=@libdir@/pluma/plugins
Name: pluma Name: pluma
Description: pluma Description: pluma
Requires: gtksourceview-2.0 Requires: gtksourceview-@GTK_API_VERSION@
Version: @VERSION@ Version: @VERSION@
Cflags: -I${includedir}/pluma Cflags: -I${includedir}/pluma
Libs: -L${libdir} @PLUMA_IMPLIB@ Libs: -L${libdir} @PLUMA_IMPLIB@