leocad/snapcraft.yaml

42 lines
854 B
YAML
Raw Normal View History

2021-03-21 01:00:04 +01:00
name: leocad
base: core18
adopt-info: leocad
2021-06-06 01:41:42 +02:00
version: '21.06'
2021-03-21 01:00:04 +01:00
grade: stable
confinement: strict
apps:
leocad:
common-id: org.leocad.LeoCAD
command: leocad
plugs:
- home
- opengl
- network
extensions:
- kde-neon
parts:
leocad:
plugin: qmake
build-packages:
- qtbase5-dev
- qttools5-dev-tools
- libqt5opengl5-dev
- zlib1g-dev
stage-packages:
- libqt5opengl5
- libqt5gui5
- libqt5concurrent5
- libqt5printsupport5
- libqt5xml5
source: https://github.com/leozide/leocad/archive/v21.03.tar.gz
parse-info: [usr/share/metainfo/leocad.appdata.xml]
library:
source: .
plugin: nil
override-build: |
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/leocad
cp library.bin $SNAPCRAFT_PART_INSTALL/usr/share/leocad/library.bin