summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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@