Greetings all.
I tried snapping my program which depends on libwebkit2gtk-4.0-dev and it gave me some errors.
Here is my snapcraft file:
name: paelito # you probably want to 'snapcraft register <name>'
base: core20 # the base snap is the execution environment for this snap
version: '2.1.0' # just for humans, typically '1.2+git' or '1.3.2'
summary: A book reader that tells if the book has been updated. # 79 char long summary
description: |
Paelito is a book reader that tells if the book has been updated.
It's source files are written in markdown.
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
architectures:
- build-on: amd64
parts:
my-part:
# See 'snapcraft plugins'
plugin: go
source: .
build-packages:
- libwebkit2gtk-4.0-dev
override-build: |
set -xe
go mod download
go build -o $SNAPCRAFT_PART_INSTALL/bin/maker ./maker
go build -o $SNAPCRAFT_PART_INSTALL/bin/paelito ./paelito
apps:
maker:
command: bin/maker
paelito:
command: bin/paelito
extensions: [gnome-3-38]
plugs:
- network
- network-bind
After building, installation and running on my system it gives the following errors
Thanks