-
Notifications
You must be signed in to change notification settings - Fork 18
/
pm.mirko.Atoms.prod.yml
170 lines (160 loc) · 5.13 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
---
app-id: pm.mirko.Atoms
runtime: org.gnome.Platform
runtime-version: '44'
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: 22.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: vte # needed by gtk4
buildsystem: meson
config-opts:
- -Ddocs=false
- -Dvapi=false
- -Dgtk4=true
- -Dgtk3=false
sources:
- type: archive
url: https://download.gnome.org/sources/vte/0.72/vte-0.72.0.tar.xz
sha256: 40fe914d6c70db34176c922725b6c6ea15d5f3cb2a9b44c57e200a5f950a6736
- 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: cb7e7ec6c9096bdfef180df3999ab9ba59615753
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: 063441fa9fbb7b713b4c3a01e5615da9939a4147