-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.github.nroduit.Weasis.yaml
60 lines (57 loc) · 2.3 KB
/
io.github.nroduit.Weasis.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
app-id: io.github.nroduit.Weasis
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: Weasis
finish-args:
- --share=ipc
- --socket=pulseaudio
- --share=network
- --socket=x11
- --device=all
- --filesystem=host
- --filesystem=/tmp
- --env=PATH=/app/bin:/usr/bin
modules:
- name: weasis
buildsystem: simple
build-options:
build-args:
#- --share=network
build-commands:
- tar xvfz runtime-jdk.tar.gz --transform 's!^[^/]*!java-runtime!'
- mkdir -p weasis-native
- unzip -o weasis-native.zip -d weasis-native
- weasis-native/build/script/package-weasis.sh --output tmp --no-installer --jdk java-runtime
- mv tmp/Weasis/* /app/
- install -D weasis.svg /app/share/icons/hicolor/scalable/apps/io.github.nroduit.Weasis.svg
- install -D dicomizer.svg /app/share/icons/hicolor/scalable/apps/io.github.nroduit.Weasis.Dicomizer.svg
- install -D -t /app/share/applications/ io.github.nroduit.Weasis.desktop
- install -D -t /app/share/applications/ io.github.nroduit.Weasis.Dicomizer.desktop
- install -D -t /app/share/metainfo/ io.github.nroduit.Weasis.metainfo.xml
sources:
- type: file
path: io.github.nroduit.Weasis.desktop
- type: file
path: io.github.nroduit.Weasis.metainfo.xml
- type: file
path: weasis.svg
- type: file
path: dicomizer.svg
- type: file
path: io.github.nroduit.Weasis.Dicomizer.desktop
- type: file
url: https://github.com/nroduit/Weasis/releases/download/v4.5.1/weasis-native.zip
sha256: 794e73875aeb84c4012142de27b5868a0b3ffe9a64aa26a97344b524c9a2cd87
- type: file
only-arches:
- x86_64
url: https://github.com/adoptium/temurin22-binaries/releases/download/jdk-22.0.2%2B9/OpenJDK22U-jdk_x64_linux_hotspot_22.0.2_9.tar.gz
sha256: 05cd9359dacb1a1730f7c54f57e0fed47942a5292eb56a3a0ee6b13b87457a43
dest-filename: runtime-jdk.tar.gz
- type: file
only-arches:
- aarch64
url: https://github.com/adoptium/temurin22-binaries/releases/download/jdk-22.0.2%2B9/OpenJDK22U-jdk_aarch64_linux_hotspot_22.0.2_9.tar.gz
dest-filename: runtime-jdk.tar.gz
sha256: dac62747b5158c4bf4c4636432e3bdb9dea47f80f0c9d1d007f19bd5483b7d29