-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnapcraft.yaml
32 lines (32 loc) · 1.11 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
name: snapcraft-parts
version: 0
summary: Cloud part for apps using the Liri Platform snap
description: |
Helper for Liri Apps depending on the Liri Platform snap.
Includes a specific launcher and Snapcraft configuration
to deduplicate build configurations.
parts:
liri-platform-0-9:
plugin: dump
source: src
build-snaps: [liri-platform-0-9/latest/edge]
build-packages:
- build-essential
- mesa-common-dev
- libgl1-mesa-dev
- g++
install: |
mkdir $SNAPCRAFT_PART_INSTALL/liri-platform
mkdir $SNAPCRAFT_PART_INSTALL/meta
echo 'liri-platform-0-9' >> $SNAPCRAFT_PART_INSTALL/meta/platform
mkdir $SNAPCRAFT_PART_INSTALL/bin
echo '[Paths]' >> $SNAPCRAFT_PART_INSTALL/bin/qt.conf
echo 'Prefix = /snap/liri-platform-0-9/current/usr/lib/x86_64-linux-gnu/qt5' >> $SNAPCRAFT_PART_INSTALL/bin/qt.conf
echo 'Data = /snap/liri-platform-0-9/current/usr/share/qt5' >> $SNAPCRAFT_PART_INSTALL/bin/qt.conf
organize:
launcher.sh: bin/liri-app-launch
stage:
- meta/
- liri-platform/
- bin/liri-app-launch
- bin/qt.conf