• Stars
    star
    139
  • Rank 262,954 (Top 6 %)
  • Language
    C
  • License
    GNU Lesser Genera...
  • Created about 7 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Tool to build flatpaks from source

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

More Repositories

1

flatpak

Linux application sandboxing and distribution framework
C
4,242
star
2

xdg-desktop-portal

Desktop integration portal
C
599
star
3

flatpak-builder-tools

Various helper tools for flatpak-builder
Python
195
star
4

flat-manager

Manager for flatpak repositories
Rust
146
star
5

xdg-desktop-portal-gtk

Gtk implementation of xdg-desktop-portal
C
126
star
6

flatpak-github-actions

Build your Flatpak application using Github Actions
JavaScript
117
star
7

libportal

libportal - Flatpak portal library
C
80
star
8

flatpak-docs

Flatpak documentation
reStructuredText
78
star
9

flatpak.github.io

Flatpak website
SCSS
55
star
10

xdg-dbus-proxy

C
36
star
11

flatpak-xdg-utils

Simple portal-based commandline tools for use inside flatpak sandboxes
C
32
star
12

freedesktop-sdk-images

Flatpak freedesktop 1.6 runtime. Note: New development is at https://gitlab.com/freedesktop-sdk/freedesktop-sdk
C
29
star
13

flatpak-build-scripts

A collection of scripts for setting up build machines and running builds
Shell
16
star
14

qt-flatpak-demo

Flatpak demo application
C++
16
star
15

flatpak-docker-images

Makefile
9
star
16

ppa-flatpak

PPA builds of flatpak
C
8
star
17

freedesktop-sdk-base

Yocto layer and build script for flatpak runtime base
BitBake
8
star
18

meta-flatpak

Shell
7
star
19

ppa-ostree

ostree backports for Ubuntu, used in Flatpak PPA
C
4
star
20

ppa-flatpak-builder

PPA for flatpak-builder
C
2
star
21

flatpak-sample-authenticator

Sample authenticator or flatpak
C
2
star
22

flatpak-oci-specs

1
star
23

ppa-xdg-desktop-portal-gtk

Packaging for xdg-desktop-portal-gtk in Ubuntu PPA
C
1
star
24

ppa-xdg-desktop-portal

C
1
star