1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
From: Alberto Garcia <berto@igalia.com>
Subject: fix installation of g-i files
Applied-Upstream: https://github.com/elima/EventDance/commit/fc6c972e8cd27fe0cbfebe3980e6cea5c75df1b5
Index: eventdance/configure.ac
===================================================================
--- eventdance.orig/configure.ac
+++ eventdance/configure.ac
@@ -98,10 +98,10 @@ if test "x$found_introspection" = "xyes"
EVD_GIR_TARGET_NAME="prj_gir_namespace"_"prj_version_major"_"prj_version_minor"_gir
AC_SUBST(EVD_GIR_TARGET_NAME)
- INTROSPECTION_GIRDIR=${prefix}/share/gir-1.0
+ INTROSPECTION_GIRDIR=`$PKG_CONFIG --define-variable=prefix='${prefix}' --variable=girdir gobject-introspection-1.0`
AC_SUBST(INTROSPECTION_GIRDIR)
- INTROSPECTION_TYPELIBDIR=${libdir}/girepository-1.0
+ INTROSPECTION_TYPELIBDIR=`$PKG_CONFIG --define-variable=prefix='${prefix}' --variable=typelibdir gobject-introspection-1.0`
AC_SUBST(INTROSPECTION_TYPELIBDIR)
fi
|