Snapcraft building.
This commit is contained in:
parent
10fa30e2aa
commit
39d41d56de
9 changed files with 482 additions and 3 deletions
160
snapcraft.yaml
Normal file
160
snapcraft.yaml
Normal file
|
@ -0,0 +1,160 @@
|
|||
name: logarithmplotter
|
||||
version: '0.0.1'
|
||||
summary: 2D plotter software to make BODE plots, sequences and repartition functions.
|
||||
description: |
|
||||
LogarithmPlotter is, as it's name suggests, a plotter made with logarithm scales in mind. With an object system similar to [Geogebra](https://geogebra.org)'s, it allows dynamic creation of plots with very few limitations.
|
||||
It's primary use is to quickly create [asymptotic Bode Diagrams/plots](https://en.wikipedia.org/wiki/Bode_plot), but it's extensible nature and ability to switch to non-logarithmic scales allow it to create other things with it, like sequences or statistical repartition functions.
|
||||
confinement: strict
|
||||
base: core20
|
||||
grade: devel
|
||||
icon: LogarithmPlotter/logarithmplotter.svg
|
||||
|
||||
plugs:
|
||||
#gnome-3-38-2004:
|
||||
# interface: content
|
||||
# target: gnome-platform
|
||||
# default-provider: gnome-3-38-2004:gnome-3-38-2004
|
||||
gtk-3-themes:
|
||||
default-provider: gtk-common-themes:gtk-3-themes
|
||||
interface: content
|
||||
target: $SNAP/data-dir/themes
|
||||
sound-themes:
|
||||
default-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: linux/snapcraft/launcher/
|
||||
plugin: dump
|
||||
organize:
|
||||
'*': bin/
|
||||
linuxfiles:
|
||||
source: linux/
|
||||
plugin: dump
|
||||
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
|
||||
logarithmplotter:
|
||||
plugin: python
|
||||
source: .
|
||||
stage-packages:
|
||||
- breeze-icon-theme
|
||||
# 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
|
||||
- libxkbcommon-x11-0
|
||||
- libxkbcommon0
|
||||
- libxcb-render-util0
|
||||
- libdouble-conversion3
|
||||
- libpcre2-16-0
|
||||
snapcraft-preload: # Fixes error related to multiprocessing on python.
|
||||
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
|
||||
|
||||
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
|
||||
#- gnome-3-38-2004
|
||||
- gsettings # Theme access for wayland
|
||||
- home # Storing configuration.
|
||||
- opengl # Rendering
|
||||
- removable-media # Opening files
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue