valac: Update from 0.36.4 to 0.38.7

This commit is contained in:
Fredrik Fornwall 2018-02-06 22:00:37 +01:00
parent 252b80dde6
commit 2d77839661
3 changed files with 25 additions and 2 deletions

View File

@ -1,7 +1,12 @@
TERMUX_PKG_HOMEPAGE=https://wiki.gnome.org/Projects/Vala
TERMUX_PKG_DESCRIPTION="C# like language for the GObject system"
TERMUX_PKG_VERSION=0.36.4
TERMUX_PKG_VERSION=0.38.7
TERMUX_PKG_SHA256=09d10f5f7d0e4b3c905d9f636cb5ac55f317494e42c75e6572be4138b0603405
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/vala/${TERMUX_PKG_VERSION:0:4}/vala-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_DEPENDS="clang, glib-dev, pkg-config"
TERMUX_PKG_SHA256=e9f23ce711c1a72ce664d10946fbc5953f01b0b7f2a3562e7a01e362d86de059
termux_step_post_make_install() {
cd $TERMUX_PREFIX/lib
ln -s -f vala-0.38/libvalaccodegen.so libvalaccodegen.so
}

View File

@ -0,0 +1,15 @@
diff -u -r ../vala-0.38.7/configure ./configure
--- ../vala-0.38.7/configure 2018-02-04 10:28:51.000000000 +0000
+++ ./configure 2018-02-05 11:39:59.451002816 +0000
@@ -12793,10 +12793,7 @@
LIBADD="$LIBADD $LIBGVC_LIBS"
CFLAGS="$CFLAGS $LIBGVC_CFLAGS"
if test "$cross_compiling" = yes; then :
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot run test program while cross compiling
-See \`config.log' for more details" "$LINENO" 5; }
+ have_cgraph=yes
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

View File

@ -0,0 +1,3 @@
TERMUX_SUBPKG_INCLUDE="bin/valadoc* lib/libvaladoc* lib/valadoc/ share/valadoc share/man/man1/valadoc*"
TERMUX_SUBPKG_DESCRIPTION="API documentation generator for vala"
TERMUX_SUBPKG_DEPENDS="valac, graphviz"