forked from flathub/com.unity.UnityHub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.unity.UnityHub.yaml
84 lines (80 loc) · 2.6 KB
/
com.unity.UnityHub.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
app-id: com.unity.UnityHub
base: io.atom.electron.BaseApp
base-version: '18.08'
runtime: org.freedesktop.Platform
runtime-version: '18.08'
sdk: org.freedesktop.Sdk
command: start-unityhub
separate-locales: false
tags:
- proprietary
finish-args:
- '--allow=multiarch'
- '--device=dri'
- '--filesystem=host'
- '--share=ipc'
- '--share=network'
- '--socket=pulseaudio'
- '--socket=x11'
- '--talk-name=org.freedesktop.Flatpak'
- '--talk-name=org.gnome.Software'
add-extensions:
org.freedesktop.Platform.Compat.i386:
directory: lib/i386-linux-gnu
version: '18.08'
org.freedesktop.Platform.Compat.i386.Debug:
directory: lib/debug/lib/i386-linux-gnu
version: '18.08'
modules:
- name: compat
buildsystem: simple
build-commands:
- 'mkdir -p /app/lib/i386-linux-gnu /app/lib/debug/lib/i386-linux-gnu'
- shared-modules/glu/glu-9.0.0.json
- name: unappimage
buildsystem: simple
build-commands:
- 'make -C squashfs-tools install INSTALL_DIR=/app/bin'
sources:
- type: git
url: https://github.com/refi64/unappimage
commit: d7f86f2a0d7ec3a69211125207d5f127386b849a
- name: cpio
cleanup:
- '/libexec'
- '/share/info'
- '/share/man'
sources:
- type: archive
url: https://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.gz
sha256: 08a35e92deb3c85d269a0059a27d4140a9667a6369459299d08c17f713a92e73
- name: unityhub
buildsystem: simple
build-commands:
- 'install -Dm 755 unityhub.sh /app/bin/start-unityhub'
- 'install -Dm 755 vscode.py /app/bin/vscode-editor'
- 'install -Dm 755 apply_extra.sh /app/bin/apply_extra'
- 'install -Dm 755 patch-resources.py /app/bin/patch-resources'
- 'install -Dm 644 com.unity.UnityHub.appdata.xml /app/share/metainfo/com.unity.UnityHub.appdata.xml'
- 'install -Dm 644 com.unity.UnityHub.desktop /app/share/applications/com.unity.UnityHub.desktop'
- 'install -Dm 644 Unity.png /app/share/icons/hicolor/256x256/apps/com.unity.UnityHub.png'
sources:
- type: extra-data
filename: UnityHubSetup.AppImage
url: https://public-cdn.cloud.unity3d.com/hub/prod/UnityHubSetup.AppImage
sha256: 81774eecf1362df5232a2a404bbe791d23b48dcb3e6a42b290e8829afe5c0886
size: 58073196
- type: file
path: Unity.png
- type: file
path: unityhub.sh
- type: file
path: vscode.py
- type: file
path: apply_extra.sh
- type: file
path: patch-resources.py
- type: file
path: com.unity.UnityHub.appdata.xml
- type: file
path: com.unity.UnityHub.desktop