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
;;
esac
AC_SUBST(GTK_API_VERSION)
PKG_CHECK_MODULES(GMODULE,gmodule-2.0,[GMODULE_ADD="gmodule-2.0"],[GMODULE_ADD=""])
PKG_CHECK_MODULES(PLUMA, [

View File

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