anjuta/anjuta-libvala-0.14.patch

31 lines
757 B
Diff

Index: anjuta-3.1.3/configure.ac
===================================================================
--- anjuta-3.1.3.orig/configure.ac
+++ anjuta-3.1.3/configure.ac
@@ -52,7 +52,8 @@ dnl Glade
GLADEUI_REQUIRED=3.9.2
dnl Vala
-VALA_REQUIRED=0.11.2
+VALA12_REQUIRED=0.11.2
+VALA14_REQUIRED=0.13.0
dnl Introspection
GI_REQUIRED=0.9.5
@@ -254,11 +255,13 @@ else
AC_MSG_RESULT(no)
enable_vala="yes"
PKG_CHECK_MODULES(VALA,
- [libvala-0.12 >= $VALA_REQUIRED])
+ [libvala-0.14 >= $VALA14_REQUIRED],,
+ [PKG_CHECK_MODULES(VALA,
+ [libvala-0.12 >= $VALA12_REQUIRED])])
fi
if test x$enable_vala = xyes; then
- AC_PATH_PROGS(VALAC, [valac-0.12 valac], valac)
+ AC_PATH_PROGS(VALAC, [valac-0.14 valac-0.12 valac], valac)
AC_SUBST(VALAC)
fi