oreo639 / flatpak-builder

Tool to build flatpaks from source

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flatpak icon

flatpak-builder is a tool for building flatpaks 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.

To use the JSON schema, in an editor with support for schemas, you can include this line in your manifest:

  "$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.

Installation

Flatpak-builder uses the Meson build system. To build just do:

 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
  • unzip

Rarely used:

  • rpm2cpio & cpio
  • svn
  • bzr

About

Tool to build flatpaks from source

License:GNU Lesser General Public License v2.1


Languages

Language:C 88.4%Language:Shell 5.8%Language:M4 3.6%Language:Makefile 1.0%Language:Meson 0.8%Language:Pawn 0.3%Language:Assembly 0.2%Language:Python 0.0%