[gegl] Fix install of gegl vapi file



commit 9339fd67bc7f0feb88cfa8b7015fced456355054
Author: Jon Nordby <jononor gmail com>
Date:   Thu Aug 4 00:47:06 2011 +0200

    Fix install of gegl vapi file
    
    The pkg-config package refered no longer exists,
    and currently only libvala provides a vapidir in pkg-config,
    and this package is versioned and changes all the time.
    Other projects just use $(datadir)/vala/vapi, so we do the sam

 configure.ac     |    3 ---
 gegl/Makefile.am |    2 +-
 2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ffc38c6..97ef76a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -415,9 +415,6 @@ fi
 have_vala=$have_vapigen
 AM_CONDITIONAL(HAVE_VALA, test "$have_vala" = "yes")
 
-vapidir=$(pkg-config --variable vapidir vala-1.0)
-AC_SUBST(vapidir)
-
 ########################
 # Check for fsync
 ########################
diff --git a/gegl/Makefile.am b/gegl/Makefile.am
index a08f41f..b027cd6 100644
--- a/gegl/Makefile.am
+++ b/gegl/Makefile.am
@@ -128,7 +128,7 @@ if HAVE_VALA
 gegl- GEGL_API_VERSION@.vapi: Gegl- GEGL_API_VERSION@.gir
 	$(VAPIGEN) --library=gegl- GEGL_API_VERSION@ Gegl- GEGL_API_VERSION@.gir
 
-vapidir= vapidir@
+vapidir=$(datadir)/vala/vapi
 vapi_DATA = gegl- GEGL_API_VERSION@.vapi
 
 endif # HAVE_VALA



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]