snap/snapcraft.yaml
author Edouard Tisserant <edouard.tisserant@gmail.com>
Mon, 09 Oct 2023 16:41:10 +0200
changeset 124 9304b56075c2
parent 123 032aaa29f498
permissions -rw-r--r--
Snapcraft: Rename SNAPCRAFT_* to new CRAFT_*
79
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     1
name: beremiz
101
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
     2
adopt-info: beremiz
106
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
     3
title: Beremiz
101
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
     4
summary: Beremiz Open Source PLC.
79
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
     5
description: |
106
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
     6
  Beremiz is a framework for machine automation. It is meant to add PLC-like programing to embedded systems.
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
     7
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
     8
  Beremiz is [Free Software](https://en.wikipedia.org/wiki/Free_software), and conforms to
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
     9
  [IEC_61131](https://en.wikipedia.org/wiki/IEC_61131-3) and [PLCopen](https://plcopen.org/technical-activities/xml-exchange) among other standards.
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    10
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    11
  Beremiz supports all languages described in IEC_61131:
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    12
  * Structured Text (ST)
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    13
  * Instruction List (IL)
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    14
  * Function Block Diagram (FBD)
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    15
  * Sequencial Function Chart (SFC)
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    16
  * Ladder Diagram (LD)
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    17
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    18
  IDE also includes tools to create Human-Machine Interfaces (HMI), and to connect your PLC programs to existing supervisions, databases, or fieldbuses:
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    19
  * Modbus
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    20
  * OPC-UA
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    21
  * CANopen
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    22
  * SVG HMI
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    23
  * Wx HMI
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    24
  * Python
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    25
  * ...
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    26
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    27
  Runtime can be programmed remotely and allows variables tracing and forcing.
cf158979ecae Snap: better description
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 101
diff changeset
    28
101
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
    29
icon: snap/gui/beremiz.png
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
    30
contact: 
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
    31
  - https://beremiz.org
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
    32
  - snap@beremiz.fr
81
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
    33
79
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    34
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    35
grade: devel
101
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
    36
confinement: strict
123
032aaa29f498 Add Python3 in Snap build + doc fixes
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 106
diff changeset
    37
base: core22
101
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
    38
architectures: [amd64, arm64]
79
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    39
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    40
parts:
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    41
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    42
  beremiz:
123
032aaa29f498 Add Python3 in Snap build + doc fixes
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 106
diff changeset
    43
    # Beremiz python source and dependencies, inc. native GCC
79
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    44
    # source tree is expected to be just aside snap directory
123
032aaa29f498 Add Python3 in Snap build + doc fixes
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 106
diff changeset
    45
    plugin: python
79
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    46
    source: beremiz
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    47
    source-type: local
123
032aaa29f498 Add Python3 in Snap build + doc fixes
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 106
diff changeset
    48
    python-requirements:
032aaa29f498 Add Python3 in Snap build + doc fixes
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 106
diff changeset
    49
      - requirements.txt
032aaa29f498 Add Python3 in Snap build + doc fixes
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 106
diff changeset
    50
    # native GCC toolchain
032aaa29f498 Add Python3 in Snap build + doc fixes
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 106
diff changeset
    51
    # note: GCC toolchain cannot be move to separate part
032aaa29f498 Add Python3 in Snap build + doc fixes
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 106
diff changeset
    52
    # otherwise there is a file conflict about lib64 in prime step
032aaa29f498 Add Python3 in Snap build + doc fixes
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 106
diff changeset
    53
    # caused apparently by libc6 (needed to have consistent sysroot)
79
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    54
    stage-packages:
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    55
      - gcc
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    56
      - libc6
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    57
      - libc6-dev
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    58
      - linux-libc-dev
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    59
      - libgcc-9-dev
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    60
      - libgcc-s1
101
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
    61
    override-pull: |
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
    62
      snapcraftctl pull
124
9304b56075c2 Snapcraft: Rename SNAPCRAFT_* to new CRAFT_*
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 123
diff changeset
    63
      snapcraftctl set-version `python3 $CRAFT_PART_SRC/version.py`
79
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    64
    override-build: |
123
032aaa29f498 Add Python3 in Snap build + doc fixes
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 106
diff changeset
    65
      snapcraftctl build
124
9304b56075c2 Snapcraft: Rename SNAPCRAFT_* to new CRAFT_*
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 123
diff changeset
    66
      cp -a $CRAFT_PART_SRC $CRAFT_PART_INSTALL/beremiz
79
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    67
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    68
  matiec:
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    69
    # Matiec ST, SFC and IL compiler.
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    70
    # source tree is expected to be just aside snap directory
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    71
    plugin: nil
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    72
    source: matiec
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    73
    source-type: local
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    74
    build-packages:
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    75
      - build-essential
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    76
      - automake
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    77
      - flex
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    78
      - bison
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    79
    override-build: |
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
    80
      autoreconf -i && ./configure && make
124
9304b56075c2 Snapcraft: Rename SNAPCRAFT_* to new CRAFT_*
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 123
diff changeset
    81
      cp -a $CRAFT_PART_BUILD $CRAFT_PART_INSTALL/matiec
81
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
    82
82
90da520cbaa5 SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 81
diff changeset
    83
  modbus:
90da520cbaa5 SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 81
diff changeset
    84
    plugin: nil
90da520cbaa5 SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 81
diff changeset
    85
    source: Modbus
90da520cbaa5 SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 81
diff changeset
    86
    source-type: local
90da520cbaa5 SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 81
diff changeset
    87
    build-packages:
90da520cbaa5 SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 81
diff changeset
    88
      - build-essential
90da520cbaa5 SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 81
diff changeset
    89
      - automake
90da520cbaa5 SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 81
diff changeset
    90
    override-build: |
90da520cbaa5 SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 81
diff changeset
    91
      make
124
9304b56075c2 Snapcraft: Rename SNAPCRAFT_* to new CRAFT_*
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 123
diff changeset
    92
      cp -a $CRAFT_PART_BUILD $CRAFT_PART_INSTALL/Modbus
82
90da520cbaa5 SNAP: add Modbus source and dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 81
diff changeset
    93
81
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
    94
  open62541:
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
    95
    plugin: nil
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
    96
    source: open62541
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
    97
    source-type: local
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
    98
    build-packages:
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
    99
      - build-essential
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   100
      - cmake
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   101
    override-build: |
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   102
      mkdir build && cd build && cmake .. && make
124
9304b56075c2 Snapcraft: Rename SNAPCRAFT_* to new CRAFT_*
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 123
diff changeset
   103
      cp -a $CRAFT_PART_BUILD $CRAFT_PART_INSTALL/open62541
79
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
   104
      
81
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   105
  inkscape:
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   106
    # CLI only, used in SVGHMI build
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   107
    # GUI fails to launch couldn't find a way
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   108
    plugin: nil
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   109
    stage-packages:
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   110
      - inkscape
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   111
      - libgtk-3-0 
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   112
      # libgtk3 needs to be explicitely given
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   113
      # otherwise wxGtk doesn't start, with this error :
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   114
      # libgtk-3.so.0: undefined symbol: pango_font_family_get_face
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   115
      # ... why ?
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   116
79
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
   117
  revisiontxt:
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
   118
    # Makefile generated "revisions.txt"
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
   119
    plugin: nil
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
   120
    source: .
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
   121
    source-type: local
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
   122
    override-build: |
124
9304b56075c2 Snapcraft: Rename SNAPCRAFT_* to new CRAFT_*
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 123
diff changeset
   123
      cp $CRAFT_PART_SRC/revisions.txt $CRAFT_PART_INSTALL
79
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
   124
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
   125
apps:
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
   126
  ide:
81
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   127
    # Launcher for the IDE
79
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
   128
    environment:
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
   129
      SYSROOT: $SNAP
123
032aaa29f498 Add Python3 in Snap build + doc fixes
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 106
diff changeset
   130
    command: bin/python3 $SNAP/beremiz/Beremiz.py
032aaa29f498 Add Python3 in Snap build + doc fixes
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 106
diff changeset
   131
    extensions: [gnome]
101
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
   132
    plugs:
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
   133
      - network
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
   134
      - network-bind
79
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
   135
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
   136
  beremiz:
81
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   137
    # Beremiz Command Line interface
79
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
   138
    environment:
a8b434605895 Add Snap Package.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents:
diff changeset
   139
      SYSROOT: $SNAP
123
032aaa29f498 Add Python3 in Snap build + doc fixes
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 106
diff changeset
   140
    command: bin/python3 $SNAP/beremiz/Beremiz_cli.py
101
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
   141
    plugs:
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
   142
      - network
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
   143
      - network-bind
81
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   144
 
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   145
  runtime:
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   146
    # Standalone runtime
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   147
    environment:
a95b2fa896e9 SNAP: add SVGHMI and OPC-UA dependencies
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 79
diff changeset
   148
      SYSROOT: $SNAP
123
032aaa29f498 Add Python3 in Snap build + doc fixes
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 106
diff changeset
   149
    command: bin/python3 $SNAP/beremiz/Beremiz_service.py
101
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
   150
    plugs:
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
   151
      - network
5799370243c0 Version "name" of installer and snap is now deduced from beremiz' version.py
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 86
diff changeset
   152
      - network-bind
86
3564991cd359 SNAP: replace lxml versions to be compatible with Beremiz.
Edouard Tisserant <edouard.tisserant@gmail.com>
parents: 82
diff changeset
   153