-
Notifications
You must be signed in to change notification settings - Fork 0
/
com.cburch.Logisim.yml
46 lines (46 loc) · 1.93 KB
/
com.cburch.Logisim.yml
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
app-id: com.cburch.Logisim
runtime: org.freedesktop.Platform
runtime-version: "23.08"
sdk: org.freedesktop.Sdk
command: logisim
sdk-extensions:
- org.freedesktop.Sdk.Extension.openjdk17
finish-args:
# X11 + XShm access
- --share=ipc
- --socket=x11
# GPU acceleration if needed
- --device=dri
# Needs to save files locally
- --filesystem=home
- --env=PATH=/usr/bin:/app/bin:/app/jre/bin
modules:
- name: openjdk
buildsystem: simple
build-commands:
- /usr/lib/sdk/openjdk17/install.sh
- name: logisim
buildsystem: simple
build-commands:
- install -D logisim /app/bin/logisim
- install -D "logisim-generic-2.7.1.jar" /app/share/logisim.jar
- install -Dm644 com.cburch.Logisim.svg /app/share/icons/hicolor/scalable/apps/com.cburch.Logisim.svg
- install -Dm644 com.cburch.Logisim.desktop /app/share/applications/com.cburch.Logisim.desktop
- install -Dm644 com.cburch.Logisim.metainfo.xml /app/share/metainfo/com.cburch.Logisim.metainfo.xml
sources:
- type: script
dest-filename: logisim
commands:
- exec java -jar /app/share/logisim.jar
- type: file
url: "https://sourceforge.net/projects/circuit/files/2.7.x/2.7.1/logisim-generic-2.7.1.jar"
sha256: 362a78c12ad18c203fed868872c4a01cd9c12141379d92e892bbe2c37e627bc2
- type: file
url: "https://github.com/raw/Dimitry-bit/logisim-flathub/main/com.cburch.Logisim.svg"
sha256: 05116384c83f3d5676c4d34cfa968619a5a84d13da4a85a918fb0df21fde359d
- type: file
url: "https://github.com/raw/Dimitry-bit/logisim-flathub/main/com.cburch.Logisim.desktop"
sha256: 2f1fe567ec45f0e82e963f72d4b113581a56a14b4c0941544b34e6f582f77dea
- type: file
url: "https://github.com/raw/Dimitry-bit/logisim-flathub/main/com.cburch.Logisim.metainfo.xml"
sha256: eda9104028fa7cd39a858c59e673a43b8a556e999383ba0a0a5a5427ac275d39