From 01a853b34fbb7e565d32e7d6a7d4dfd5d312b722 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Mon, 18 Sep 2017 08:57:53 +0200 Subject: [PATCH] valabind: update to 1.4.0. --- srcpkgs/valabind/patches/fix-vala-0.36.patch | 36 -------------------- srcpkgs/valabind/template | 8 ++--- 2 files changed, 4 insertions(+), 40 deletions(-) delete mode 100644 srcpkgs/valabind/patches/fix-vala-0.36.patch diff --git a/srcpkgs/valabind/patches/fix-vala-0.36.patch b/srcpkgs/valabind/patches/fix-vala-0.36.patch deleted file mode 100644 index a906fc3776a..00000000000 --- a/srcpkgs/valabind/patches/fix-vala-0.36.patch +++ /dev/null @@ -1,36 +0,0 @@ -From f23ff9421c1875d18b1e558596557009b45faa19 Mon Sep 17 00:00:00 2001 -From: pancake -Date: Thu, 9 Feb 2017 10:21:16 +0100 -Subject: [PATCH] Fix build for Vala-git (future 0.36) - ---- - cxxwriter.vala | 2 +- - dlangwriter.vala | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git cxxwriter.vala cxxwriter.vala -index cca65fe..890e085 100644 ---- cxxwriter.vala -+++ cxxwriter.vala -@@ -157,7 +157,7 @@ public class CxxWriter : ValabindWriter { - } - - public void walk_field (Field f) { -- if (f.get_ctype () == null) { -+ if (f.get_attribute_string ("CCode", "type") == null) { - //warning ( - // "Cannot resolve type for field '%s'".printf (f.get_cname ())); - } else { -diff --git dlangwriter.vala dlangwriter.vala -index 8d42676..898d3ca 100644 ---- dlangwriter.vala -+++ dlangwriter.vala -@@ -167,7 +167,7 @@ public class DlangWriter : ValabindWriter { - } - - public void walk_field (Field f) { -- if (f.get_ctype () == null) { -+ if (f.get_attribute_string ("CCode", "type") == null) { - //warning ( - // "Cannot resolve type for field '%s'".printf (f.get_cname ())); - } else { diff --git a/srcpkgs/valabind/template b/srcpkgs/valabind/template index e4160b2d3b3..b584e261e04 100644 --- a/srcpkgs/valabind/template +++ b/srcpkgs/valabind/template @@ -1,7 +1,7 @@ # Template file for 'valabind' pkgname=valabind -version=0.10.0 -revision=3 +version=1.4.0 +revision=1 build_style=gnu-makefile hostmakedepends="pkg-config vala-devel" makedepends="vala-devel glib-devel" @@ -10,5 +10,5 @@ short_desc="Tool to transform vala source files to swig, GIR or GEAR" maintainer="Juan RP " license="LGPL-3" homepage="http://radare.org" -distfiles="${homepage}/get/${pkgname}-${version}.tar.gz" -checksum=35517455b4869138328513aa24518b46debca67cf969f227336af264b8811c19 +distfiles="https://github.com/radare/valabind/archive/${version}.tar.gz" +checksum=b2e4939912feada6138b8269d228ea82fb0f1391fd2e2e7003f404677b0cdbc9