Merge pull request #2047 from MikePetullo/grilo
grilo: install Vala-related files
This commit is contained in:
commit
f38d560449
3 changed files with 1087 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=grilo
|
PKG_NAME:=grilo
|
||||||
PKG_VERSION:=0.2.14
|
PKG_VERSION:=0.3.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
|
||||||
|
@ -17,8 +17,8 @@ PKG_LICENSE:=LGPLv2.1
|
||||||
PKG_LICENSE_FILES:=COPYING
|
PKG_LICENSE_FILES:=COPYING
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=@GNOME/grilo/0.2/
|
PKG_SOURCE_URL:=@GNOME/grilo/0.3/
|
||||||
PKG_MD5SUM:=7eba405ada20fefcb877d534d9d4f
|
PKG_MD5SUM:=f8a51aacc604dcc308e71f8bca4c57ae
|
||||||
|
|
||||||
PKG_BUILD_DEPENDS:=glib2 libsoup libxml2
|
PKG_BUILD_DEPENDS:=glib2 libsoup libxml2
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ endef
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include/
|
$(INSTALL_DIR) $(1)/usr/include/
|
||||||
$(CP) \
|
$(CP) \
|
||||||
$(PKG_INSTALL_DIR)/usr/include/grilo-0.2/ \
|
$(PKG_INSTALL_DIR)/usr/include/grilo-0.3/ \
|
||||||
$(1)/usr/include/
|
$(1)/usr/include/
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/
|
$(INSTALL_DIR) $(1)/usr/lib/
|
||||||
$(CP) \
|
$(CP) \
|
||||||
|
@ -56,6 +56,13 @@ define Build/InstallDev
|
||||||
$(INSTALL_DATA) \
|
$(INSTALL_DATA) \
|
||||||
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
|
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \
|
||||||
$(1)/usr/lib/pkgconfig/
|
$(1)/usr/lib/pkgconfig/
|
||||||
|
$(INSTALL_DIR) $(STAGING_DIR_HOST)/share/vala-0.30/vapi/
|
||||||
|
# Note: this are compiled elsewhere because grilo refuses to
|
||||||
|
# generate VAPI files unless gobject-introspection exists;
|
||||||
|
# OpenWrt does not yet have a gobject-introspection package.
|
||||||
|
$(INSTALL_DATA) \
|
||||||
|
./files/*.vapi \
|
||||||
|
$(STAGING_DIR_HOST)/share/vala-0.30/vapi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/grilo/install
|
define Package/grilo/install
|
||||||
|
|
1033
multimedia/grilo/files/grilo-0.3.vapi
Normal file
1033
multimedia/grilo/files/grilo-0.3.vapi
Normal file
File diff suppressed because it is too large
Load diff
43
multimedia/grilo/files/grilo-net-0.3.vapi
Normal file
43
multimedia/grilo/files/grilo-net-0.3.vapi
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
/* grilo-net-0.3.vapi generated by vapigen-0.30, do not modify. */
|
||||||
|
|
||||||
|
[CCode (cprefix = "GrlNet", gir_namespace = "GrlNet", gir_version = "0.3", lower_case_cprefix = "grl_net_")]
|
||||||
|
namespace GrlNet {
|
||||||
|
[CCode (cheader_filename = "net/grl-net.h", type_id = "grl_net_wc_get_type ()")]
|
||||||
|
public class Wc : GLib.Object {
|
||||||
|
[CCode (has_construct_function = false)]
|
||||||
|
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;
|
||||||
|
[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;
|
||||||
|
[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;
|
||||||
|
public void set_cache (bool use_cache);
|
||||||
|
public void set_cache_size (uint cache_size);
|
||||||
|
public void set_log_level (uint log_level);
|
||||||
|
public void set_throttling (uint throttling);
|
||||||
|
[NoAccessorMethod]
|
||||||
|
public bool cache { get; set construct; }
|
||||||
|
[NoAccessorMethod]
|
||||||
|
public uint cache_size { get; set construct; }
|
||||||
|
[NoAccessorMethod]
|
||||||
|
public uint loglevel { get; set; }
|
||||||
|
[NoAccessorMethod]
|
||||||
|
public uint throttling { get; set; }
|
||||||
|
[NoAccessorMethod]
|
||||||
|
public string user_agent { owned get; set construct; }
|
||||||
|
}
|
||||||
|
[CCode (cheader_filename = "net/grl-net.h", cprefix = "GRL_NET_WC_ERROR_", has_type_id = false)]
|
||||||
|
public enum WcError {
|
||||||
|
UNAVAILABLE,
|
||||||
|
PROTOCOL_ERROR,
|
||||||
|
AUTHENTICATION_REQUIRED,
|
||||||
|
NOT_FOUND,
|
||||||
|
CONFLICT,
|
||||||
|
FORBIDDEN,
|
||||||
|
NETWORK_ERROR,
|
||||||
|
PROXY_ERROR,
|
||||||
|
CANCELLED
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue