API Reference / @gtkx/config / @gtkx/config / DeployFlatpakOptions
Type Alias: DeployFlatpakOptions
DeployFlatpakOptions =
object
Defined in: packages/config/src/deploy.ts:546
The deploy.flatpak options: runtime, sandbox permissions, build and distribution of the Flatpak.
Properties
base?
optionalbase?:string
Defined in: packages/config/src/deploy.ts:588
Optional Flatpak base application ID.
Default Value
None: the manifest has no base
baseVersion?
optionalbaseVersion?:string
Defined in: packages/config/src/deploy.ts:594
Branch of the base application.
Default Value
None: the manifest has no base-version
branch?
optionalbranch?:string
Defined in: packages/config/src/deploy.ts:600
Exported application branch.
Default Value
"stable"
buildCommands?
optionalbuildCommands?:string[]
Defined in: packages/config/src/deploy.ts:624
Additional shell commands appended to the application's Flatpak build commands.
Default Value
[]
cleanup?
optionalcleanup?:string[]
Defined in: packages/config/src/deploy.ts:618
Patterns added to the cleanup defaults. An empty array disables cleanup.
Default Value
[], on top of /include, /share/pkgconfig, *.la and *.a
finishArgs?
optionalfinishArgs?:string[]
Defined in: packages/config/src/deploy.ts:612
Sandbox permissions added to the defaults. A negation such as --nosocket=fallback-x11 removes the matching default.
Default Value
[], on top of --share=ipc, --socket=wayland, --socket=fallback-x11 and --device=dri
Example
finishArgs: ["--share=network", "--filesystem=xdg-documents"],lockfile?
optionallockfile?:string
Defined in: packages/config/src/deploy.ts:649
Lockfile path relative to the project root.
Default Value
The package manager's standard lockfile, such as pnpm-lock.yaml
mode?
optionalmode?:"prebuilt"|"source"
Defined in: packages/config/src/deploy.ts:552
Package local build output or build from a pinned Git source inside the SDK.
Default Value
"prebuilt"
modules?
optionalmodules?:unknown[]
Defined in: packages/config/src/deploy.ts:630
Additional Flatpak manifest modules built before the application module.
Default Value
[]
nodeExtension?
optionalnodeExtension?:string
Defined in: packages/config/src/deploy.ts:576
Node.js SDK extension used in source mode.
Default Value
"org.freedesktop.Sdk.Extension.node26"
packageManager?
optionalpackageManager?:"npm"|"pnpm"|"yarn"
Defined in: packages/config/src/deploy.ts:643
Package manager used for offline source builds.
Default Value
Detected from the first lockfile found: pnpm-lock.yaml, yarn.lock, then package-lock.json
runtime?
optionalruntime?:string
Defined in: packages/config/src/deploy.ts:558
Flatpak runtime ID.
Default Value
"org.gnome.Platform"
runtimeRepo?
optionalruntimeRepo?:string
Defined in: packages/config/src/deploy.ts:655
Runtime repository URL embedded in the bundle.
Default Value
"https://dl.flathub.org/repo/flathub.flatpakrepo"
runtimeVersion?
optionalruntimeVersion?:string
Defined in: packages/config/src/deploy.ts:564
Flatpak runtime branch.
Default Value
"51"
sdk?
optionalsdk?:string
Defined in: packages/config/src/deploy.ts:570
Build SDK ID.
Default Value
"org.gnome.Sdk"
sdkExtensions?
optionalsdkExtensions?:string[]
Defined in: packages/config/src/deploy.ts:582
Additional SDK extension IDs included in the build environment.
Default Value
[]
shouldEmitBundle?
optionalshouldEmitBundle?:boolean
Defined in: packages/config/src/deploy.ts:661
Emit a .flatpak bundle in addition to the local repository.
Default Value
true
shouldInstall?
optionalshouldInstall?:boolean
Defined in: packages/config/src/deploy.ts:667
Install the built application into the current user's Flatpak installation.
Default Value
false
shouldUseRofilesFuse?
optionalshouldUseRofilesFuse?:boolean
Defined in: packages/config/src/deploy.ts:673
Allow flatpak-builder to use rofiles-fuse. Set to false where FUSE is unavailable.
Default Value
true
source?
optionalsource?:DeployFlatpakSourceOptions
Defined in: packages/config/src/deploy.ts:636
Git repository and revision used for source builds.
Default Value
{}: the origin remote at the tagged or current commit