valabind: update to 1.4.0.

This commit is contained in:
Enno Boland 2017-09-18 08:57:53 +02:00
parent 599dccc9f4
commit 01a853b34f
2 changed files with 4 additions and 40 deletions

View File

@ -1,36 +0,0 @@
From f23ff9421c1875d18b1e558596557009b45faa19 Mon Sep 17 00:00:00 2001
From: pancake <pancake@nopcode.org>
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 {

View File

@ -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 <xtraeme@voidlinux.eu>"
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