Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add more requirements for building applications, and explain how to install apps that are hosted here.
  • Loading branch information
matthiasclasen authored Apr 11, 2017
1 parent 23b1138 commit 0bf9e91
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
This is where the magic happens.
Flathub
-------

Flathub is the central place for building and hosting flatpak builds.

Building applications
---------------------

Application manifests should go in their own branches, named after the application ID.

Expand All @@ -20,6 +26,19 @@ Flathub always builds in the flatpak branchname "stable", and it always passes -
so you don't need to specify a branch key. But if you do (not recommended), it must be "stable".

Flathub requires that you build against an sdk that is itself hosted on Flathub. The same goes for
sdk extensions that may be required to build your application.

sdk extensions that may be required to build your application. The easiest way to see what runtimes
are currently available is to install the flathub remote and use
```
flatpak remote-ls --runtime flathub
```
All applications in flathub should ship with appstream data.

Using the flathub repository
----------------------------

To install applications that are hosted on flathub, use the following:
```
flatpak remote-add flathub http://flathub.org/repo/flathub.flatpakrepo
flatpak --user install flathub org.gnome.Recipes
```

0 comments on commit 0bf9e91

Please sign in to comment.