Created
August 2, 2019 02:34
-
-
Save ericoporto/4324391177a20c8bef6a712454e977b0 to your computer and use it in GitHub Desktop.
Drawing test snapcraft.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: eri0o-drawing | |
base: core18 | |
version: '0.4.2' | |
summary: Basic drawing app | |
description: | | |
This application is a basic image editor, similar to Microsoft Paint, | |
but aiming at the GNOME desktop. PNG, JPEG and BMP files are supported. | |
license: GPL-3.0 | |
grade: devel # must be 'stable' to release | |
confinement: devmode # use 'strict' | |
apps: | |
drawing: | |
command: desktop-launch $SNAP/usr/bin/drawing | |
parts: | |
desktop-gnome-platform: | |
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git | |
source-depth: 1 | |
source-subdir: gtk | |
plugin: make | |
build-packages: | |
- gcc | |
override-build: | | |
snapcraftctl build | |
mkdir -pv $SNAPCRAFT_PART_INSTALL/gnome-platform | |
drawing: | |
source: https://github.com/maoschanz/drawing.git | |
source-tag: '0.4.2' | |
after: [desktop-gnome-platform] | |
plugin: meson | |
meson-parameters: [ --prefix=/usr ] | |
build-packages: | |
- pkgconf | |
- gettext | |
- python3-gi | |
- python3-gi-cairo | |
- gir1.2-gtk-3.0 | |
- meson | |
- appstream-util | |
- libglib2.0-dev-bin | |
stage-packages: | |
- python3-gi | |
- python3-gi-cairo | |
- gir1.2-gtk-3.0 | |
plugs: | |
# Common desktop interfaces | |
# https://forum.snapcraft.io/t/the-desktop-interfaces/2042 | |
desktop: | |
desktop-legacy: | |
unity7: | |
wayland: | |
# GNOME and Gtk runtime via content sharing | |
# https://forum.snapcraft.io/t/desktop-app-support-gtk/6834 | |
gnome-3-28-1804: | |
interface: content | |
target: $SNAP/gnome-platform | |
default-provider: gnome-3-28-1804 | |
# Gtk Common Themes support | |
# https://forum.snapcraft.io/t/how-to-use-the-system-gtk-theme-via-the-gtk-common-themes-snap/6235 | |
gsettings: | |
gtk-3-themes: | |
interface: content | |
target: $SNAP/data-dir/themes | |
default-provider: gtk-common-themes | |
icon-themes: | |
interface: content | |
target: $SNAP/data-dir/icons | |
default-provider: gtk-common-themes | |
sound-themes: | |
interface: content | |
target: $SNAP/data-dir/sounds | |
default-provider: gtk-common-themes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment