Browse Source

valac: Update from 0.40.8 to 0.44.3

emacs-27
Fredrik Fornwall 6 years ago
parent
commit
9329853c3b
  1. 7
      packages/valac/build.sh
  2. 15
      packages/valac/configure.patch

7
packages/valac/build.sh

@ -3,11 +3,12 @@ TERMUX_PKG_DESCRIPTION="C# like language for the GObject system"
TERMUX_PKG_LICENSE="LGPL-2.0"
TERMUX_PKG_MAINTAINER="Vishal Biswas @vishalbiswas"
TERMUX_PKG_DEPENDS="clang, glib-dev, pkg-config"
TERMUX_PKG_VERSION=0.40.8
TERMUX_PKG_SHA256=5c35e087a7054e9f0a514a0c1f1d0a0d7cf68d3e43c1dbeb840f9b0d815c0fa5
TERMUX_PKG_VERSION=0.44.3
TERMUX_PKG_SHA256=8553b422484af88be1685d8b47f7b0df36ae4477c3e77e89ab22276ffed1eae9
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/vala/${TERMUX_PKG_VERSION:0:4}/vala-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-cgraph=no"
termux_step_post_make_install() {
cd $TERMUX_PREFIX/lib
ln -s -f vala-0.40/libvalaccodegen.so libvalaccodegen.so
ln -s -f vala-${TERMUX_PKG_VERSION:0:4}/libvalaccodegen.so libvalaccodegen.so
}

15
packages/valac/configure.patch

@ -1,15 +0,0 @@
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. */
Loading…
Cancel
Save