/
io.github.RodZill4.Material-Maker.yaml
52 lines (44 loc) · 2.1 KB
/
io.github.RodZill4.Material-Maker.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
app-id: io.github.RodZill4.Material-Maker
base: org.godotengine.godot.BaseApp
base-version: "3.5"
runtime: org.freedesktop.Platform
runtime-version: "22.08"
sdk: org.freedesktop.Sdk
command: material-maker
rename-icon: icon
finish-args:
- --share=ipc
- --socket=x11
- --filesystem=home
- --device=dri
- --share=network
modules:
- name: material-maker
buildsystem: simple
sources:
- type: archive
url: https://github.com/RodZill4/material-maker/releases/download/1.3/material_maker_1_3_linux.tar.gz
sha256: 63cf99c17cb7cea9ecc6aa9a65e560152c4bce6524abeac1cdbabcb440dcf3f8
- type: script
dest-filename: material_maker.sh
commands:
# `cd` is needed so that Material Maker can find its data directories.
- cd /app/bin/
# Use the `Dummy` audio driver to avoid error messages when starting the application from a terminal.
- /app/bin/godot-runner --audio-driver Dummy --main-pack /app/bin/material-maker.pck "$@"
- type: file
url: https://github.com/RodZill4/material-maker/raw/1.3/icon.png
sha256: 72ee1a0fc59b798b8849eb9bd0cb7b67fd9ee3ff41645f90c2ca98168f3619ef
- type: file
url: https://github.com/RodZill4/material-maker/raw/1.3/material_maker/misc/linux/io.github.RodZill4.Material-Maker.desktop
sha256: 381e6425233d0aa3786c5583a2415d0d20b828481fa93dceac1e4376481d1330
- type: file
url: https://github.com/RodZill4/material-maker/raw/1.3/material_maker/misc/linux/io.github.RodZill4.Material-Maker.appdata.xml
sha256: 77a214343062d563b06760075407abc6f967c1882fa12dca20c3d0ed2a7d210a
build-commands:
- install -Dm755 material_maker.sh /app/bin/material-maker
- install -Dm644 material_maker.pck /app/bin/material-maker.pck
- mv {examples,library,nodes,doc,environments,meshes,export}/ /app/bin/
- install -Dm644 icon.png -t /app/share/icons/hicolor/256x256/apps/
- install -Dm644 io.github.RodZill4.Material-Maker.desktop -t /app/share/applications/
- install -Dm644 io.github.RodZill4.Material-Maker.appdata.xml -t /app/share/appdata/