summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2014-12-19 14:58:05 +0300
committerMonsta <[email protected]>2014-12-19 15:26:39 +0300
commit87eecea6bd7f4568b813ac3853422cd9988c66bd (patch)
tree0c37c4c0ce18432bae301aae17db5d2b9610add1
parent65f91807ca3f5e1d78cc69f004bfd036f7382b8f (diff)
downloadpluma-87eecea6bd7f4568b813ac3853422cd9988c66bd.tar.bz2
pluma-87eecea6bd7f4568b813ac3853422cd9988c66bd.tar.xz
use proper GTK+ version in pluma.pc file
-rw-r--r--configure.ac1
-rw-r--r--data/pluma.pc.in3
2 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d7bfd702..b17e2862 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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, [
diff --git a/data/pluma.pc.in b/data/pluma.pc.in
index de88a42e..99277117 100644
--- a/data/pluma.pc.in
+++ b/data/pluma.pc.in
@@ -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@