@@ -1,44 +1,27 @@
1−Flathub
2−-------
1+# Flathub
32
4−Flathub is the central place for building and hosting flatpak builds.
3+Flathub is the central place for building and hosting Flatpak builds.
54
6−Building applications
7−---------------------
8−
9−Application manifests should go in their own branches, named after the application ID.
10−
11−For example, for gnome-recipes, there is a branch named org.gnome.Recipes which has
12−the org.gnome.Recipes.json file at the toplevel.
13−
14−The manifests should build releases, not development snapshots, so please use
15−tarballs or git tags, not just the tip of a branch.
5+Using the Flathub repository
6+----------------------------
167
17−In case you build from a git tag, please specify both the tag name and the commit id, like so:
8+To install applications that are hosted on Flathub, use the following:
189```
19− "branch": "1.0.4",
20− "commit": "cdfb19b90587bc0c44404fae30c139f9ec1cca5c"
10+flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo
11+flatpak install flathub org.gnome.Recipes
2112```
22−This makes the build repeatable, since a tag can otherwise change its value over time.
23−You can also use only a commit, but specifying a tag name if there is one is good for readability.
24−
25−Flathub always builds in the flatpak branchname "stable", and it always passes --default-name=stable,
26−so you don't need to specify a branch key. But if you do (not recommended), it must be "stable".
2713
28−Flathub requires that you build against an sdk that is itself hosted on Flathub. The same goes for
29−sdk extensions that may be required to build your application. The easiest way to see what runtimes
30−are currently available is to install the flathub remote and use
14+To install applications from the beta branch, use the following:
3115```
32−flatpak remote-ls --runtime flathub
16+flatpak remote-add flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
17+flatpak install flathub-beta org.godotengine.Godot
3318```
34−All applications in flathub should ship with appstream data.
3519
36−Using the flathub repository
37−----------------------------
20+For more information and more applications see https://flathub.org
3821
39−To install applications that are hosted on flathub, use the following:
40−```
41−flatpak remote-add flathub http://flathub.org/repo/flathub.flatpakrepo
42−flatpak --user install flathub org.gnome.Recipes
43−```
22+Contributing to Flathub
23+-----------------------
24+
25+For information on creating packages or reporting issues please see the [contributing page](/CONTRIBUTING.md).
4426
27+***Note:*** *this repository is not for reporting issues related to the flathub.org website itself or contributing to its development. For that, go to https://github.com/flathub/website*