Hello all,
I’m trying to build my first snap package. I can build locally but when i’m trying from https://build.snapcraft.io, it failed with the error in topic.
You can take a look to meson.build file in Meteo github page.
My snapcraft.yaml file is :
name: meteo
version: '0.6.1'
summary: Know the forecast of the next hours and days, with data and maps
description: |
Current weather, with information about temperature, pressure, wind
speed and direction, sunrise and sunset. Show awesome maps with all
this information. Switch between some maps distributors.
grade: devel
confinement: devmode
apps:
meteo:
command: desktop-launch $SNAP/usr/bin/com.github.bitseater.weather
plugs:
- x11
- desktop
- desktop-legacy
- wayland
- unity7
- home
- gsettings
- network
- opengl
desktop: usr/share/applications/com.github.bitseater.weather.desktop
environment:
GSETTINGS_SCHEMA_DIR: $SNAP/share/glib-2.0/schemas
parts:
meteo:
source: https://github.com/bitseater/weather.git
source-type: git
plugin: meson
meson-parameters: [--prefix=/usr]
after:
- desktop-gtk3
build-packages:
- desktop-file-utils
- build-essential
- gettext
- libgee-0.8-dev
- libgtk-3-dev
- valac
- libjson-glib-dev
- meson
- ninja-build
- debhelper
- libglib2.0-dev
- libsoup2.4-dev
- libgeocode-glib-dev
- libclutter-1.0-dev
- libclutter-gtk-1.0-dev
- libchamplain-0.12-dev
- libwebkit2gtk-4.0-dev
- libappindicator3-dev
stage-packages:
- libgtk-3-0
- libgdk-pixbuf2.0-0
- libclutter-1.0-0
- libclutter-gtk-1.0-0
- libchamplain-0.12-0
- libgeocode-glib0
- libwebkit2gtk-4.0-37
- libappindicator3-1
- libcanberra-gtk3-module
Thanks in advance.