Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flatpak/flatpak-build-scripts
A collection of scripts for setting up build machines and running builds
https://github.com/flatpak/flatpak-build-scripts
Last synced: about 2 months ago
JSON representation
A collection of scripts for setting up build machines and running builds
- Host: GitHub
- URL: https://github.com/flatpak/flatpak-build-scripts
- Owner: flatpak
- License: lgpl-2.1
- Created: 2016-05-11T18:26:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-18T14:19:26.000Z (almost 6 years ago)
- Last Synced: 2024-04-22T09:15:21.973Z (9 months ago)
- Language: Shell
- Size: 114 KB
- Stars: 14
- Watchers: 4
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
A collection of build scripts for building flatpak SDKs and app bundles
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Configure
~~~~~~~~~
To configure the behavior of a build, either edit the build.conf file
at the top level or make an alternative copy which can be supplied
to the build tooling with a --config argument.The configuration file lets you define which branches of which
repositories should be built.Build
~~~~~
To launch a build of the entire stack, use the build-payload.sh script.This will checkout all the relevant sources and run the build starting
with the base runtimes, followed by the SDKs and finally the apps. If it
is not the first time you are building in the given work directory, then
the repositories will be updated and some redundant rebuilding is avoided.Setup
~~~~~
To setup a build, use the build-setup.sh script. This script sets up your
build machine and as such will issue some commands with sudo and prompt
for your password.The build-setup.sh script performs the following steps:
o Installs all required host tooling using the package manager,
currently this is only well tested on Ubuntu 16.04 installations
but is also known to work on Debian stretch - support will need
to be added for rpm based distros.o Downloads, compiles and installs flatpak and some dependencies from
their respective git repositories (flatpak and ostree are not available
as packages at the time of writing this).o Sets up a cron job to automatically run the build, running the build.
This script can be run multiple times safely. Running the build-setup.sh script
on a build machine that is already setup will result in system dependencies
being upgraded and flatpak modules to be refreshed and possibly rebuilt.