forked from AtomsDevs/Atoms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpm.mirko.Atoms.prod.yml
195 lines (183 loc) · 5.72 KB
/
pm.mirko.Atoms.prod.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
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
---
app-id: pm.mirko.Atoms
runtime: org.gnome.Platform
runtime-version: '43'
sdk: org.gnome.Sdk
command: atoms
finish-args:
- "--share=network"
- "--share=ipc"
- "--socket=fallback-x11"
- "--device=dri"
- "--socket=wayland"
- "--allow=devel" # this make proot works
add-extensions:
org.freedesktop.Platform.GL32:
directory: lib/i386-linux-gnu/GL
version: '1.4'
versions: 21.08;1.4
subdirectories: true
no-autodownload: true
autodelete: false
add-ld-path: lib
merge-dirs: vulkan/icd.d;glvnd/egl_vendor.d;OpenCL/vendors;lib/dri;lib/d3d;vulkan/explicit_layer.d
download-if: active-gl-driver
enable-if: active-gl-driver
cleanup:
- "/include"
- "/lib/pkgconfig"
- "/man"
- "/share/doc"
- "/share/gtk-doc"
- "/share/man"
- "/share/pkgconfig"
- "*.la"
- "*.a"
modules:
- name: talloc
buildsystem: autotools
sources:
- type: archive
url: https://www.samba.org/ftp/talloc/talloc-2.3.4.tar.gz
sha256: 179f9ebe265e67e4ab2c26cad2b7de4b6a77c6c212f966903382869f06be6505
- name: proot
buildsystem: simple
build-commands:
- mv uthash/src/* src
- make -C src proot
- install -d /app/lib
- install -Dm755 src/proot -t /app/bin
sources:
- type: archive
url: https://github.com/troydhanson/uthash/archive/refs/tags/v2.3.0.tar.gz
sha256: e10382ab75518bad8319eb922ad04f907cb20cccb451a3aa980c9d005e661acc
dest: uthash
- type: git
url: https://github.com/termux/proot
commit: 5c462a6ecfddd629b1439f38fbb61216d6fcb359
- name: libadwaita # needed for AdwEntryRow
buildsystem: meson
config-opts:
- -Dexamples=false
- -Dtests=false
sources:
- type: git
url: https://gitlab.gnome.org/GNOME/libadwaita.git
tag: 1.2.alpha
commit: 9150f4016a04064a00733b78391c8e6aad49bee8
modules:
- name: libsass
buildsystem: meson
sources:
- type: git
url: https://github.com/lazka/libsass.git
commit: 302397c0c8ae2d7ab02f45ea461c2c3d768f248e
- name: sassc
buildsystem: meson
sources:
- type: git
url: https://github.com/lazka/sassc.git
commit: 82803377c33247265d779af034eceb5949e78354
- name: vte # needed by gtk4
buildsystem: meson
config-opts:
- -Ddocs=false
- -Dvapi=false
- -Dgtk4=true
- -Dgtk3=false
sources:
- type: git
url: https://gitlab.gnome.org/GNOME/vte.git
commit: 3ed53bfaa7344ce5b7727a60a2d33315b15201e5
- name: servicectl
buildsystem: simple
build-commands:
- install -Dm755 serviced -t /app/bin
- install -Dm755 servicectl -t /app/bin
sources:
- type: git
url: https://github.com/AtomsDevs/servicectl.git
commit: fda22d97a65bb881d83f4ba10a78ce54867eeed4
- name: atoms-core
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: git
url: https://github.com/AtomsDevs/atoms-core.git
commit: c3c3d13fabd5438bf3a0198a9810231a5cd0da28
modules:
- name: orjson
buildsystem: simple
build-commands:
- pip3 install --prefix /app --no-deps orjson-*.whl
sources:
- type: file
url: https://files.pythonhosted.org/packages/d6/79/174c198de7beb2f5ce06c41ecafb1aafc0714bb61a051ad9dfbc2fed76e8/orjson-3.7.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
sha256: 7ef66e7c47e9531dfa3b3ffb791b548c84903570b0914b01acc5eeb56ff5bc33
- name: python-requests
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/psf/requests/archive/refs/tags/v2.28.0.tar.gz
sha256: 6b757ca284d8dc192794010c960b0cf405fcc7aed9ed2e04a8269dc41b1231ad
- name: python-urllib3
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/urllib3/urllib3/archive/refs/tags/1.26.9.tar.gz
sha256: 5860049db8811e7a26e5f228359522814dc8159e6ec4f352b1b596e0dee80503
- name: python-chardet
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/chardet/chardet/archive/4.0.0.tar.gz
sha256: 67bbe3eb02691d38831ddf2719c40fe09381bc17f15321946f6cd71dc274e530
- name: python-certifi
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/certifi/python-certifi/archive/refs/tags/2021.10.08.tar.gz
sha256: 51c2cf76f7f2582d9c4eb5440bb311ef523ba0b319d0a973450ecebfb6802a3a
- name: python-idna
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/kjd/idna/archive/refs/tags/v3.3.tar.gz
sha256: 34b145ffe35b7872e9a3e0abc3a3a8330db90a0fd58db978725fd05c5c7d9f88
- name: atoms-cli
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: git
url: https://github.com/AtomsDevs/atoms-cli.git
commit: 8a212ff8546b850bb20f72fb4ca4856460fe762c
modules:
- name: python-tabulate
buildsystem: simple
build-commands:
- python3 setup.py install --prefix=/app --root=/
sources:
- type: archive
url: https://github.com/astanin/python-tabulate/archive/refs/tags/v0.8.10.tar.gz
sha256: 7a81a625d3cdfdd7c9db25f992410f46e7cbb20ed151126fceeac95586b90284
- name: atoms
builddir: true
buildsystem: meson
post-install:
- mkdir -p /app/lib/i386-linux-gnu/GL
sources:
- type: git
url: https://github.com/AtomsDevs/Atoms.git
commit: decbb33cfa504ab77c15d79a535809ef57782b03