grilo: update vapi files, copy to unversioned dir

Updates vapigen-generated vapi files to vala-0.34.
Files are now copied to $(STAGING_DIR_HOSTPKG)/share/vala/vapi, without
the vala version being hardcoded.
Removed copyright line, and redundant PKG_BUILD_DEPENDS and
TARGET_LDFLAGS.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(cherry-picked from 1b794e93e3)
This commit is contained in:
Eneas U de Queiroz
2018-12-10 00:25:21 -02:00
committed by Rosen Penev
parent b89a2903b2
commit 8f7b6a2bbc
3 changed files with 418 additions and 54 deletions
+8 -4
View File
@@ -1,4 +1,4 @@
/* grilo-net-0.3.vapi generated by vapigen-0.30, do not modify. */
/* grilo-net-0.3.vapi generated by vapigen-0.34, do not modify. */
[CCode (cprefix = "GrlNet", gir_namespace = "GrlNet", gir_version = "0.3", lower_case_cprefix = "grl_net_")]
namespace GrlNet {
@@ -8,12 +8,16 @@ namespace GrlNet {
public Wc ();
public static GLib.Quark error_quark ();
public void flush_delayed_requests ();
public async bool request_async (string uri, GLib.Cancellable? cancellable, out unowned string content, out size_t length) throws GLib.Error;
public async bool request_async (string uri, GLib.Cancellable? cancellable, [CCode (array_length_cname = "length", array_length_pos = 2.1, array_length_type = "gsize")] out uint8[] content) throws GLib.Error;
[CCode (finish_name = "grl_net_wc_request_finish")]
public async bool request_with_headers_async (string uri, GLib.Cancellable? cancellable, ..., out unowned string content, out size_t length) throws GLib.Error;
[Version (since = "0.2.2")]
public async bool request_with_headers_async (string uri, GLib.Cancellable? cancellable, ..., [CCode (array_length_cname = "length", array_length_pos = 2.1, array_length_type = "gsize")] out uint8[] content) throws GLib.Error;
[CCode (finish_name = "grl_net_wc_request_finish")]
public async bool request_with_headers_hash_async (string uri, GLib.HashTable<string,string>? headers, GLib.Cancellable? cancellable, out unowned string content, out size_t length) throws GLib.Error;
[Version (since = "0.2.2")]
public async bool request_with_headers_hash_async (string uri, GLib.HashTable<string,string>? headers, GLib.Cancellable? cancellable, [CCode (array_length_cname = "length", array_length_pos = 2.1, array_length_type = "gsize")] out uint8[] content) throws GLib.Error;
[Version (since = "0.1.12")]
public void set_cache (bool use_cache);
[Version (since = "0.1.12")]
public void set_cache_size (uint cache_size);
public void set_log_level (uint log_level);
public void set_throttling (uint throttling);