Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flatpak/flatpak-builder
Tool to build flatpaks from source
https://github.com/flatpak/flatpak-builder
Last synced: 5 days ago
JSON representation
Tool to build flatpaks from source
- Host: GitHub
- URL: https://github.com/flatpak/flatpak-builder
- Owner: flatpak
- License: lgpl-2.1
- Created: 2017-08-25T09:18:35.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T02:48:18.000Z (10 months ago)
- Last Synced: 2024-04-22T09:15:22.123Z (9 months ago)
- Language: C
- Size: 8.07 MB
- Stars: 134
- Watchers: 16
- Forks: 90
- Open Issues: 188
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
`flatpak-builder` is a tool for building [flatpaks](https://flatpak.org) from sources.
It reads a JSON or YAML based manifest to automatically download, build, and install projects which eventually get exported into a flatpak.
For information on the manifest format see `man flatpak-manifest`. A JSON Schema for this format is [available here](https://github.com/flatpak/flatpak-builder/blob/main/data/flatpak-manifest.schema.json).
To use the JSON schema, in [an editor with support](https://code.visualstudio.com/docs/languages/json) for schemas, you can include this line in your manifest:
```json
"$schema": "https://raw.githubusercontent.com/flatpak/flatpak-builder/main/data/flatpak-manifest.schema.json"
```For information on the command-line tool see `man flatpak-builder` or the [online documentation](https://docs.flatpak.org/en/latest/flatpak-builder-command-reference.html).
# Installation
Flatpak-builder uses the [Meson build system](https://mesonbuild.com/). To build just do:
```sh
meson setup _build
meson install -C _build
```Configure arguments are documented in `meson_options.txt`.
## Runtime dependencies
The `flatpak-builder` tool requires `flatpak` being available on the host to
function. Depending on the manifest used it also requires some commands be available on
the host.Very commonly used:
* sh
* patch
* tar
* cp
* git
* 7z
* unzipRarely used:
* rpm2cpio & cpio
* svn
* bzr