other versions
- stretch 0.8.9-0+deb9u3
- testing 1.2.4-1
- stretch-backports 1.2.4-1~bpo9+1
- unstable 1.2.4-1
- experimental 1.4.2-1
FLATPAK BUILD-INIT(1) | flatpak build-init | FLATPAK BUILD-INIT(1) |
NAME¶
flatpak-build-init - Initialize a build directorySYNOPSIS¶
flatpak build-init [OPTION...] DIRECTORY APPNAME SDK RUNTIME [BRANCH]
DESCRIPTION¶
Initializes a directory for building an application. DIRECTORY is the name of the directory. APPNAME is the application id of the app that will be built. SDK and RUNTIME specify the sdk and runtime that the application should be built against and run in.The result of this command is that a metadata file is created inside the given directory. Additionally, empty files and var subdirectories are created.
It is an error to run build-init on a directory that has already been initialized as a build directory.
OPTIONS¶
The following options are understood:-h, --help
Show help options and exit.
--arch=ARCH
The architecture to use.
-v, --var=RUNTIME
Initialize var from the named runtime.
-w, --writable-sdk
Initialize /usr with a copy of the sdk, which is writable
during flatpak build. This can be used if you need to install build tools in
/usr during the build. This is stored in the usr subdirectory of the app dir,
but will not be part of the final app.
--tag=TAG
Add a tag to the metadata file. This option can be used
multiple times.
--sdk-extension=EXTENSION
When using --writable-sdk, in addition to the sdk, also
install the specified extension. This option can be used multiple times.
--sdk-dir
Specify a custom subdirectory to use instead of usr for
--writable-sdk.
--update
Re-initialize the sdk and var, don't fail if already
initialized.
--base=APP
Initialize the application with files from another
specified application.
--base-version=VERSION
Specify the version to use for --base. If not specified,
will default to "master".
--base-extension=EXTENSION
When using --base, also install the specified extension
from the app. This option can be used multiple times.
--verbose
Print debug information during command processing.
--version
Print version information and exit.
EXAMPLES¶
$ flatpak build-init /build/my-app org.gnome.Sdk org.gnome.Platform 3.16SEE ALSO¶
flatpak(1), flatpak-build(1), flatpak-build-finish(1), flatpak-build-export(1)flatpak |