From: RISCi_ATOM Date: Sun, 31 Dec 2017 03:32:13 +0000 (-0500) Subject: Remove broken packages X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8a1293e8b920d12df3fbe89f2f126ad24e59a60c;p=librecmc%2Fpackage-feed.git Remove broken packages --- diff --git a/libs/libdmapsharing/Makefile b/libs/libdmapsharing/Makefile deleted file mode 100644 index 69a3750..0000000 --- a/libs/libdmapsharing/Makefile +++ /dev/null @@ -1,72 +0,0 @@ -# -# Copyright (C) 2009-2012 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# -# This Makefile is a skeleton -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=libdmapsharing -PKG_VERSION:=2.9.35 -PKG_RELEASE:=1 - -PKG_MAINTAINER:=W. Michael Petullo - -PKG_LICENSE:=LGPLv2.1 -PKG_LICENSE_FILES:=COPYING - -PKG_SOURCE:=libdmapsharing-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://www.flyn.org/projects/libdmapsharing/ -PKG_MD5SUM:=02008e1998646d0bb6ca45784133b748 - -PKG_FIXUP:=autoreconf -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/nls.mk - -TARGET_LDFLAGS+= \ - -Wl,-rpath-link=$(STAGING_DIR)/usr/lib - -define Package/libdmapsharing - SECTION:=libs - CATEGORY:=Libraries - DEPENDS:=+libsoup +mdnsresponder +gstreamer1 +gst1-plugins-base +libgst1app - TITLE:=libdmapsharing - URL:=http://www.flyn.org/projects/libdmapsharing/ -endef - -define Package/libdmapsharing/decription - Libdmapsharing is a DMAP library implementation in C -endef - -CONFIGURE_ARGS += \ - --disable-introspection \ - --disable-gtk-doc - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/include/libdmapsharing-3.0/ \ - $(1)/usr/include/ - $(INSTALL_DIR) $(1)/usr/lib/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/*.so* \ - $(1)/usr/lib/ - $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/ - $(INSTALL_DATA) \ - $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \ - $(1)/usr/lib/pkgconfig/ -endef - -define Package/libdmapsharing/install - $(INSTALL_DIR) $(1)/usr/lib/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/*.so* \ - $(1)/usr/lib/ -endef - -$(eval $(call BuildPackage,libdmapsharing)) diff --git a/libs/libdmapsharing/patches/001-disable_pixbuf.patch b/libs/libdmapsharing/patches/001-disable_pixbuf.patch deleted file mode 100644 index fcc8453..0000000 --- a/libs/libdmapsharing/patches/001-disable_pixbuf.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -117,18 +117,7 @@ dnl make GOBJECT_CFLAGS and GOBJECT_LIBS - AC_SUBST(GOBJECT_CFLAGS) - AC_SUBST(GOBJECT_LIBS) - --dnl Check for gdk-pixbuf, needed for DACP Now Playing Artwork --PKG_CHECK_MODULES(GDKPIXBUF, gdk-pixbuf-2.0, -- HAVE_GDKPIXBUF=yes, -- HAVE_GDKPIXBUF=no) -- --if test x"$HAVE_GDKPIXBUF" = "xyes"; then -- AC_DEFINE(HAVE_GDKPIXBUF, 1, [Define if gdk-pixbuf support is enabled]) --else -- AC_WARN(Gdk-pixbuf library not present, Now Playing artwork might be affected.) --fi -- --AM_CONDITIONAL(USE_GDKPIXBUF, test x"$HAVE_GDKPIXBUF" = "xyes") -+HAVE_GDKPIXBUF=no - - AC_SUBST(GDKPIXBUF_CFLAGS) - AC_SUBST(GDKPIXBUF_LIBS) diff --git a/libs/libdmapsharing/patches/002-disable_tests.patch b/libs/libdmapsharing/patches/002-disable_tests.patch deleted file mode 100644 index bafc52f..0000000 --- a/libs/libdmapsharing/patches/002-disable_tests.patch +++ /dev/null @@ -1,8 +0,0 @@ ---- a/Makefile.am -+++ b/Makefile.am -@@ -1,4 +1,4 @@ --SUBDIRS = libdmapsharing vala tests doc -+SUBDIRS = libdmapsharing vala doc - DIST_SUBDIRS = $(SUBDIRS) m4 media - - # pcfiles = libdmapsharing-@LIBDMAPSHARING_MAJORMINOR@.pc diff --git a/libs/libdmapsharing/patches/003-make_unit_test_optional.patch b/libs/libdmapsharing/patches/003-make_unit_test_optional.patch deleted file mode 100644 index 14d020f..0000000 --- a/libs/libdmapsharing/patches/003-make_unit_test_optional.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -357,7 +357,13 @@ if test -n "$BUILD_DPAPVIEW" ; then - AC_WARN([will not build dpapview]) - fi - --PKG_CHECK_MODULES([CHECK], [check >= 0.9.4],have_check=yes,have_check=no) -+dnl Test if --enable-unit-test given -+AC_ARG_ENABLE(unit-test, [AC_HELP_STRING([--enable-unit-test],[enable unit test])]) -+if test "x$enable_unit_test" = "xyes" ; then -+ PKG_CHECK_MODULES([CHECK], [check >= 0.9.4],have_check=yes,have_check=no) -+else -+ have_check=no -+fi - AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes") - if test "x$have_check" = "xyes"; then - AC_DEFINE(HAVE_CHECK, 1, [Define if check support is enabled]) diff --git a/libs/libsoup/Makefile b/libs/libsoup/Makefile deleted file mode 100644 index 3787433..0000000 --- a/libs/libsoup/Makefile +++ /dev/null @@ -1,78 +0,0 @@ -# -# Copyright (C) 2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=libsoup -PKG_VERSION:=2.54.1 -PKG_RELEASE:=2 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/2.54 -PKG_MD5SUM:=73b1fb774de16c29b380f87016f9f9dd - -PKG_LICENSE:=GPL-2.0 -PKG_LICENSE_FILES:=COPYING - -PKG_FIXUP:=autoreconf -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/nls.mk - -TARGET_LDFLAGS+=\ - -Wl,-rpath-link=$(STAGING_DIR)/usr/lib $(if $(ICONV_FULL),-liconv) - -define Package/libsoup - SECTION:=libs - CATEGORY:=Libraries - TITLE:=libsoup - URL:=http://live.gnome.org/LibSoup - MAINTAINER:=W. Michael Petullo - DEPENDS:=+glib2 +libxml2 +libgnutls +libsqlite3 $(ICONV_DEPENDS) $(INTL_DEPENDS) -endef - -define Build/Configure - $(call Build/Configure/Default, \ - --enable-ssl \ - --disable-glibtest \ - --without-apache-httpd \ - --without-gnome \ - --without-gssapi \ - --enable-vala=no \ - --disable-more-warnings \ - ) -endef - -define package/libsoup/decription -Libsoup is an HTTP library implementation in C -endef - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/{lib/pkgconfig,include/libsoup-2.4/libsoup} - - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/libsoup-2.4.{so*,la,a} \ - $(1)/usr/lib/ - - $(INSTALL_DATA) \ - $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \ - $(1)/usr/lib/pkgconfig/ - - $(INSTALL_DATA) \ - $(PKG_INSTALL_DIR)/usr/include/libsoup-2.4/libsoup/*.h \ - $(1)/usr/include/libsoup-2.4/libsoup/ -endef - -define Package/libsoup/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/libsoup-2.4.so* \ - $(1)/usr/lib/ -endef - -$(eval $(call BuildPackage,libsoup)) diff --git a/multimedia/grilo-plugins/Makefile b/multimedia/grilo-plugins/Makefile deleted file mode 100644 index 9248099..0000000 --- a/multimedia/grilo-plugins/Makefile +++ /dev/null @@ -1,89 +0,0 @@ -# -# Copyright (C) 2006-2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=grilo-plugins -PKG_VERSION:=0.3.2 -PKG_RELEASE:=1 - -PKG_MAINTAINER:=W. Michael Petullo - -PKG_LICENSE:=LGPLv2.1 -PKG_LICENSE_FILES:=COPYING - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=@GNOME/grilo-plugins/0.3/ -PKG_MD5SUM:=eb25fbe4be83e77f2308d086177a8f4c - -PKG_BUILD_DEPENDS:=glib2 grilo - -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/nls.mk - -define Package/grilo-plugins/Default - SECTION:=multimedia - CATEGORY:=Multimedia - TITLE:=grilo-plugins - URL:=https://wiki.gnome.org/Projects/Grilo -endef - -define Package/grilo-plugins - $(call Package/grilo-plugins/Default) - MENU:=1 - DEPENDS:=+grilo $(ICONV_DEPENDS) $(INTL_DEPENDS) - TITLE:=Plugins for the Grilo framework -endef - -define Package/grilo/decription - Grilo is a framework that provides access to different sources of - multimedia content, using a pluggable system. This package contains - plugins to get information from a number of sources. -endef - -CONFIGURE_ARGS += \ - --enable-static \ - --without-libiconv-prefix \ - --without-libintl-prefix \ - --without-x \ - -define Package/grilo-plugins/install - $(INSTALL_DIR) $(1)/usr/lib/grilo-0.3 -endef - -define BuildPlugin - define Package/grilo-plugins-$(1) - $(call Package/grilo-plugins/Default) - DEPENDS:=grilo-plugins - ifneq ($(4),) - DEPENDS+= $(4) - endif - TITLE:=$(2) plugin - endef - - define Package/grilo-plugins-$(1)/install - $(INSTALL_DIR) $$(1)/usr/lib/grilo-0.3 - for p in $(3); do \ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/grilo-0.3/libgrl$$$$$$$${p}.so $$(1)/usr/lib/grilo-0.3; \ - done - endef - - $$(eval $$(call BuildPackage,grilo-plugins-$(1))) -endef - -$(eval $(call BuildPackage,grilo-plugins)) - -$(eval $(call BuildPlugin,dleyna,DLNA sharing,dleyna,,30)) -$(eval $(call BuildPlugin,dmap,DAAP and DPAP sharing,daap dpap,libdmapsharing,30)) -$(eval $(call BuildPlugin,gravatar,Gravatar provider,gravatar,,30)) -$(eval $(call BuildPlugin,jamendo,Jamendo sharing,jamendo,,30)) -$(eval $(call BuildPlugin,magnatune,Magnatune sharing,magnatune,,30)) -$(eval $(call BuildPlugin,opensubtitles,Openi subtitles provider,opensubtitles,,30)) -$(eval $(call BuildPlugin,raitv,Rai.tv sharing,raitv,,30)) -$(eval $(call BuildPlugin,shoutcast,SHOUTcast sharing,shoutcast,,30)) diff --git a/multimedia/grilo-plugins/patches/0001-dmap-Add-album-disc-number-mapping.patch b/multimedia/grilo-plugins/patches/0001-dmap-Add-album-disc-number-mapping.patch deleted file mode 100644 index 89c3656..0000000 --- a/multimedia/grilo-plugins/patches/0001-dmap-Add-album-disc-number-mapping.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 3cd7fb6af73ca7fdef2557ad31b5c4180534d775 Mon Sep 17 00:00:00 2001 -From: "W. Michael Petullo" -Date: Sat, 9 Jul 2016 09:50:00 -0400 -Subject: [PATCH] dmap: Add album disc number mapping - -Signed-off-by: W. Michael Petullo ---- - src/dmap/grl-daap-db.c | 7 +++++++ - src/dmap/grl-daap.c | 1 + - 2 files changed, 8 insertions(+) - -diff --git a/src/dmap/grl-daap-db.c b/src/dmap/grl-daap-db.c -index 4850073..5bcd804 100644 ---- a/src/dmap/grl-daap-db.c -+++ b/src/dmap/grl-daap-db.c -@@ -161,6 +161,7 @@ grl_daap_db_add (DMAPDb *_db, DMAPRecord *_record) - - gint duration = 0; - gint32 bitrate = 0, -+ disc = 0, - track = 0; - gchar *id_s = NULL, - *title = NULL, -@@ -186,6 +187,8 @@ grl_daap_db_add (DMAPDb *_db, DMAPRecord *_record) - &title, - "track", - &track, -+ "disc", -+ &disc, - "location", - &url, - "has-video", -@@ -217,6 +220,10 @@ grl_daap_db_add (DMAPDb *_db, DMAPRecord *_record) - grl_media_set_bitrate (media, bitrate); - grl_media_set_track_number (media, track); - -+ if (disc != 0) { -+ grl_media_set_album_disc_number (media, disc); -+ } -+ - if (album) { - grl_media_set_album (media, album); - } -diff --git a/src/dmap/grl-daap.c b/src/dmap/grl-daap.c -index 59aa981..796234d 100644 ---- a/src/dmap/grl-daap.c -+++ b/src/dmap/grl-daap.c -@@ -365,6 +365,7 @@ grl_daap_source_supported_keys (GrlSource *source) - - if (!keys) { - keys = grl_metadata_key_list_new (GRL_METADATA_KEY_ALBUM, -+ GRL_METADATA_KEY_ALBUM_DISC_NUMBER, - GRL_METADATA_KEY_ARTIST, - GRL_METADATA_KEY_BITRATE, - GRL_METADATA_KEY_DURATION, --- -2.7.4 - diff --git a/multimedia/grilo/Makefile b/multimedia/grilo/Makefile deleted file mode 100644 index 2daa0d5..0000000 --- a/multimedia/grilo/Makefile +++ /dev/null @@ -1,75 +0,0 @@ -# -# Copyright (C) 2009-2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=grilo -PKG_VERSION:=0.3.1 -PKG_RELEASE:=1 - -PKG_MAINTAINER:=W. Michael Petullo - -PKG_LICENSE:=LGPLv2.1 -PKG_LICENSE_FILES:=COPYING - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=@GNOME/grilo/0.3/ -PKG_MD5SUM:=3b6733633e42143ff90fac1fef34cf42 - -PKG_BUILD_DEPENDS:=glib2 libsoup libxml2 - -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/nls.mk - -TARGET_LDFLAGS+= \ - -Wl,-rpath-link=$(STAGING_DIR)/usr/lib - -define Package/grilo - SECTION:=multimedia - CATEGORY:=Multimedia - TITLE:=grilo - URL:=https://wiki.gnome.org/Projects/Grilo - DEPENDS:=+glib2 +libsoup +libxml2 -endef - -define Package/grilo/decription - Grilo is a framework that provides access to different sources of - multimedia content, using a pluggable system. -endef - -define Build/InstallDev - $(INSTALL_DIR) $(1)/usr/include/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/include/grilo-0.3/ \ - $(1)/usr/include/ - $(INSTALL_DIR) $(1)/usr/lib/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/*.so* \ - $(1)/usr/lib/ - $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/ - $(INSTALL_DATA) \ - $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc \ - $(1)/usr/lib/pkgconfig/ - $(INSTALL_DIR) $(STAGING_DIR_HOSTPKG)/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_HOSTPKG)/share/vala-0.30/vapi -endef - -define Package/grilo/install - $(INSTALL_DIR) $(1)/usr/lib/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/*.so* \ - $(1)/usr/lib/ -endef - -$(eval $(call BuildPackage,grilo)) diff --git a/multimedia/grilo/files/grilo-0.3.vapi b/multimedia/grilo/files/grilo-0.3.vapi deleted file mode 100644 index 6bcd1bd..0000000 --- a/multimedia/grilo/files/grilo-0.3.vapi +++ /dev/null @@ -1,1033 +0,0 @@ -/* grilo-0.3.vapi generated by vapigen-0.30, do not modify. */ - -[CCode (cprefix = "Grl", gir_namespace = "Grl", gir_version = "0.3", lower_case_cprefix = "grl_")] -namespace Grl { - [CCode (cheader_filename = "grilo.h", type_id = "grl_caps_get_type ()")] - public class Caps : GLib.Object { - [CCode (has_construct_function = false)] - public Caps (); - public unowned GLib.List get_key_filter (); - public unowned GLib.List get_key_range_filter (); - public Grl.TypeFilter get_type_filter (); - public bool is_key_filter (Grl.KeyID key); - public bool is_key_range_filter (Grl.KeyID key); - public void set_key_filter (GLib.List keys); - public void set_key_range_filter (GLib.List keys); - public void set_type_filter (Grl.TypeFilter filter); - public bool test_option (string key, GLib.Value value); - } - [CCode (cheader_filename = "grilo.h", type_id = "grl_config_get_type ()")] - public class Config : GLib.Object { - [CCode (array_length = false, array_null_terminated = true)] - public weak void*[] _grl_reserved; - [CCode (has_construct_function = false)] - public Config (string plugin, string? source); - public string get_api_key (); - public uint8 get_api_key_blob (size_t size); - public string get_api_secret (); - public string get_api_token (); - public string get_api_token_secret (); - public uint8 get_binary (string param, size_t? size); - public bool get_boolean (string param); - public float get_float (string param); - public int get_int (string param); - public string get_password (); - public string get_plugin (); - public string get_source (); - public string get_string (string param); - public string get_username (); - public bool has_param (string param); - public void @set (string param, GLib.Value value); - public void set_api_key (string key); - public void set_api_key_blob (uint8 blob, size_t size); - public void set_api_secret (string secret); - public void set_api_token (string token); - public void set_api_token_secret (string secret); - public void set_binary (string param, uint8 blob, size_t size); - public void set_boolean (string param, bool value); - public void set_float (string param, float value); - public void set_int (string param, int value); - public void set_password (string password); - public void set_plugin (string plugin); - public void set_source (string source); - public void set_string (string param, string value); - public void set_username (string username); - } - [CCode (cheader_filename = "grilo.h", type_id = "grl_data_get_type ()")] - public class Data : GLib.Object { - [CCode (array_length = false, array_null_terminated = true)] - public weak void*[] _grl_reserved; - [CCode (has_construct_function = false)] - public Data (); - public void add_binary (Grl.KeyID key, uint8 buf, size_t size); - public void add_boxed (Grl.KeyID key, void* boxed); - public void add_float (Grl.KeyID key, float floatvalue); - public void add_int (Grl.KeyID key, int intvalue); - public void add_int64 (Grl.KeyID key, int64 intvalue); - public void add_related_keys (Grl.RelatedKeys relkeys); - public void add_string (Grl.KeyID key, string strvalue); - public Grl.Data dup (); - public unowned GLib.Value? @get (Grl.KeyID key); - public uint8 get_binary (Grl.KeyID key, out size_t size); - public bool get_boolean (Grl.KeyID key); - public void* get_boxed (Grl.KeyID key); - public float get_float (Grl.KeyID key); - public int get_int (Grl.KeyID key); - public int64 get_int64 (Grl.KeyID key); - public GLib.List get_keys (); - public unowned Grl.RelatedKeys get_related_keys (Grl.KeyID key, uint index); - public GLib.List get_single_values_for_key (Grl.KeyID key); - public GLib.List get_single_values_for_key_string (Grl.KeyID key); - public unowned string get_string (Grl.KeyID key); - public bool has_key (Grl.KeyID key); - public uint length (Grl.KeyID key); - public void remove (Grl.KeyID key); - public void remove_nth (Grl.KeyID key, uint index); - public void @set (Grl.KeyID key, GLib.Value value); - public void set_binary (Grl.KeyID key, uint8 buf, size_t size); - public void set_boolean (Grl.KeyID key, bool boolvalue); - public void set_boxed (Grl.KeyID key, void* boxed); - public void set_float (Grl.KeyID key, float floatvalue); - public void set_int (Grl.KeyID key, int intvalue); - public void set_int64 (Grl.KeyID key, int64 intvalue); - public void set_related_keys (Grl.RelatedKeys relkeys, uint index); - public void set_string (Grl.KeyID key, string strvalue); - } - [CCode (cheader_filename = "grilo.h")] - [Compact] - public class LogDomain { - public void free (); - } - [CCode (cheader_filename = "grilo.h", type_id = "grl_media_get_type ()")] - public class Media : Grl.Data { - [CCode (has_construct_function = false)] - public Media (); - public void add_artist (string artist); - public void add_author (string author); - public void add_director (string director); - public void add_external_player (string player); - public void add_external_url (string url); - public void add_genre (string genre); - public void add_keyword (string keyword); - public void add_lyrics (string lyrics); - public void add_mb_artist_id (string mb_artist_id); - public void add_performer (string performer); - public void add_producer (string producer); - public void add_region_data (string region, GLib.DateTime publication_date, string certificate); - public void add_thumbnail (string thumbnail); - public void add_thumbnail_binary (uint8 thumbnail, size_t size); - public void add_url_data (string url, string mime, int bitrate, float framerate, int width, int height); - [CCode (cname = "grl_media_audio_new", has_construct_function = false)] - public Media.audio_new (); - [CCode (cname = "grl_media_container_new", has_construct_function = false)] - public Media.container_new (); - public unowned string get_album (); - public unowned string get_artist (); - public unowned string get_artist_nth (uint index); - public unowned string get_author (); - public unowned string get_author_nth (uint index); - public int get_bitrate (); - public unowned string get_camera_model (); - public unowned string get_certificate (); - public int get_childcount (); - public unowned GLib.DateTime get_creation_date (); - public unowned string get_description (); - public unowned string get_director (); - public unowned string get_director_nth (uint index); - public int get_duration (); - public int get_episode (); - public unowned string get_episode_title (); - public float get_exposure_time (); - public unowned string get_external_url (); - public unowned string get_external_url_nth (uint index); - public bool get_favourite (); - public unowned string get_flash_used (); - public float get_framerate (); - public unowned string get_genre (); - public unowned string get_genre_nth (uint index); - public int get_height (); - public unowned string get_id (); - public float get_iso_speed (); - public unowned string get_keyword (); - public unowned string get_keyword_nth (uint index); - public GLib.DateTime get_last_played (); - public int get_last_position (); - public unowned string get_license (); - public unowned string get_lyrics (); - public unowned string get_lyrics_nth (uint index); - public unowned string get_mb_album_id (); - public unowned string get_mb_artist_id (); - public unowned string get_mb_artist_id_nth (uint index); - public unowned string get_mb_recording_id (); - public unowned string get_mb_track_id (); - public Grl.MediaType get_media_type (); - public unowned string get_mime (); - public unowned GLib.DateTime get_modification_date (); - public int get_orientation (); - public unowned string get_original_title (); - public unowned string get_performer (); - public unowned string get_performer_nth (uint index); - public int get_play_count (); - public unowned string get_player (); - public unowned string get_player_nth (uint index); - public unowned string get_producer (); - public unowned string get_producer_nth (uint index); - public unowned GLib.DateTime get_publication_date (); - public float get_rating (); - public unowned string get_region (); - public unowned string get_region_data (out unowned GLib.DateTime publication_date, out unowned string certificate); - public unowned string get_region_data_nth (uint index, out unowned GLib.DateTime publication_date, out unowned string certificate); - public int get_season (); - public unowned string get_show (); - public unowned string get_site (); - public int64 get_size (); - public unowned string get_source (); - public float get_start_time (); - public unowned string get_studio (); - public unowned string get_thumbnail (); - public uint8 get_thumbnail_binary (size_t size); - public uint8 get_thumbnail_binary_nth (size_t size, uint index); - public unowned string get_thumbnail_nth (uint index); - public unowned string get_title (); - public int get_track_number (); - public unowned string get_url (); - public unowned string get_url_data (out unowned string mime, out int bitrate, float framerate, int width, int height); - public unowned string get_url_data_nth (uint index, out unowned string mime, out int bitrate, float framerate, int width, int height); - public int get_width (); - [CCode (cname = "grl_media_image_new", has_construct_function = false)] - public Media.image_new (); - public bool is_audio (); - public bool is_container (); - public bool is_image (); - public bool is_video (); - public string serialize (); - public void set_album (string album); - public void set_artist (string artist); - public void set_author (string author); - public void set_bitrate (int bitrate); - public void set_camera_model (string camera_model); - public void set_certificate (string certificate); - public void set_childcount (int childcount); - public void set_creation_date (GLib.DateTime creation_date); - public void set_description (string description); - public void set_director (string director); - public void set_duration (int duration); - public void set_episode (int episode); - public void set_episode_title (string episode_title); - public void set_exposure_time (float exposure_time); - public void set_external_player (string player); - public void set_external_url (string url); - public void set_favourite (bool favourite); - public void set_flash_used (string flash_used); - public void set_framerate (float framerate); - public void set_genre (string genre); - public void set_height (int height); - public void set_id (string id); - public void set_iso_speed (float iso_speed); - public void set_keyword (string keyword); - public void set_last_played (GLib.DateTime last_played); - public void set_last_position (int last_position); - public void set_license (string license); - public void set_lyrics (string lyrics); - public void set_mb_album_id (string mb_album_id); - public void set_mb_artist_id (string mb_artist_id); - public void set_mb_recording_id (string mb_recording_id); - public void set_mb_track_id (string mb_track_id); - public void set_mime (string mime); - public void set_modification_date (GLib.DateTime modification_date); - public void set_orientation (int orientation); - public void set_original_title (string original_title); - public void set_performer (string performer); - public void set_play_count (int play_count); - public void set_producer (string producer); - public void set_publication_date (GLib.DateTime date); - public void set_rating (float rating, float max); - public void set_region (string region); - public void set_region_data (string region, GLib.DateTime publication_date, string certificate); - public void set_season (int season); - public void set_show (string show); - public void set_site (string site); - public void set_size (int64 size); - public void set_source (string source); - public void set_studio (string studio); - public void set_thumbnail (string thumbnail); - public void set_thumbnail_binary (uint8 thumbnail, size_t size); - public void set_title (string title); - public void set_track_number (int track_number); - public void set_url (string url); - public void set_url_data (string url, string mime, int bitrate, float framerate, int width, int height); - public void set_width (int width); - public static Grl.Media unserialize (string serial); - [CCode (cname = "grl_media_video_new", has_construct_function = false)] - public Media.video_new (); - [NoAccessorMethod] - public Grl.MediaType media_type { get; set construct; } - } - [CCode (cheader_filename = "grilo.h", type_id = "grl_operation_options_get_type ()")] - public class OperationOptions : GLib.Object { - [CCode (has_construct_function = false)] - public OperationOptions (Grl.Caps? caps); - public Grl.OperationOptions copy (); - public int get_count (); - public unowned GLib.Value? get_key_filter (Grl.KeyID key); - public GLib.List get_key_filter_list (); - public void get_key_range_filter (Grl.KeyID key, out GLib.Value min_value, out GLib.Value max_value); - public GLib.List get_key_range_filter_list (); - public Grl.ResolutionFlags get_resolution_flags (); - public uint get_skip (); - public Grl.TypeFilter get_type_filter (); - public bool key_is_set (string key); - public bool obey_caps (Grl.Caps caps, out Grl.OperationOptions supported_options, out Grl.OperationOptions unsupported_options); - public bool set_count (int count); - public bool set_key_filter_dictionary (GLib.HashTable filters); - public bool set_key_filter_value (Grl.KeyID key, GLib.Value value); - public bool set_key_range_filter_value (Grl.KeyID key, GLib.Value? min_value, GLib.Value? max_value); - public bool set_resolution_flags (Grl.ResolutionFlags flags); - public bool set_skip (uint skip); - public bool set_type_filter (Grl.TypeFilter filter); - } - [CCode (cheader_filename = "grilo.h", type_id = "grl_plugin_get_type ()")] - public class Plugin : GLib.Object { - [CCode (has_construct_function = false)] - protected Plugin (); - public unowned string get_author (); - public unowned string get_description (); - public unowned string get_filename (); - public unowned string get_id (); - public unowned string get_license (); - public unowned string get_module_name (); - public unowned string get_name (); - public unowned string get_site (); - public GLib.List get_sources (); - public unowned string get_version (); - public void register_keys (); - public void set_filename (string filename); - public void set_id (string id); - public void set_module (GLib.Module module); - public void set_module_name (string module_name); - public void unload (); - [NoAccessorMethod] - public bool loaded { get; } - } - [CCode (cheader_filename = "grilo.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "grl_range_value_get_type ()")] - [Compact] - public class RangeValue { - public GLib.Value max; - public GLib.Value min; - [CCode (has_construct_function = false)] - public RangeValue (GLib.Value min, GLib.Value max); - public Grl.RangeValue dup (); - public void free (); - public static void hashtable_insert (GLib.HashTable hash_table, void* key, GLib.Value min, GLib.Value max); - public static GLib.HashTable hashtable_new (); - } - [CCode (cheader_filename = "grilo.h", type_id = "grl_registry_get_type ()")] - public class Registry : GLib.Object { - [CCode (has_construct_function = false)] - protected Registry (); - public bool activate_all_plugins (); - public bool activate_plugin_by_id (string plugin_id) throws GLib.Error; - public bool add_config (owned Grl.Config config) throws GLib.Error; - public bool add_config_from_file (string config_file) throws GLib.Error; - public bool add_config_from_resource (string resource_path) throws GLib.Error; - public void add_directory (string path); - public static unowned Grl.Registry get_default (); - public GLib.List get_metadata_keys (); - public GLib.List get_plugins (bool only_loaded); - public GLib.List get_sources (bool ranked); - public GLib.List get_sources_by_operations (Grl.SupportedOps ops, bool ranked); - public bool load_all_plugins (bool activate) throws GLib.Error; - public bool load_plugin (string library_filename) throws GLib.Error; - public bool load_plugin_directory (string path) throws GLib.Error; - public Grl.KeyID lookup_metadata_key (string key_name); - public unowned string lookup_metadata_key_desc (Grl.KeyID key); - public unowned string lookup_metadata_key_name (Grl.KeyID key); - public unowned GLib.List lookup_metadata_key_relation (Grl.KeyID key); - public GLib.Type lookup_metadata_key_type (Grl.KeyID key); - public unowned Grl.Plugin lookup_plugin (string plugin_id); - public unowned Grl.Source lookup_source (string source_id); - public bool metadata_key_validate (Grl.KeyID key, GLib.Value value); - public Grl.KeyID register_metadata_key (owned GLib.ParamSpec param_spec, Grl.KeyID bind_key) throws GLib.Error; - public Grl.KeyID register_metadata_key_system (GLib.ParamSpec param_spec, Grl.KeyID key, Grl.KeyID bind_key) throws GLib.Error; - public bool register_source (Grl.Plugin plugin, owned Grl.Source source) throws GLib.Error; - public void restrict_plugins (string plugins); - public void shutdown (); - public bool unload_plugin (string plugin_id) throws GLib.Error; - public bool unregister_source (Grl.Source source) throws GLib.Error; - public signal void metadata_key_added (string key); - public signal void source_added (Grl.Source source); - public signal void source_removed (Grl.Source source); - } - [CCode (cheader_filename = "grilo.h", type_id = "grl_related_keys_get_type ()")] - public class RelatedKeys : GLib.Object { - [CCode (has_construct_function = false)] - public RelatedKeys (); - public Grl.RelatedKeys dup (); - public unowned GLib.Value? @get (Grl.KeyID key); - public uint8 get_binary (Grl.KeyID key, out size_t size); - public bool get_boolean (Grl.KeyID key); - public void* get_boxed (Grl.KeyID key); - public float get_float (Grl.KeyID key); - public int get_int (Grl.KeyID key); - public int64 get_int64 (Grl.KeyID key); - public GLib.List get_keys (); - public unowned string get_string (Grl.KeyID key); - public bool has_key (Grl.KeyID key); - public void remove (Grl.KeyID key); - public void @set (Grl.KeyID key, GLib.Value value); - public void set_binary (Grl.KeyID key, uint8 buf, size_t size); - public void set_boolean (Grl.KeyID key, bool booleanvalue); - public void set_boxed (Grl.KeyID key, void* boxed); - public void set_float (Grl.KeyID key, float floatvalue); - public void set_int (Grl.KeyID key, int intvalue); - public void set_int64 (Grl.KeyID key, int64 intvalue); - public void set_string (Grl.KeyID key, string strvalue); - } - [CCode (cheader_filename = "grilo.h", type_id = "grl_source_get_type ()")] - public abstract class Source : GLib.Object { - [CCode (has_construct_function = false)] - protected Source (); - [NoWrapper] - public virtual void browse (Grl.SourceBrowseSpec bs); - public GLib.List browse_sync (Grl.Media? container, GLib.List keys, Grl.OperationOptions options) throws GLib.Error; - [NoWrapper] - public virtual void cancel (uint operation_id); - [CCode (cname = "grl_source_browse")] - public uint do_browse (Grl.Media? container, GLib.List keys, Grl.OperationOptions options, Grl.SourceResultCb callback); - [CCode (cname = "grl_source_query")] - public uint do_query (string query, GLib.List keys, Grl.OperationOptions options, Grl.SourceResultCb callback); - [CCode (cname = "grl_source_remove")] - public void do_remove (Grl.Media media, Grl.SourceRemoveCb callback); - [CCode (cname = "grl_source_resolve")] - public uint do_resolve (Grl.Media? media, GLib.List keys, Grl.OperationOptions options, Grl.SourceResolveCb callback); - [CCode (cname = "grl_source_search")] - public uint do_search (string text, GLib.List keys, Grl.OperationOptions options, Grl.SourceResultCb callback); - [CCode (cname = "grl_source_store")] - public void do_store (Grl.Media? parent, Grl.Media media, Grl.WriteFlags flags, Grl.SourceStoreCb callback); - [CCode (cname = "grl_source_store_metadata")] - public void do_store_metadata (Grl.Media media, GLib.List? keys, Grl.WriteFlags flags, Grl.SourceStoreCb callback); - public uint get_auto_split_threshold (); - public virtual unowned Grl.Caps get_caps (Grl.SupportedOps operation); - public unowned string get_description (); - public unowned GLib.Icon get_icon (); - public unowned string get_id (); - public uint get_media_from_uri (string uri, GLib.List keys, Grl.OperationOptions options, Grl.SourceResolveCb callback); - public Grl.Media get_media_from_uri_sync (string uri, GLib.List keys, Grl.OperationOptions options) throws GLib.Error; - public unowned string get_name (); - public unowned Grl.Plugin get_plugin (); - public int get_rank (); - public Grl.SupportedMedia get_supported_media (); - [CCode (cname = "grl_source_supported_operations")] - public uint get_supported_operations (); - [CCode (array_length = false, array_null_terminated = true)] - public unowned string[] get_tags (); - public virtual bool may_resolve (Grl.Media media, Grl.KeyID key_id, GLib.List missing_keys); - [NoWrapper] - public virtual void media_from_uri (Grl.SourceMediaFromUriSpec mfus); - public void notify_change (Grl.Media? media, Grl.SourceChangeType change_type, bool location_unknown); - public void notify_change_list (owned GLib.GenericArray changed_medias, Grl.SourceChangeType change_type, bool location_unknown); - public virtual bool notify_change_start () throws GLib.Error; - public virtual bool notify_change_stop () throws GLib.Error; - [NoWrapper] - public virtual void query (Grl.SourceQuerySpec qs); - public GLib.List query_sync (string query, GLib.List keys, Grl.OperationOptions options) throws GLib.Error; - [NoWrapper] - public virtual void remove (Grl.SourceRemoveSpec rs); - public void remove_sync (Grl.Media media) throws GLib.Error; - [NoWrapper] - public virtual void resolve (Grl.SourceResolveSpec ms); - public Grl.Media resolve_sync (Grl.Media? media, GLib.List keys, Grl.OperationOptions options) throws GLib.Error; - [NoWrapper] - public virtual void search (Grl.SourceSearchSpec ss); - public GLib.List search_sync (string text, GLib.List keys, Grl.OperationOptions options) throws GLib.Error; - public void set_auto_split_threshold (uint threshold); - public virtual unowned GLib.List slow_keys (); - [NoWrapper] - public virtual void store (Grl.SourceStoreSpec ss); - [NoWrapper] - public virtual void store_metadata (Grl.SourceStoreMetadataSpec sms); - public GLib.List store_metadata_sync (Grl.Media media, GLib.List? keys, Grl.WriteFlags flags) throws GLib.Error; - public void store_sync (Grl.Media? parent, Grl.Media media, Grl.WriteFlags flags) throws GLib.Error; - public virtual unowned GLib.List supported_keys (); - [NoWrapper] - public virtual Grl.SupportedOps supported_operations (); - public virtual bool test_media_from_uri (string uri); - public virtual unowned GLib.List writable_keys (); - public uint auto_split_threshold { get; set; } - [NoAccessorMethod] - public Grl.Plugin plugin { owned get; set construct; } - [NoAccessorMethod] - public int rank { get; set construct; } - [NoAccessorMethod] - public string source_desc { owned get; set construct; } - [NoAccessorMethod] - public GLib.Icon source_icon { owned get; set construct; } - [NoAccessorMethod] - public string source_id { owned get; set construct; } - [NoAccessorMethod] - public string source_name { owned get; set construct; } - [CCode (array_length = false, array_null_terminated = true)] - [NoAccessorMethod] - public string[] source_tags { owned get; set construct; } - [NoAccessorMethod] - public Grl.SupportedMedia supported_media { get; set construct; } - public signal void content_changed (GLib.GenericArray changed_medias, Grl.SourceChangeType change_type, bool location_unknown); - } - [CCode (cheader_filename = "grilo.h")] - [SimpleType] - public struct KeyID : uint32 { - } - [CCode (cheader_filename = "grilo.h")] - public struct MetadataKey { - [CCode (cname = "GRL_METADATA_KEY_INVALID")] - public static Grl.KeyID INVALID; - [CCode (cname = "GRL_METADATA_KEY_ALBUM")] - public static Grl.KeyID ALBUM; - [CCode (cname = "GRL_METADATA_KEY_ARTIST")] - public static Grl.KeyID ARTIST; - [CCode (cname = "GRL_METADATA_KEY_AUTHOR")] - public static Grl.KeyID AUTHOR; - [CCode (cname = "GRL_METADATA_KEY_BITRATE")] - public static Grl.KeyID BITRATE; - [CCode (cname = "GRL_METADATA_KEY_CERTIFICATE")] - public static Grl.KeyID CERTIFICATE; - [CCode (cname = "GRL_METADATA_KEY_CHILDCOUNT")] - public static Grl.KeyID CHILDCOUNT; - [CCode (cname = "GRL_METADATA_KEY_PUBLICATION_DATE")] - public static Grl.KeyID PUBLICATION_DATE; - [CCode (cname = "GRL_METADATA_KEY_DESCRIPTION")] - public static Grl.KeyID DESCRIPTION; - [CCode (cname = "GRL_METADATA_KEY_DURATION")] - public static Grl.KeyID DURATION; - [CCode (cname = "GRL_METADATA_KEY_EXTERNAL_PLAYER")] - public static Grl.KeyID EXTERNAL_PLAYER; - [CCode (cname = "GRL_METADATA_KEY_EXTERNAL_URL")] - public static Grl.KeyID EXTERNAL_URL; - [CCode (cname = "GRL_METADATA_KEY_FRAMERATE")] - public static Grl.KeyID FRAMERATE; - [CCode (cname = "GRL_METADATA_KEY_GENRE")] - public static Grl.KeyID GENRE; - [CCode (cname = "GRL_METADATA_KEY_HEIGHT")] - public static Grl.KeyID HEIGHT; - [CCode (cname = "GRL_METADATA_KEY_ID")] - public static Grl.KeyID ID; - [CCode (cname = "GRL_METADATA_KEY_LAST_PLAYED")] - public static Grl.KeyID LAST_PLAYED; - [CCode (cname = "GRL_METADATA_KEY_LAST_POSITION")] - public static Grl.KeyID LAST_POSITION; - [CCode (cname = "GRL_METADATA_KEY_LICENSE")] - public static Grl.KeyID LICENSE; - [CCode (cname = "GRL_METADATA_KEY_LYRICS")] - public static Grl.KeyID LYRICS; - [CCode (cname = "GRL_METADATA_KEY_MIME")] - public static Grl.KeyID MIME; - [CCode (cname = "GRL_METADATA_KEY_PLAY_COUNT")] - public static Grl.KeyID PLAY_COUNT; - [CCode (cname = "GRL_METADATA_KEY_RATING")] - public static Grl.KeyID RATING; - [CCode (cname = "GRL_METADATA_KEY_REGION")] - public static Grl.KeyID REGION; - [CCode (cname = "GRL_METADATA_KEY_SITE")] - public static Grl.KeyID SITE; - [CCode (cname = "GRL_METADATA_KEY_SOURCE")] - public static Grl.KeyID SOURCE; - [CCode (cname = "GRL_METADATA_KEY_STUDIO")] - public static Grl.KeyID STUDIO; - [CCode (cname = "GRL_METADATA_KEY_THUMBNAIL")] - public static Grl.KeyID THUMBNAIL; - [CCode (cname = "GRL_METADATA_KEY_THUMBNAIL_BINARY")] - public static Grl.KeyID THUMBNAIL_BINARY; - [CCode (cname = "GRL_METADATA_KEY_TITLE")] - public static Grl.KeyID TITLE; - [CCode (cname = "GRL_METADATA_KEY_URL")] - public static Grl.KeyID URL; - [CCode (cname = "GRL_METADATA_KEY_WIDTH")] - public static Grl.KeyID WIDTH; - [CCode (cname = "GRL_METADATA_KEY_SEASON")] - public static Grl.KeyID SEASON; - [CCode (cname = "GRL_METADATA_KEY_EPISODE")] - public static Grl.KeyID EPISODE; - [CCode (cname = "GRL_METADATA_KEY_EPISODE_TITLE")] - public static Grl.KeyID EPISODE_TITLE; - [CCode (cname = "GRL_METADATA_KEY_SHOW")] - public static Grl.KeyID SHOW; - [CCode (cname = "GRL_METADATA_KEY_CREATION_DATE")] - public static Grl.KeyID CREATION_DATE; - [CCode (cname = "GRL_METADATA_KEY_CAMERA_MODEL")] - public static Grl.KeyID CAMERA_MODEL; - [CCode (cname = "GRL_METADATA_KEY_ORIENTATION")] - public static Grl.KeyID ORIENTATION; - [CCode (cname = "GRL_METADATA_KEY_FLASH_USED")] - public static Grl.KeyID FLASH_USED; - [CCode (cname = "GRL_METADATA_KEY_EXPOSURE_TIME")] - public static Grl.KeyID EXPOSURE_TIME; - [CCode (cname = "GRL_METADATA_KEY_ISO_SPEED")] - public static Grl.KeyID ISO_SPEED; - [CCode (cname = "GRL_METADATA_KEY_TRACK_NUMBER")] - public static Grl.KeyID TRACK_NUMBER; - [CCode (cname = "GRL_METADATA_KEY_MODIFICATION_DATE")] - public static Grl.KeyID MODIFICATION_DATE; - [CCode (cname = "GRL_METADATA_KEY_START_TIME")] - public static Grl.KeyID START_TIME; - [CCode (cname = "GRL_METADATA_KEY_KEYWORD")] - public static Grl.KeyID KEYWORD; - [CCode (cname = "GRL_METADATA_KEY_PERFORMER")] - public static Grl.KeyID PERFORMER; - [CCode (cname = "GRL_METADATA_KEY_PRODUCER")] - public static Grl.KeyID PRODUCER; - [CCode (cname = "GRL_METADATA_KEY_DIRECTOR")] - public static Grl.KeyID DIRECTOR; - [CCode (cname = "GRL_METADATA_KEY_ORIGINAL_TITLE")] - public static Grl.KeyID ORIGINAL_TITLE; - [CCode (cname = "GRL_METADATA_KEY_MB_ALBUM_ID")] - public static Grl.KeyID MB_ALBUM_ID; - [CCode (cname = "GRL_METADATA_KEY_MB_TRACK_ID")] - public static Grl.KeyID MB_TRACK_ID; - [CCode (cname = "GRL_METADATA_KEY_MB_ARTIST_ID")] - public static Grl.KeyID MB_ARTIST_ID; - [CCode (cname = "GRL_METADATA_KEY_MB_RECORDING_ID")] - public static Grl.KeyID MB_RECORDING_ID; - [CCode (cname = "GRL_METADATA_KEY_AUDIO_TRACK")] - public static Grl.KeyID AUDIO_TRACK; - [CCode (cname = "GRL_METADATA_KEY_CHILDCOUNT_UNKNOWN")] - public static uint CHILDCOUNT_UNKNOWN; - [CCode (cname = "GRL_SOURCE_REMAINING_UNKNOWN")] - public static uint REMAINING_UNKNOWN; - public static GLib.List list_new (Grl.KeyID p, ...); - } - [CCode (cheader_filename = "grilo.h", has_type_id = false)] - public struct SourceBrowseSpec { - public weak Grl.Source source; - public uint operation_id; - public weak Grl.Media container; - public weak GLib.List keys; - public weak Grl.OperationOptions options; - [CCode (delegate_target_cname = "user_data")] - public weak Grl.SourceResultCb callback; - public void* user_data; - } - [CCode (cheader_filename = "grilo.h", has_type_id = false)] - public struct SourceMediaFromUriSpec { - public weak Grl.Source source; - public uint operation_id; - public weak string uri; - public weak GLib.List keys; - public weak Grl.OperationOptions options; - [CCode (delegate_target_cname = "user_data")] - public weak Grl.SourceResolveCb callback; - public void* user_data; - } - [CCode (cheader_filename = "grilo.h", has_type_id = false)] - public struct SourceQuerySpec { - public weak Grl.Source source; - public uint operation_id; - public weak string query; - public weak GLib.List keys; - public weak Grl.OperationOptions options; - [CCode (delegate_target_cname = "user_data")] - public weak Grl.SourceResultCb callback; - public void* user_data; - } - [CCode (cheader_filename = "grilo.h", has_type_id = false)] - public struct SourceRemoveSpec { - public weak Grl.Source source; - public weak string media_id; - public weak Grl.Media media; - [CCode (delegate_target_cname = "user_data")] - public weak Grl.SourceRemoveCb callback; - public void* user_data; - } - [CCode (cheader_filename = "grilo.h", has_type_id = false)] - public struct SourceResolveSpec { - public weak Grl.Source source; - public uint operation_id; - public weak Grl.Media media; - public weak GLib.List keys; - public weak Grl.OperationOptions options; - [CCode (delegate_target_cname = "user_data")] - public weak Grl.SourceResolveCb callback; - public void* user_data; - } - [CCode (cheader_filename = "grilo.h", has_type_id = false)] - public struct SourceSearchSpec { - public weak Grl.Source source; - public uint operation_id; - public weak string text; - public weak GLib.List keys; - public weak Grl.OperationOptions options; - [CCode (delegate_target_cname = "user_data")] - public weak Grl.SourceResultCb callback; - public void* user_data; - } - [CCode (cheader_filename = "grilo.h", has_type_id = false)] - public struct SourceStoreMetadataSpec { - public weak Grl.Source source; - public weak Grl.Media media; - public weak GLib.List keys; - public Grl.WriteFlags flags; - [CCode (delegate_target_cname = "user_data")] - public weak Grl.SourceStoreCb callback; - public void* user_data; - public weak GLib.List failed_keys; - } - [CCode (cheader_filename = "grilo.h", has_type_id = false)] - public struct SourceStoreSpec { - public weak Grl.Source source; - public weak Grl.Media parent; - public weak Grl.Media media; - [CCode (delegate_target_cname = "user_data")] - public weak Grl.SourceStoreCb callback; - public string user_data; - } - [CCode (cheader_filename = "grilo.h", cprefix = "GRL_CORE_ERROR_", has_type_id = false)] - public enum CoreError { - BROWSE_FAILED, - SEARCH_FAILED, - SEARCH_NULL_UNSUPPORTED, - QUERY_FAILED, - RESOLVE_FAILED, - MEDIA_NOT_FOUND, - STORE_FAILED, - STORE_METADATA_FAILED, - REMOVE_FAILED, - MEDIA_FROM_URI_FAILED, - CONFIG_LOAD_FAILED, - CONFIG_FAILED, - UNREGISTER_SOURCE_FAILED, - LOAD_PLUGIN_FAILED, - UNLOAD_PLUGIN_FAILED, - REGISTER_METADATA_KEY_FAILED, - NOTIFY_CHANGED_FAILED, - OPERATION_CANCELLED, - AUTHENTICATION_TOKEN - } - [CCode (cheader_filename = "grilo.h", cprefix = "GRL_LOG_LEVEL_", has_type_id = false)] - public enum LogLevel { - NONE, - ERROR, - WARNING, - MESSAGE, - INFO, - DEBUG, - LAST - } - [CCode (cheader_filename = "grilo.h", cprefix = "GRL_MEDIA_SERIALIZE_", type_id = "grl_media_serialize_type_get_type ()")] - public enum MediaSerializeType { - BASIC, - PARTIAL, - FULL - } - [CCode (cheader_filename = "grilo.h", cprefix = "GRL_MEDIA_TYPE_", type_id = "grl_media_type_get_type ()")] - public enum MediaType { - UNKNOWN, - AUDIO, - VIDEO, - IMAGE, - CONTAINER - } - [CCode (cheader_filename = "grilo.h", cprefix = "GRL_RANK_", has_type_id = false)] - public enum Rank { - LOWEST, - LOW, - DEFAULT, - HIGH, - HIGHEST - } - [CCode (cheader_filename = "grilo.h", cprefix = "GRL_RESOLVE_", type_id = "grl_resolution_flags_get_type ()")] - [Flags] - public enum ResolutionFlags { - NORMAL, - FULL, - IDLE_RELAY, - FAST_ONLY - } - [CCode (cheader_filename = "grilo.h", cprefix = "GRL_CONTENT_", type_id = "grl_source_change_type_get_type ()")] - public enum SourceChangeType { - CHANGED, - ADDED, - REMOVED - } - [CCode (cheader_filename = "grilo.h", cprefix = "GRL_SUPPORTED_MEDIA_", type_id = "grl_supported_media_get_type ()")] - [Flags] - public enum SupportedMedia { - NONE, - AUDIO, - VIDEO, - IMAGE, - ALL - } - [CCode (cheader_filename = "grilo.h", cprefix = "GRL_OP_", type_id = "grl_supported_ops_get_type ()")] - [Flags] - public enum SupportedOps { - NONE, - RESOLVE, - BROWSE, - SEARCH, - QUERY, - STORE, - STORE_PARENT, - STORE_METADATA, - REMOVE, - MEDIA_FROM_URI, - NOTIFY_CHANGE - } - [CCode (cheader_filename = "grilo.h", cprefix = "GRL_TYPE_FILTER_", type_id = "grl_type_filter_get_type ()")] - [Flags] - public enum TypeFilter { - NONE, - AUDIO, - VIDEO, - IMAGE, - ALL - } - [CCode (cheader_filename = "grilo.h", cprefix = "GRL_WRITE_", type_id = "grl_write_flags_get_type ()")] - [Flags] - public enum WriteFlags { - NORMAL, - FULL - } - [CCode (cheader_filename = "grilo.h", has_target = false)] - public delegate void OperationCancelCb (void* data); - [CCode (cheader_filename = "grilo.h", has_target = false)] - public delegate void PluginDeinitFunc (Grl.Plugin plugin); - [CCode (cheader_filename = "grilo.h", has_target = false)] - public delegate void PluginRegisterKeysFunc (Grl.Registry registry, Grl.Plugin plugin); - [CCode (cheader_filename = "grilo.h", instance_pos = 2.9)] - public delegate void SourceRemoveCb (Grl.Source source, owned Grl.Media media, GLib.Error? error); - [CCode (cheader_filename = "grilo.h", instance_pos = 3.9)] - public delegate void SourceResolveCb (Grl.Source source, uint operation_id, owned Grl.Media media, GLib.Error? error); - [CCode (cheader_filename = "grilo.h", instance_pos = 4.9)] - public delegate void SourceResultCb (Grl.Source source, uint operation_id, owned Grl.Media? media, uint remaining, GLib.Error? error); - [CCode (cheader_filename = "grilo.h", instance_pos = 3.9)] - public delegate void SourceStoreCb (Grl.Source source, owned Grl.Media media, GLib.List failed_keys, GLib.Error? error); - [CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_APIKEY")] - public const string CONFIG_KEY_APIKEY; - [CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_APIKEY_BLOB")] - public const string CONFIG_KEY_APIKEY_BLOB; - [CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_APISECRET")] - public const string CONFIG_KEY_APISECRET; - [CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_APITOKEN")] - public const string CONFIG_KEY_APITOKEN; - [CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_APITOKEN_SECRET")] - public const string CONFIG_KEY_APITOKEN_SECRET; - [CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_PASSWORD")] - public const string CONFIG_KEY_PASSWORD; - [CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_PLUGIN")] - public const string CONFIG_KEY_PLUGIN; - [CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_SOURCE")] - public const string CONFIG_KEY_SOURCE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_CONFIG_KEY_USERNAME")] - public const string CONFIG_KEY_USERNAME; - [CCode (cheader_filename = "grilo.h", cname = "GRL_COUNT_INFINITY")] - public const int COUNT_INFINITY; - [CCode (cheader_filename = "grilo.h", cname = "GRL_KEYID_FORMAT")] - public const string KEYID_FORMAT; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_ALBUM")] - public const int METADATA_KEY_ALBUM; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_ARTIST")] - public const int METADATA_KEY_ARTIST; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_AUDIO_TRACK")] - public const int METADATA_KEY_AUDIO_TRACK; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_AUTHOR")] - public const int METADATA_KEY_AUTHOR; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_BITRATE")] - public const int METADATA_KEY_BITRATE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_CAMERA_MODEL")] - public const int METADATA_KEY_CAMERA_MODEL; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_CERTIFICATE")] - public const int METADATA_KEY_CERTIFICATE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_CHILDCOUNT")] - public const int METADATA_KEY_CHILDCOUNT; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_CHILDCOUNT_UNKNOWN")] - public const int METADATA_KEY_CHILDCOUNT_UNKNOWN; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_CREATION_DATE")] - public const int METADATA_KEY_CREATION_DATE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_DESCRIPTION")] - public const int METADATA_KEY_DESCRIPTION; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_DIRECTOR")] - public const int METADATA_KEY_DIRECTOR; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_DURATION")] - public const int METADATA_KEY_DURATION; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_EPISODE")] - public const int METADATA_KEY_EPISODE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_EPISODE_TITLE")] - public const int METADATA_KEY_EPISODE_TITLE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_EXPOSURE_TIME")] - public const int METADATA_KEY_EXPOSURE_TIME; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_EXTERNAL_PLAYER")] - public const int METADATA_KEY_EXTERNAL_PLAYER; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_EXTERNAL_URL")] - public const int METADATA_KEY_EXTERNAL_URL; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_FAVOURITE")] - public const int METADATA_KEY_FAVOURITE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_FLASH_USED")] - public const int METADATA_KEY_FLASH_USED; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_FRAMERATE")] - public const int METADATA_KEY_FRAMERATE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_GENRE")] - public const int METADATA_KEY_GENRE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_HEIGHT")] - public const int METADATA_KEY_HEIGHT; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_ID")] - public const int METADATA_KEY_ID; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_INVALID")] - public const int METADATA_KEY_INVALID; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_ISO_SPEED")] - public const int METADATA_KEY_ISO_SPEED; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_KEYWORD")] - public const int METADATA_KEY_KEYWORD; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_LAST_PLAYED")] - public const int METADATA_KEY_LAST_PLAYED; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_LAST_POSITION")] - public const int METADATA_KEY_LAST_POSITION; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_LICENSE")] - public const int METADATA_KEY_LICENSE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_LYRICS")] - public const int METADATA_KEY_LYRICS; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_MB_ALBUM_ID")] - public const int METADATA_KEY_MB_ALBUM_ID; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_MB_ARTIST_ID")] - public const int METADATA_KEY_MB_ARTIST_ID; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_MB_RECORDING_ID")] - public const int METADATA_KEY_MB_RECORDING_ID; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_MB_TRACK_ID")] - public const int METADATA_KEY_MB_TRACK_ID; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_MIME")] - public const int METADATA_KEY_MIME; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_MODIFICATION_DATE")] - public const int METADATA_KEY_MODIFICATION_DATE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_ORIENTATION")] - public const int METADATA_KEY_ORIENTATION; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_ORIGINAL_TITLE")] - public const int METADATA_KEY_ORIGINAL_TITLE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_PERFORMER")] - public const int METADATA_KEY_PERFORMER; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_PLAY_COUNT")] - public const int METADATA_KEY_PLAY_COUNT; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_PRODUCER")] - public const int METADATA_KEY_PRODUCER; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_PUBLICATION_DATE")] - public const int METADATA_KEY_PUBLICATION_DATE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_RATING")] - public const int METADATA_KEY_RATING; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_REGION")] - public const int METADATA_KEY_REGION; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_SEASON")] - public const int METADATA_KEY_SEASON; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_SHOW")] - public const int METADATA_KEY_SHOW; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_SITE")] - public const int METADATA_KEY_SITE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_SIZE")] - public const int METADATA_KEY_SIZE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_SOURCE")] - public const int METADATA_KEY_SOURCE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_START_TIME")] - public const int METADATA_KEY_START_TIME; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_STUDIO")] - public const int METADATA_KEY_STUDIO; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_THUMBNAIL")] - public const int METADATA_KEY_THUMBNAIL; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_THUMBNAIL_BINARY")] - public const int METADATA_KEY_THUMBNAIL_BINARY; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_TITLE")] - public const int METADATA_KEY_TITLE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_TITLE_FROM_FILENAME")] - public const int METADATA_KEY_TITLE_FROM_FILENAME; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_TRACK_NUMBER")] - public const int METADATA_KEY_TRACK_NUMBER; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_URL")] - public const int METADATA_KEY_URL; - [CCode (cheader_filename = "grilo.h", cname = "GRL_METADATA_KEY_WIDTH")] - public const int METADATA_KEY_WIDTH; - [CCode (cheader_filename = "grilo.h", cname = "GRL_OPERATION_OPTION_COUNT")] - public const string OPERATION_OPTION_COUNT; - [CCode (cheader_filename = "grilo.h", cname = "GRL_OPERATION_OPTION_KEY_EQUAL_FILTER")] - public const string OPERATION_OPTION_KEY_EQUAL_FILTER; - [CCode (cheader_filename = "grilo.h", cname = "GRL_OPERATION_OPTION_KEY_RANGE_FILTER")] - public const string OPERATION_OPTION_KEY_RANGE_FILTER; - [CCode (cheader_filename = "grilo.h", cname = "GRL_OPERATION_OPTION_RESOLUTION_FLAGS")] - public const string OPERATION_OPTION_RESOLUTION_FLAGS; - [CCode (cheader_filename = "grilo.h", cname = "GRL_OPERATION_OPTION_SKIP")] - public const string OPERATION_OPTION_SKIP; - [CCode (cheader_filename = "grilo.h", cname = "GRL_OPERATION_OPTION_TYPE_FILTER")] - public const string OPERATION_OPTION_TYPE_FILTER; - [CCode (cheader_filename = "grilo.h", cname = "GRL_PADDING")] - public const int PADDING; - [CCode (cheader_filename = "grilo.h", cname = "GRL_PADDING_SMALL")] - public const int PADDING_SMALL; - [CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_AUTHOR")] - public const string PLUGIN_AUTHOR; - [CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_DESCRIPTION")] - public const string PLUGIN_DESCRIPTION; - [CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_LICENSE")] - public const string PLUGIN_LICENSE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_LIST_VAR")] - public const string PLUGIN_LIST_VAR; - [CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_NAME")] - public const string PLUGIN_NAME; - [CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_PATH_VAR")] - public const string PLUGIN_PATH_VAR; - [CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_RANKS_VAR")] - public const string PLUGIN_RANKS_VAR; - [CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_SITE")] - public const string PLUGIN_SITE; - [CCode (cheader_filename = "grilo.h", cname = "GRL_PLUGIN_VERSION")] - public const string PLUGIN_VERSION; - [CCode (cheader_filename = "grilo.h", cname = "GRL_SOURCE_REMAINING_UNKNOWN")] - public const int SOURCE_REMAINING_UNKNOWN; - [CCode (cheader_filename = "grilo.h")] - public static GLib.DateTime date_time_from_iso8601 (string date); - [CCode (cheader_filename = "grilo.h")] - public static void deinit (); - [CCode (cheader_filename = "grilo.h")] - public static GLib.Value? g_value_dup (GLib.Value value); - [CCode (cheader_filename = "grilo.h")] - public static void g_value_free (GLib.Value value); - [CCode (cheader_filename = "grilo.h")] - public static GLib.HashTable g_value_hashtable_new (); - [CCode (cheader_filename = "grilo.h")] - public static GLib.HashTable g_value_hashtable_new_direct (); - [CCode (cheader_filename = "grilo.h")] - public static GLib.Value? g_value_new (GLib.Type g_type); - [CCode (cheader_filename = "grilo.h")] - public static void init ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv); - [CCode (cheader_filename = "grilo.h")] - public static GLib.OptionGroup init_get_option_group (); - [CCode (cheader_filename = "grilo.h")] - public static void log_configure (string config); - [CCode (cheader_filename = "grilo.h")] - public static void marshal_VOID__BOXED_ENUM_BOOLEAN (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data); - [CCode (cheader_filename = "grilo.h")] - public static unowned string metadata_key_get_desc (Grl.KeyID key); - [CCode (cheader_filename = "grilo.h")] - public static unowned string metadata_key_get_name (Grl.KeyID key); - [CCode (cheader_filename = "grilo.h")] - public static GLib.Type metadata_key_get_type (Grl.KeyID key); - [CCode (cheader_filename = "grilo.h")] - public static void metadata_key_setup_system_keys (Grl.Registry registry); - [CCode (cheader_filename = "grilo.h")] - public static void multiple_get_media_from_uri (string uri, GLib.List keys, Grl.OperationOptions options, Grl.SourceResolveCb callback); - [CCode (cheader_filename = "grilo.h")] - public static uint multiple_search (GLib.List? sources, string text, GLib.List keys, Grl.OperationOptions options, Grl.SourceResultCb callback); - [CCode (cheader_filename = "grilo.h")] - public static GLib.List multiple_search_sync (GLib.List? sources, string text, GLib.List keys, Grl.OperationOptions options) throws GLib.Error; - [CCode (cheader_filename = "grilo.h")] - public static void operation_cancel (uint operation_id); - [CCode (cheader_filename = "grilo.h")] - public static uint operation_generate_id (); - [CCode (cheader_filename = "grilo.h")] - public static void* operation_get_data (uint operation_id); - [CCode (cheader_filename = "grilo.h")] - public static void operation_init (); - [CCode (cheader_filename = "grilo.h")] - public static void operation_remove (uint operation_id); - [CCode (cheader_filename = "grilo.h")] - public static void operation_set_data (uint operation_id, void* user_data); - [CCode (cheader_filename = "grilo.h")] - public static void operation_set_data_full (uint operation_id, void* user_data, GLib.DestroyNotify? destroy_func); - [CCode (cheader_filename = "grilo.h")] - public static void operation_set_private_data (uint operation_id, void* private_data, [CCode (destroy_notify_pos = 3.1)] owned Grl.OperationCancelCb cancel_cb); - [CCode (cheader_filename = "grilo.h")] - public static void paging_translate (uint skip, uint count, uint max_page_size, uint page_size, uint page_number, uint internal_offset); -} diff --git a/multimedia/grilo/files/grilo-net-0.3.vapi b/multimedia/grilo/files/grilo-net-0.3.vapi deleted file mode 100644 index b5f6cef..0000000 --- a/multimedia/grilo/files/grilo-net-0.3.vapi +++ /dev/null @@ -1,43 +0,0 @@ -/* 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? 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 - } -} diff --git a/multimedia/gst1-plugins-good/Makefile b/multimedia/gst1-plugins-good/Makefile deleted file mode 100644 index 27b4e69..0000000 --- a/multimedia/gst1-plugins-good/Makefile +++ /dev/null @@ -1,237 +0,0 @@ -# -# Copyright (C) 2009-2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=gst1-plugins-good -PKG_VERSION:=1.8.2 -PKG_RELEASE:=1 - -PKG_MAINTAINER:=W. Michael Petullo \ - Ted Hess - -PKG_LICENSE:=LGPLv2 -PKG_LICENSE_FILES:=COPYING - -PKG_BUILD_DIR:=$(BUILD_DIR)/gst-plugins-good-$(PKG_VERSION) -PKG_SOURCE:=gst-plugins-good-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=http://gstreamer.freedesktop.org/src/gst-plugins-good/ -PKG_MD5SUM:=8d7549118a3b7a009ece6bb38a05b66709c551d32d2adfd89eded4d1d7a23944 - -PKG_BUILD_DEPENDS:= libgstreamer1 gstreamer1-plugins-base - -PKG_FIXUP:=autoreconf -PKG_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/nls.mk - -GST_GOOD_MODULES:= - -define Package/gstreamer1-good/Default - CATEGORY:=Multimedia - SECTION:=multimedia - TITLE:=GStreamer - URL:=http://gstreamer.freedesktop.org/ - DEPENDS:= +libgstreamer1 $(ICONV_DEPENDS) -endef - -define Package/gstreamer1-good/description/Default - GStreamer open source multimedia framework -endef - - -define Package/gst1-plugins-good -$(call Package/gstreamer1-good/Default) - TITLE+= plugins collection (good) - DEPENDS+= $(GST_DEPENDS) - HIDDEN:=1 -endef - -define Package/gst1-plugins-good/description -$(call Package/gstreamer1-good/description/Default) - . - This meta package contains only dependencies to the other plugins from - the good plugins collection. -endef - - -define Package/gstreamer1-plugins-good - $(call Package/gstreamer1-good/Default) - TITLE+= plugins collection (good) - DEPENDS:=+ALL:gst1-plugins-good +gstreamer1-plugins-base -endef - -define Package/gstreamer1-plugins-good/config - menu "Select GStreamer good modules" - depends on PACKAGE_gstreamer1-plugins-good - - - config gst1-plugins-good-all - bool "Include all GStreamer good plugins" - select PACKAGE_gst1-plugins-good - - comment "Modules" - - $(foreach mod,$(GST_GOOD_MODULES), \ - config PACKAGE_gst1-mod-$(mod) - prompt "GStreamer $(mod) module" - - ) - - endmenu - -endef - -GST_VERSION:=1.0 - -CONFIGURE_ARGS += \ - --disable-debug \ - --disable-examples \ - \ - --disable-aalib \ - --disable-annodex \ - --disable-bz2 \ - --disable-cairo \ - --disable-directsound \ - --disable-dv1394 \ - --disable-esd \ - --disable-gconf \ - --disable-gconftool \ - --disable-gdk_pixbuf \ - --disable-hal \ - --disable-libcaca \ - --disable-libdv \ - --disable-osx_audio \ - --disable-osx_video \ - --disable-pulse \ - --disable-qtdemux \ - --disable-rtspmanager \ - --disable-shout2 \ - --disable-sunaudio \ - --disable-wavpack \ - --disable-x \ - --disable-xshm \ - --disable-xvideo \ - --disable-y4m \ - --disable-zlib \ - \ - --without-libiconv-prefix \ - --without-libintl-prefix \ - --without-x \ - -EXTRA_LDFLAGS+= \ - -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ - $(if $(ICONV_FULL),-liconv) \ - - -define Package/gst1-plugins-good/install - /bin/true -endef - - -# 1: short name -# 2: description -# 3: dependencies on other gstreamer libraries (short name) -# 4: dependencies on other gstreamer plugins (short name) -# 5: dependencies on other packages -define GstBuildPlugin - - GST_DEPENDS += +gst1-mod-$(1) - - GST_GOOD_MODULES+= $(1) - - define Package/gst1-mod-$(1) - $(call Package/gstreamer1-good/Default) - TITLE+= $(2) plugin (good) - DEPENDS+= $$(foreach p,$(3),+libgst1$$(p)) $$(foreach p,$(4),+gst1-mod-$$(p)) $(5) - HIDDEN:=1 - endef - - define Package/gst1-mod-$(1)/description - $(call Package/gstreamer1-good/description/Default) - . - This package contains the GStreamer $(2) plugin. - endef - - define Package/gst1-mod-$(1)/install - $(INSTALL_DIR) $$(1)/usr/lib/gstreamer-$(GST_VERSION) - ( cd $(PKG_INSTALL_DIR); $(CP) \ - ./usr/lib/gstreamer-$(GST_VERSION)/libgst$(1).so* \ - $$(1)/usr/lib/gstreamer-$(GST_VERSION)/ \ - ) - endef - - $$(eval $$(call BuildPackage,gst1-mod-$(1))) -endef - -#$(eval $(call GstBuildPlugin,1394,IEEE 1394 support,,,)) -$(eval $(call GstBuildPlugin,alaw,alaw codec,audio,,)) -$(eval $(call GstBuildPlugin,alpha,alpha support,video,,)) -$(eval $(call GstBuildPlugin,alphacolor,alphacolor support,video,,)) -$(eval $(call GstBuildPlugin,apetag,apetag support,audio pbutils tag video,,)) -$(eval $(call GstBuildPlugin,audiofx,audio effects,audio fft controller,,)) -$(eval $(call GstBuildPlugin,audioparsers,audioparsers,audio tag pbutils,,)) -$(eval $(call GstBuildPlugin,auparse,auparse,audio tag pbutils,,)) -$(eval $(call GstBuildPlugin,autodetect,format auto-detection,,,)) -$(eval $(call GstBuildPlugin,avi,avi support,audio riff tag video,,)) -$(eval $(call GstBuildPlugin,cutter,audio cutter,audio,,)) -$(eval $(call GstBuildPlugin,debug,debugging,,,)) -$(eval $(call GstBuildPlugin,deinterlace,deinterlace support,video,,)) -$(eval $(call GstBuildPlugin,dtmf,dtmf support,rtp,,)) -#$(eval $(call GstBuildPlugin,dv,dv support,audio tag video,,)) -$(eval $(call GstBuildPlugin,effectv,effectvsupport,video,,)) -$(eval $(call GstBuildPlugin,equalizer,audio equalizer,audio controller,,)) -$(eval $(call GstBuildPlugin,flac,FLAC codec,audio pbutils tag,,+libflac)) -$(eval $(call GstBuildPlugin,flv,flv codec,audio pbutils tag video,,)) -$(eval $(call GstBuildPlugin,flxdec,flx codec,,,)) -#$(eval $(call GstBuildPlugin,gdkpixbuf,gdkpixbuf support,video,,)) -$(eval $(call GstBuildPlugin,goom2k1,goom support,audio video pbutils,,)) -$(eval $(call GstBuildPlugin,goom,goom support,audio video pbutils,,)) -$(eval $(call GstBuildPlugin,icydemux,icy demuxer,audio tag,,)) -$(eval $(call GstBuildPlugin,id3demux,ID3v1/v2 demuxer,pbutils tag,,)) -$(eval $(call GstBuildPlugin,imagefreeze,imagefreeze support,,,)) -$(eval $(call GstBuildPlugin,interleave,audio interleave,audio,,)) -$(eval $(call GstBuildPlugin,isomp4,isomp4 support,audio pbutils riff rtp tag video,,)) -#$(eval $(call GstBuildPlugin,jack,jack support,audio,,)) -$(eval $(call GstBuildPlugin,jpeg,jpeg support,video,,+libjpeg)) -$(eval $(call GstBuildPlugin,level,audio level,audio,,)) -$(eval $(call GstBuildPlugin,matroska,matroska support,audio pbutils riff tag video,,)) -$(eval $(call GstBuildPlugin,mulaw,mulaw support,audio,,)) -$(eval $(call GstBuildPlugin,multifile,multiple files access,video,,)) -$(eval $(call GstBuildPlugin,multipart,multipart stream handling,,,)) -$(eval $(call GstBuildPlugin,navigationtest,navigationtest support,video,,)) -$(eval $(call GstBuildPlugin,oss4audio,OSS 4 audio support,audio tag,,)) -$(eval $(call GstBuildPlugin,ossaudio,OSS audio support,audio,,)) -$(eval $(call GstBuildPlugin,png,png support,video,,+libpng)) -#$(eval $(call GstBuildPlugin,pulse,pulse support,audio pbutils tag video,,)) -$(eval $(call GstBuildPlugin,replaygain,volume normalization,pbutils,,)) -$(eval $(call GstBuildPlugin,rtpmanager,RTP manager,audio net rtp tag pbutils video,,)) -$(eval $(call GstBuildPlugin,rtp,RTP,audio rtp tag pbutils video,,)) -$(eval $(call GstBuildPlugin,rtsp,RTSP,net rtp rtsp sdp,,)) -$(eval $(call GstBuildPlugin,shapewipe,shapewipe support,video,,)) -#$(eval $(call GstBuildPlugin,shout2,shout2 support,,,)) -$(eval $(call GstBuildPlugin,smpte,smpte support,video,,)) -$(eval $(call GstBuildPlugin,souphttpsrc,soup input,audio tag,,+libsoup)) -$(eval $(call GstBuildPlugin,spectrum,spectrum data output,audio fft,,)) -#$(eval $(call GstBuildPlugin,speex,speex support,audio tag,,)) -#$(eval $(call GstBuildPlugin,sty4menc,sty4menc support,video,,)) -#$(eval $(call GstBuildPlugin,taglib,taglib support,tag,,)) -$(eval $(call GstBuildPlugin,udp,UDP,net,,)) -$(eval $(call GstBuildPlugin,video4linux2,video4linux2 support,video allocators,,+libv4l)) -$(eval $(call GstBuildPlugin,videobox,videobox support,video,,)) -$(eval $(call GstBuildPlugin,videocrop,videocrop support,video,,)) -$(eval $(call GstBuildPlugin,videofilter,videofilter support,video,,)) -$(eval $(call GstBuildPlugin,videomixer,videomixer support,video,,)) -$(eval $(call GstBuildPlugin,vpx,vpx support,tag video,,+libvpx)) -$(eval $(call GstBuildPlugin,wavenc,Wav encoder,riff,,)) -#$(eval $(call GstBuildPlugin,wavpack,Wav packer,audio riff tag,,)) -$(eval $(call GstBuildPlugin,wavparse,Wav parser,audio riff tag,,)) -#$(eval $(call GstBuildPlugin,ximagesrc,ximagesrc support,video,,)) - -$(eval $(call BuildPackage,gstreamer1-plugins-good)) -$(eval $(call BuildPackage,gst1-plugins-good)) diff --git a/multimedia/gst1-plugins-good/patches/001-no-translations.patch b/multimedia/gst1-plugins-good/patches/001-no-translations.patch deleted file mode 100644 index 1411875..0000000 --- a/multimedia/gst1-plugins-good/patches/001-no-translations.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -1049,7 +1049,6 @@ sys/sunaudio/Makefile - sys/v4l2/Makefile - sys/waveform/Makefile - sys/ximage/Makefile --po/Makefile.in - tests/Makefile - tests/check/Makefile - tests/examples/Makefile ---- a/Makefile.am -+++ b/Makefile.am -@@ -4,7 +4,6 @@ ALWAYS_SUBDIRS = \ - gst sys ext \ - tests \ - docs \ -- po \ - common \ - m4 \ - pkgconfig diff --git a/multimedia/gst1-plugins-good/patches/002-no-tests.patch b/multimedia/gst1-plugins-good/patches/002-no-tests.patch deleted file mode 100644 index b7a7dc7..0000000 --- a/multimedia/gst1-plugins-good/patches/002-no-tests.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -1049,21 +1049,6 @@ sys/sunaudio/Makefile - sys/v4l2/Makefile - sys/waveform/Makefile - sys/ximage/Makefile --tests/Makefile --tests/check/Makefile --tests/examples/Makefile --tests/examples/audiofx/Makefile --tests/examples/cairo/Makefile --tests/examples/equalizer/Makefile --tests/examples/jack/Makefile --tests/examples/level/Makefile --tests/examples/pulse/Makefile --tests/examples/rtp/Makefile --tests/examples/shapewipe/Makefile --tests/examples/spectrum/Makefile --tests/examples/v4l2/Makefile --tests/files/Makefile --tests/icles/Makefile - common/Makefile - common/m4/Makefile - m4/Makefile ---- a/Makefile.am -+++ b/Makefile.am -@@ -2,7 +2,6 @@ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-d - - ALWAYS_SUBDIRS = \ - gst sys ext \ -- tests \ - docs \ - common \ - m4 \ diff --git a/multimedia/gst1-plugins-good/patches/003-no-docs.patch b/multimedia/gst1-plugins-good/patches/003-no-docs.patch deleted file mode 100644 index 38a876f..0000000 --- a/multimedia/gst1-plugins-good/patches/003-no-docs.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -1052,9 +1052,6 @@ sys/ximage/Makefile - common/Makefile - common/m4/Makefile - m4/Makefile --docs/Makefile --docs/plugins/Makefile --docs/version.entities - pkgconfig/Makefile - pkgconfig/gstreamer-plugins-good-uninstalled.pc - gst-plugins-good.spec ---- a/Makefile.am -+++ b/Makefile.am -@@ -2,7 +2,6 @@ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-d - - ALWAYS_SUBDIRS = \ - gst sys ext \ -- docs \ - common \ - m4 \ - pkgconfig diff --git a/net/dmapd/Makefile b/net/dmapd/Makefile deleted file mode 100644 index a298966..0000000 --- a/net/dmapd/Makefile +++ /dev/null @@ -1,66 +0,0 @@ -# -# Copyright (C) 2009-2012 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=dmapd -PKG_VERSION:=0.0.73 -PKG_RELEASE:=1 - -PKG_MAINTAINER:=W. Michael Petullo - -PKG_LICENSE:=GPLv2 -PKG_LICENSE_FILES:=COPYING - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://www.flyn.org/projects/dmapd -PKG_MD5SUM:=458adf9d0c0e434fb92ebc8bd9739f68 - -PKG_FIXUP:=autoreconf -PKG_INSTALL:=2 - -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/nls.mk - -define Package/dmapd - SECTION:=net - CATEGORY:=Network - DEPENDS:=+libdmapsharing +libdb47 +vips - TITLE:= dmapd - URL:=http://www.flyn.org/projects/dmapd/ - USERID:=dmapd=56:dmapd=56 -endef - -define Package/dmapd/decription - Dmapd is a DMAP server -endef - -define Package/dmapd/conffiles -/etc/dmapd.conf -endef - -TARGET_LDFLAGS+=\ - -Wl,-rpath-link=$(STAGING_DIR)/usr/lib \ - -define Package/dmapd/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_CONF) $(PKG_BUILD_DIR)/distro/dmapd.conf $(1)/etc/ - $(INSTALL_BIN) ./files/dmapd.init $(1)/etc/init.d/dmapd - $(INSTALL_DIR) $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules - $(CP) \ - $(PKG_INSTALL_DIR)/usr/sbin/dmapd \ - $(1)/usr/sbin/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/libdmapd.so* \ - $(1)/usr/lib/ - $(CP) \ - $(PKG_INSTALL_DIR)/usr/lib/dmapd/$(PKG_VERSION)/modules/*.so \ - $(1)/usr/lib/dmapd/$(PKG_VERSION)/modules/ -endef - -$(eval $(call BuildPackage,dmapd)) diff --git a/net/dmapd/files/dmapd.init b/net/dmapd/files/dmapd.init deleted file mode 100644 index 76ecd50..0000000 --- a/net/dmapd/files/dmapd.init +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2009-2012 OpenWrt.org - -START=60 - -start() { - [ -d /var/run/dmapd ] || { - mkdir -m 0755 -p /var/run/dmapd - chown dmapd:dmapd /var/run/dmapd - } - [ -d /var/db/dmapd/DAAP ] || { - mkdir -m 0755 -p /var/db/dmapd/DAAP - chown dmapd:dmapd /var/db/dmapd/DAAP - } - [ -d /var/db/dmapd/DPAP ] || { - mkdir -m 0755 -p /var/db/dmapd/DPAP - chown dmapd:dmapd /var/db/dmapd/DPAP - } - mkdir -m 0755 -p /var/lock/subsys - mkdir -m 0755 -p /var/media/music - mkdir -m 0755 -p /var/media/pictures - - service_start /usr/sbin/dmapd -u dmapd -g dmapd -m /var/media/music -p /var/media/pictures --vips-disc-threshold 64k -} - -stop() { - service_stop /usr/sbin/dmapd -} diff --git a/net/dmapd/patches/001-dmapd_conf.patch b/net/dmapd/patches/001-dmapd_conf.patch deleted file mode 100644 index 9c1e60a..0000000 --- a/net/dmapd/patches/001-dmapd_conf.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/distro/dmapd.conf -+++ b/distro/dmapd.conf -@@ -3,7 +3,7 @@ - Database-Dir=/var/db/dmapd - - # Name that will be used to identify share: --Share-Name=dmapd -+Share-Name=OpenWrt - - # User that dmapd will run as, current user if undefined: - User=dmapd diff --git a/net/dmapd/patches/002-make_unit_test_optionnal.patch b/net/dmapd/patches/002-make_unit_test_optionnal.patch deleted file mode 100644 index 3f42f6b..0000000 --- a/net/dmapd/patches/002-make_unit_test_optionnal.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -233,7 +233,13 @@ else - AM_CONDITIONAL(USE_LIBDB, false) - fi - --PKG_CHECK_MODULES([CHECK], [check >= 0.9.4],have_check=yes,have_check=no) -+dnl Test if --enable-unit-test given -+AC_ARG_ENABLE(unit-test, [AC_HELP_STRING([--enable-unit-test],[enable unit test])]) -+if test "x$enable_unit_test" = "xyes" ; then -+ PKG_CHECK_MODULES([CHECK], [check >= 0.9.4],have_check=yes,have_check=no) -+else -+ have_check=no -+fi - AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes") - - AM_CONDITIONAL(FLYN, test "$FLYN")