Create snap package
From Lazarus wiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Create snapcraft.yaml
- Install snapcraft to your Ubuntu machine with sudo apt install snapcraft
- Create snap subdirectory in your project
- Execute snapcraft init to create snap/snapcraft.yaml initial file
- Sample file:
name: myapp version: '1.0' summary: Short description of package. description: | Some more detailed multi-line description. confinement: devmode base: core18 grade: devel parts: myapp: plugin: dump source: https://somehost/source/location source-type: subversion build-packages: - fpc - lazarus - lcl - lcl-utils apps: myapp: command: myapp
Register app in snap store
- Login into https://snapcraft.io with your user account
- Register new snap package name https://snapcraft.io/account/register-snap
- Go to your newly registered package and fill all needed details https://snapcraft.io/snaps
Setup build on Launchpad
Snap packages can be built automatically on Launchpad. Open Create snap package link form your application branch page.