summaryrefslogtreecommitdiff
path: root/common/flatpak-dir.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2016-12-20 16:24:13 +0100
committerAlexander Larsson <alexl@redhat.com>2016-12-20 16:27:57 +0100
commitf20e5f7823c2c44a28c0f650e4e0f6df8e1919f4 (patch)
tree8e459a9e4c6d141dd72b6b1890ce971b535298b6 /common/flatpak-dir.h
parent54d65aabc5fa71f5bdfe73d80fd5aca0aa2ff7b0 (diff)
downloadflatpak-f20e5f7823c2c44a28c0f650e4e0f6df8e1919f4.tar.gz
bundles: Support dependencies and runtime-repo
If the bundle contains an origin link we can now install related things from it, such as locale data. You can also build the bundle with --runtime-repo=URL, where the url points to a flatpakrepo file for a repo with runtimes. This works similar to the RuntimeRepo= feature in flatpakref files.
Diffstat (limited to 'common/flatpak-dir.h')
-rw-r--r--common/flatpak-dir.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/common/flatpak-dir.h b/common/flatpak-dir.h
index 3812b491..195d6d77 100644
--- a/common/flatpak-dir.h
+++ b/common/flatpak-dir.h
@@ -370,9 +370,17 @@ gboolean flatpak_dir_install (FlatpakDir *self,
OstreeAsyncProgress *progress,
GCancellable *cancellable,
GError **error);
+char *flatpak_dir_ensure_bundle_remote (FlatpakDir *self,
+ GFile *file,
+ GBytes *extra_gpg_data,
+ char **out_ref,
+ char **out_metadata,
+ gboolean *out_created_remote,
+ GCancellable *cancellable,
+ GError **error);
gboolean flatpak_dir_install_bundle (FlatpakDir *self,
GFile *file,
- GBytes *extra_gpg_data,
+ const char *remote,
char **out_ref,
GCancellable *cancellable,
GError **error);