valadoc: update to 0.44.3.

This commit is contained in:
maxice8 2019-04-09 00:01:40 -03:00 committed by maxice8
parent c0e0dc913d
commit 07871cf26c
2 changed files with 4 additions and 39 deletions

View File

@ -1,36 +0,0 @@
This check is broken in cross, see https://gitlab.gnome.org/GNOME/vala/issues/775
We are sure that we have cgraph, so just hack around this for now.
diff --git configure.ac configure.ac
index 16ebd1f..df789b9 100644
--- configure.ac
+++ configure.ac
@@ -164,25 +164,8 @@ if test x$enable_valadoc = xyes; then
cgraph_tmp_CFLAGS="$CFLAGS"
LIBADD="$LIBADD $LIBGVC_LIBS"
CFLAGS="$CFLAGS $LIBGVC_CFLAGS"
- AC_RUN_IFELSE(
- [AC_LANG_SOURCE([
- #include <gvc.h>
- int main(void) {
- #ifdef WITH_CGRAPH
- return 0;
- #else
- return -1;
- #endif
- }
- ])], [
- AC_MSG_RESULT([yes])
- VALAFLAGS="$VALAFLAGS -D WITH_CGRAPH"
- have_cgraph=yes
- ], [
- AC_MSG_RESULT([no])
- have_cgraph=no
- ]
- )
+ VALAFLAGS="$VALAFLAGS -D WITH_CGRAPH"
+ have_cgraph=yes
LIBADD="$cgraph_tmp_LIBADD"
CFLAGS="$cgraph_tmp_CFLAGS"
fi

View File

@ -1,10 +1,11 @@
# Template file for 'valadoc'
pkgname=valadoc
# Should be kept in sync with 'vala' (shared distfiles)
version=0.44.2
revision=2
version=0.44.3
revision=1
wrksrc="vala-${version}"
build_style=gnu-configure
configure_args="--with-cgraph=yes"
hostmakedepends="flex libxslt pkg-config automake libtool vala"
makedepends="libfl-devel libglib-devel graphviz-devel vala-devel"
checkdepends="dbus libgirepository-devel"
@ -14,7 +15,7 @@ license="LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/Vala"
changelog="https://gitlab.gnome.org/GNOME/vala/raw/0.42/NEWS"
distfiles="${GNOME_SITE}/vala/${version%.*}/vala-${version}.tar.xz"
checksum=67d9bb4656d8fe04bcfc1ed7ff35d191df425923de46c921ae3c3d996eee8040
checksum=8553b422484af88be1685d8b47f7b0df36ae4477c3e77e89ab22276ffed1eae9
pre_configure() {
autoreconf -if