-
Notifications
You must be signed in to change notification settings - Fork 28
/
vn.hoabinh.quan.CoBang.yaml
210 lines (197 loc) · 7.13 KB
/
vn.hoabinh.quan.CoBang.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
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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
app-id: vn.hoabinh.quan.CoBang
runtime: org.gnome.Platform
runtime-version: '47'
sdk: org.gnome.Sdk
command: cobang
finish-args:
- --share=network
- --share=ipc
# Need to access NetworkManager D-Bus API
- --system-talk-name=org.freedesktop.NetworkManager.*
- --socket=wayland
- --socket=fallback-x11
# Need to load image files
- --filesystem=home:ro
- --talk-name=org.gtk.vfs.*
- --filesystem=xdg-run/gvfsd
# Need to access webcam
- --device=all
modules:
- name: libzbar
# Ref: https://gitlab.gnome.org/World/Authenticator
config-opts:
- --without-java
- --without-qt
- --without-gtk
- --without-xv
- --without-imagemagick
- --disable-video
- --without-dbus
sources:
- type: git
url: https://git.linuxtv.org/zbar.git
tag: 0.23.93
- type: script
dest-filename: autogen.sh
commands:
- autoreconf -vfi -W none
- name: python3-build-tools
buildsystem: simple
build-commands: [
'python3 -m pip install -U --no-index --find-links="file://${PWD}" --prefix=${FLATPAK_DEST} wheel setuptools flit-core cffi'
]
sources:
- type: file
url: https://files.pythonhosted.org/packages/55/3a/5121b58b578a598b269537e09a316ad2a94fdd561a2c6eb75cd68578cc6b/setuptools-69.0.3-py3-none-any.whl
sha256: 385eb4edd9c9d5c17540511303e39a147ce2fc04bc55289c322b9e5904fe2c05
- type: file
url: https://files.pythonhosted.org/packages/c7/c3/55076fc728723ef927521abaa1955213d094933dc36d4a2008d5101e1af5/wheel-0.42.0-py3-none-any.whl
sha256: 177f9c9b0d45c47873b619f5b650346d632cdc35fb5e4d25058e09c9e581433d
- type: file
url: https://files.pythonhosted.org/packages/38/45/618e84e49a6c51e5dd15565ec2fcd82ab273434f236b8f108f065ded517a/flit_core-3.9.0-py3-none-any.whl
sha256: 7aada352fb0c7f5538c4fafeddf314d3a6a92ee8e2b1de70482329e42de70301
- type: file
url: https://files.pythonhosted.org/packages/0d/c7/cb436626760491badd92ac1c8e1a165964b4eb2ceedaaaa90de1e1860be7/Cython-3.0.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
sha256: 22d2a684122dfb531853d57c8c85c1d5d44be709e12466dca99fa6aee7d8054f
- type: file
url: https://files.pythonhosted.org/packages/3a/94/b5bf32e975e0669c20b5f9831807cb4b550968201e284634d4b2e6e32ecf/Cython-3.0.7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
sha256: 0c636c9ab92c7838231a1ba769e519d953af8294612f3f772a54d3a5250ff23f
- type: file
url: https://files.pythonhosted.org/packages/23/e9/ef8607abfbbbaeb93cb1381c8538a22d38d64524df39759dc2787d4909b0/Cython-3.0.7.tar.gz
sha256: fb299acf3a578573c190c858d49e0cf9d75f4bc49c3f24c5a63804997ef09213
- type: file
url:
https://files.pythonhosted.org/packages/b5/23/ea84dd4985649fcc179ba3a6c9390412e924d20b0244dc71a6545788f5a2/cffi-1.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
sha256: d8a9d3ebe49f084ad71f9269834ceccbf398253c9fac910c4fd7053ff1386936
- type: file
url:
https://files.pythonhosted.org/packages/9b/89/a31c81e36bbb793581d8bba4406a8aac4ba84b2559301c44eef81f4cf5df/cffi-1.16.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
sha256: 7b78010e7b97fef4bee1e896df8a4bbb6712b7f05b7ef630f9d1da00f6444d2e
- type: file
url:
https://files.pythonhosted.org/packages/e4/c7/c09cc6fd1828ea950e60d44e0ef5ed0b7e3396fbfb856e49ca7d629b1408/cffi-1.16.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
sha256: 88e2b3c14bdb32e440be531ade29d3c50a1a59cd4e51b1dd8b0865c54ea5d2e2
- type: file
url:
https://files.pythonhosted.org/packages/09/d4/8759cc3b2222c159add8ce3af0089912203a31610f4be4c36f98e320b4c6/cffi-1.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
sha256: e715596e683d2ce000574bae5d07bd522c781a822866c20495e52520564f0969
- type: file
url:
https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl
sha256: 8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9
- flatpak/generated-pdm-sources.yml
# Needed by gst-plugins-good
- name: libsoup
buildsystem: meson
builddir: true
sources:
- type: archive
url: https://github.com/GNOME/libsoup/archive/refs/tags/3.4.5.tar.gz
sha256: f293f78ad01abfb453c8c71fea81ab5d595c85eb604badce39d12165a10d109c
- name: gstreamer
buildsystem: meson
builddir: true
sources:
- type: git
disable-submodules: true
tag: 1.24.10
url: https://github.com/GStreamer/gstreamer.git
- name: intltool
sources:
- type: archive
url: https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz
sha256: 67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd
- name: pwquality
buildsystem: autotools
config-opts:
- --disable-python-bindings
sources:
- type: git
tag: libpwquality-1.4.5
url: https://github.com/libpwquality/libpwquality.git
- name: libndp
buildsystem: autotools
sources:
- type: git
tag: v1.8
url: https://github.com/jpirko/libndp.git
# This depend on linux-pam, but don't know how to include it.
# Ref: https://gitlab.gnome.org/GNOME/gnome-control-center/-/tree/main/build-aux/flatpak
- name: polkit
buildsystem: meson
config-opts:
- -Dauthfw=shadow
rm-configure: true
cleanup:
- /bin/*
- /etc/pam.d
- /etc/dbus-1
- /share/dbus-1/system-services/*
- /share/polkit-1
- /lib/polkit-1
sources:
- type: git
url: https://gitlab.freedesktop.org/polkit/polkit.git
tag: '124'
- name: udev
config-opts:
- --disable-hwdb
- --disable-logging
- --disable-gudev
- --disable-introspection
- --disable-keymap
- --disable-mtd_probe
cleanup:
- /include
- /etc
- /libexec
- /sbin
- /lib/pkgconfig
- /man
- /share/aclocal
- /share/doc
- /share/gtk-doc
- /share/man
- /share/pkgconfig
- '*.la'
- '*.a'
sources:
- type: git
tag: v3.2.14
url: https://github.com/eudev-project/eudev.git
- name: NetworkManager
buildsystem: meson
build-options:
cflags: -ltinfo
cxxflags: -ltinfo
config-opts:
- -Dlibaudit=no
- -Ddbus_conf_dir=/app/etc/dbus-1/system.d
- -Ddnsmasq=/usr/bin/true
- -Ddocs=false
- -Dintrospection=true
- -Diptables=/usr/bin/true
- -Dlibpsl=false
- -Dmodem_manager=false
- -Dnmtui=false
- -Dovs=false
- -Dppp=false
- -Dqt=false
- -Dselinux=false
- -Dsession_tracking=no
- -Dsystemdsystemunitdir='no'
- -Dsystemd_journal=false
- -Dtests=no
- -Dvapi=false
- -Dwifi=true
sources:
- type: git
url: https://github.com/NetworkManager/NetworkManager.git
tag: 1.46.4
- name: cobang
builddir: true
buildsystem: meson
sources:
- type: git
branch: main
path: .