-
-
Notifications
You must be signed in to change notification settings - Fork 134
Expand file tree
/
Copy pathio.github.simonschubert.LinuxCommandLibrary.yaml
More file actions
61 lines (50 loc) · 2.31 KB
/
io.github.simonschubert.LinuxCommandLibrary.yaml
File metadata and controls
61 lines (50 loc) · 2.31 KB
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
61
app-id: io.github.simonschubert.LinuxCommandLibrary
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
command: lcl-gui-wrapper
finish-args:
- --socket=x11
- --socket=wayland
- --share=ipc
- --device=dri
- --persist=.linuxcommandlibrary
- --persist=.java
modules:
- name: linuxcommandlibrary
buildsystem: simple
build-commands:
# Extract and install the application
- tar xf LinuxCommandLibrary-linux-x86_64.tar.gz
- mkdir -p /app/lib/linuxcommandlibrary
- cp -r LinuxCommandLibrary/* /app/lib/linuxcommandlibrary/
# Install wrapper script
- install -Dm755 lcl-gui-wrapper.sh /app/bin/lcl-gui-wrapper
# Install desktop file
- install -Dm644 io.github.simonschubert.LinuxCommandLibrary.desktop /app/share/applications/io.github.simonschubert.LinuxCommandLibrary.desktop
# Install metainfo
- install -Dm644 io.github.simonschubert.LinuxCommandLibrary.metainfo.xml /app/share/metainfo/io.github.simonschubert.LinuxCommandLibrary.metainfo.xml
# Install icon
- install -Dm644 icon.png /app/share/icons/hicolor/512x512/apps/io.github.simonschubert.LinuxCommandLibrary.png
sources:
- type: file
url: https://github.com/SimonSchubert/LinuxCommandLibrary/releases/download/v4.0.2/LinuxCommandLibrary-4.0.2-linux-x86_64.tar.gz
sha256: e851504205b87ba0dd4053efe174a1e43f7e2fdc9f7051594559a94ba5aa181c
dest-filename: LinuxCommandLibrary-linux-x86_64.tar.gz
x-checker-data:
type: json
url: https://api.github.com/repos/SimonSchubert/LinuxCommandLibrary/releases/latest
version-query: .tag_name | sub("^v"; "")
url-query: .assets[] | select(.name | test("linux-x86_64\\.tar\\.gz$")) | .browser_download_url
- type: file
path: io.github.simonschubert.LinuxCommandLibrary.desktop
- type: file
path: io.github.simonschubert.LinuxCommandLibrary.metainfo.xml
- type: file
path: ../desktopApp/icon.png
- type: script
dest-filename: lcl-gui-wrapper.sh
commands:
- export PATH="/app/lib/linuxcommandlibrary/bin:${PATH}"
- export LD_LIBRARY_PATH="/app/lib/linuxcommandlibrary/lib/runtime/lib:${LD_LIBRARY_PATH}"
- exec /app/lib/linuxcommandlibrary/bin/LinuxCommandLibrary "$@"