-
Notifications
You must be signed in to change notification settings - Fork 13
/
net.gadgetfactory.papilio-designlab-xpra.yaml
60 lines (60 loc) · 1.76 KB
/
net.gadgetfactory.papilio-designlab-xpra.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
app-id: net.gadgetfactory.papilio-designlab
base: org.xpra.xpra
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.openjdk8
command: designlab-xpra
finish-args:
- --device=all
- --device=dri
- --env=PATH=/app/bin:/usr/bin:/app/jre/bin
# - --filesystem=~/DesignLab
- --filesystem=xdg-download
- --filesystem=xdg-documents
- --filesystem=xdg-pictures
- --persist=.designlab
# - --persist=DesignLab
- --socket=wayland
# - --share=ipc
# - --socket=x11
cleanup:
- /include
- /lib/pkgconfig
- /share/man
- '*.a'
- '*.la'
modules:
- name: openjdk
buildsystem: simple
build-commands:
- /usr/lib/sdk/openjdk8/install.sh
- name: designlab
buildsystem: simple
build-commands:
- install -Dm755 apply_extra designlab{,-xpra} -t /app/bin/
- install -Dm644 ${FLATPAK_ID}.desktop -t /app/share/applications/
- install -Dm644 ${FLATPAK_ID}.png -t /app/share/icons/hicolor/256x256/apps/
- install -Dm644 udev.rules /app/docs/udev_rules/papilio.rules
sources:
- type: script
dest-filename: apply_extra
commands:
- tar -xf designlab.tar.gz --strip=1
- rm -f designlab.tar.gz
- type: extra-data
url: http://www.gadgetfactory.net/download/DesignLab/DesignLab-1.0.8-linux64.tgz
sha256: a6b17263d3c798935501c4e9697605200a8064fedd4777c9bf0f3cad84cfda49
size: 183205579
filename: designlab.tar.gz
- type: file
path: designlab
- type: file
path: designlab-xpra
- type: file
path: net.gadgetfactory.papilio-designlab.desktop
- type: file
path: net.gadgetfactory.papilio-designlab.png
- type: file
path: udev.rules