-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathsnapcraft.yaml
More file actions
106 lines (105 loc) · 3.9 KB
/
Copy pathsnapcraft.yaml
File metadata and controls
106 lines (105 loc) · 3.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# This configuration file is based on the gnome-3-38 extension,
# but the build-enviroment settings had to be removed. Otherwise cmake
# will be confused and will use the linker option
# "-Wl,-rpath,/snap/gnome-3-38-2004-sdk/current/usr/lib/x86_64-linux-gnu:"
# which results in the error messages
# "/usr/bin/ld: /snap/gnome-3-38-2004-sdk/current/usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `pango_font_family_get_face'" and
# "/usr/bin/ld: /snap/gnome-3-38-2004-sdk/current/usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0: undefined reference to `pango_font_map_get_family'".
name: aris
architectures:
- build-on: amd64
- build-on: armhf
- build-on: arm64
base: core20
version: '2.2'
summary: A logical proof program
license: GPL-3.0
icon: src/icon.png
description: |
Aris supports propositional and predicate logic, Boolean algebra,
and arithmetical logic in the form of abstract sequences (seqlog).
grade: stable
confinement: strict
apps:
aris:
command: usr/local/bin/aris
plugs:
- desktop
- desktop-legacy
- gsettings
- opengl
- wayland
- x11
- home
command-chain:
- snap/command-chain/desktop-launch
parts:
aris:
build-packages:
- cmake
- build-essential
- pkg-config
- libgtk-3-dev
- libxml2-dev
source: https://github.com/kovzol/aris.git
plugin: cmake
stage-packages:
- libgtk-3-0
- libxml2
# build-environment:
# - PATH: /snap/gnome-3-38-2004-sdk/current/usr/bin:$PATH
# - XDG_DATA_DIRS: $SNAPCRAFT_STAGE/usr/share:/snap/gnome-3-38-2004-sdk/current/usr/share:/usr/share:$XDG_DATA_DIRS
# - LD_LIBRARY_PATH: /snap/gnome-3-38-2004-sdk/current/lib/$SNAPCRAFT_ARCH_TRIPLET:/snap/gnome-3-38-2004-sdk/current/usr/lib/$SNAPCRAFT_ARCH_TRIPLET:/snap/gnome-3-38-2004-sdk/current/usr/lib:/snap/gnome-3-38-2004-sdk/current/usr/lib/vala-current:/snap/gnome-3-38-2004-sdk/current/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
# - PKG_CONFIG_PATH: /snap/gnome-3-38-2004-sdk/current/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pkgconfig:/snap/gnome-3-38-2004-sdk/current/usr/lib/pkgconfig:/snap/gnome-3-38-2004-sdk/current/usr/share/pkgconfig:$PKG_CONFIG_PATH
# - GETTEXTDATADIRS: /snap/gnome-3-38-2004-sdk/current/usr/share/gettext-current:$GETTEXTDATADIRS
# - GDK_PIXBUF_MODULE_FILE: /snap/gnome-3-38-2004-sdk/current/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/gdk-pixbuf-current/loaders.cache
# - ACLOCAL_PATH: /snap/gnome-3-38-2004-sdk/current/usr/share/aclocal${ACLOCAL_PATH:+:$ACLOCAL_PATH}
# - PYTHONPATH: /snap/gnome-3-38-2004-sdk/current/usr/lib/python3.8:/snap/gnome-3-38-2004-sdk/current/usr/lib/python3/dist-packages${PYTHONPATH:+:$PYTHONPATH}
gnome-3-38-extension:
build-packages:
- gcc
build-snaps:
- gnome-3-38-2004-sdk/latest/stable
make-parameters:
- WITH_PYTHON=3.8
- PLATFORM_PLUG=gnome-3-38-2004
plugin: make
source: $SNAPCRAFT_EXTENSIONS_DIR/desktop
source-subdir: gnome
assumes:
- snapd2.43
plugs:
desktop:
mount-host-font-cache: false
gnome-3-38-2004:
default-provider: gnome-3-38-2004
interface: content
target: $SNAP/gnome-platform
gtk-3-themes:
default-provider: gtk-common-themes
interface: content
target: $SNAP/data-dir/themes
icon-themes:
default-provider: gtk-common-themes
interface: content
target: $SNAP/data-dir/icons
sound-themes:
default-provider: gtk-common-themes
interface: content
target: $SNAP/data-dir/sounds
environment:
GTK_USE_PORTAL: '1'
SNAP_DESKTOP_RUNTIME: $SNAP/gnome-platform
hooks:
configure:
command-chain:
- snap/command-chain/hooks-configure-desktop
plugs:
- desktop
layout:
/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/webkit2gtk-4.0:
bind: $SNAP/gnome-platform/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/webkit2gtk-4.0
/usr/share/libdrm:
bind: $SNAP/gnome-platform/usr/share/libdrm
/usr/share/xml/iso-codes:
bind: $SNAP/gnome-platform/usr/share/xml/iso-codes