-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
173 lines (168 loc) · 4.17 KB
/
snapcraft.yaml
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
name: logarithmplotter
title: LogarithmPlotter
version: '0.6.0'
summary: Create and edit Bode plots
confinement: strict
base: core22
grade: stable
icon: assets/logarithmplotter.svg
adopt-info: linuxfiles
license: GPL-3.0+
architectures:
- amd64
plugs:
gtk-3-themes:
default-provider: gtk-common-themes:gtk-3-themes
interface: content
target: $SNAP/data-dir/themes
sound-themes:
defauwebsitelt-provider: gtk-common-themes:sound-themes
interface: content
target: $SNAP/data-dir/sounds
icon-themes:
default-provider: gtk-common-themes:icon-themes
interface: content
target: $SNAP/data-dir/icons
parts:
#desktop-gtk3: # This one fixes the cursor issue without having anything else interfering.
# build-packages:
# - build-essential
# - libgtk-3-dev
# make-parameters:
# - FLAVOR=gtk3
# plugin: make
# source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
# source-subdir: gtk
# stage-packages:
# - libxkbcommon0
# - ttf-ubuntu-font-family
# - dmz-cursor-theme
# - light-themes
# - adwaita-icon-theme
# - gnome-themes-standard
# - shared-mime-info
# - libgtk-3-0
# - libgdk-pixbuf2.0-0
# - libglib2.0-bin
# - libgtk-3-bin
# - unity-gtk3-module
# - libappindicator3-1
# - locales-all
# - xdg-user-dirs
# - ibus-gtk3
# - libibus-1.0-5
# - fcitx-frontend-gtk3
# - libgtk2.0-0
launchers:
source: assets/native/linux/snapcraft/launcher/
plugin: dump
organize:
'*': bin/
linuxfiles:
source: assets/native/linux/
plugin: dump
parse-info: [eu.ad5001.LogarithmPlotter.metainfo.xml]
organize:
logarithmplotter.desktop: usr/share/applications/logarithmplotter.desktop
x-logarithm-plot.xml: usr/share/mime/packages/x-logarithm-plot.xml
application-x-logarithm-plot.svg: usr/share/mime/packages/application-x-logarithm-plot.svg
filetypeicon:
source: assets/
plugin: dump
organize:
logplotterfile.svg: usr/share/mime/packages/application-x-logarithm-plot.svg
logarithmplotter:
plugin: python
source: build
stage-packages:
- breeze-icon-theme
# Latex dependencies
#- texlive-latex-base Causes symlink issues and being rejected by the Snap store.
#- dvipng
# Additional dependencies
- libxcomposite1
- libxcursor1
- libxi6
- libxrandr2
- libxtst6
- libasound2
- libatk1.0-0
- libcairo-gobject2
- libcairo2
- libgtk-3-0
- libgdk-pixbuf2.0-0
- libegl1
- libglu1-mesa
- libgl1-mesa-dri
- libgl1-mesa-glx
- libx11-xcb1
- libxdamage1
- libcups2
- libdrm2
- libgstreamer-plugins-base1.0-0
- libgstreamer1.0-0
- libnspr4
- libnss3
- libodbc1
- libpango-1.0-0
- libpangocairo-1.0-0
- libpq5
- libpulse-mainloop-glib0
- libpulse0
- libspeechd2
- libwayland-client0
- libwayland-cursor0
- libwayland-egl1
- libwayland-server0
- libxcb-dri3-0
- libxcb-glx0
- libxcb-icccm4
- libxcb-image0
- libxcb-keysyms1
- libxcb-randr0
- libxcb-shape0
- libxcb-sync1
- libxcb-util1
- libxcb-xfixes0
- libxcb-xinerama0
- libxcb-xkb1
- libxcb-cursor0
- libxkbcommon-x11-0
- libxkbcommon0
- libxcb-render-util0
- libdouble-conversion3
- libpcre2-16-0
snapcraft-preload:
source: https://github.com/sergiusens/snapcraft-preload.git
plugin: cmake
cmake-parameters:
- -DCMAKE_INSTALL_PREFIX=/
build-packages:
- on amd64:
- gcc-multilib
- g++-multilib
stage-packages:
- lib32stdc++6
changelog:
source: .
plugin: dump
organize:
CHANGELOG.md: lib/python3.12/site-packages/LogarithmPlotter/util/
apps:
logarithmplotter:
common-id: eu.ad5001.LogarithmPlotter
desktop: usr/share/applications/logarithmplotter.desktop
command: bin/logarithmplotter
command-chain:
#- bin/desktop-launch
- bin/snapcraft-preload
- bin/launch-logarithmplotter
plugs:
- desktop
- desktop-legacy
- wayland
- x11
- gsettings # Theme access for wayland
- home # Storing configuration.
- opengl # Rendering
- removable-media # Opening files