-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathorg.virt_manager.virt_manager.Extension.Qemu.yaml
More file actions
255 lines (254 loc) · 10.4 KB
/
org.virt_manager.virt_manager.Extension.Qemu.yaml
File metadata and controls
255 lines (254 loc) · 10.4 KB
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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
app-id: org.virt_manager.virt_manager.Extension.Qemu
runtime: org.virt_manager.virt-manager
runtime-version: stable
sdk: org.freedesktop.Sdk//24.08
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
build-extension: true
separate-locales: false
build-options:
append-path: /usr/lib/sdk/rust-stable/bin
prefix: /app/lib/extensions/Qemu
cflags: -I/app/lib/extensions/Qemu/include
cxxflags: -I/app/lib/extensions/Qemu/include
ldflags: -L/app/lib/extensions/Qemu/lib
libdir: /app/lib/extensions/Qemu/lib
prepend-path: /app/lib/extensions/Qemu/bin
prepend-ld-library-path: /app/lib/extensions/Qemu/lib
prepend-pkg-config-path: /app/lib/extensions/Qemu/lib/pkgconfig:/app/lib/extensions/Qemu/share/pkgconfig
strip: true
modules:
- name: qemu
config-opts:
- --disable-download
- --enable-kvm
- --enable-spice
- --enable-opengl
- --enable-virglrenderer
- --enable-usb-redir
- --disable-debug-info
# Flatpak currently does not have smartcard support https://github.com/flatpak/flatpak/issues/4723
# - "--enable-smartcard"
- --enable-slirp
- --disable-docs
- --disable-user
- --python=/bin/python3
- --target-list=x86_64-softmmu,i386-softmmu
- --disable-bsd-user
- --disable-debug-info
- --disable-glusterfs
- --disable-linux-user
- --disable-oss
- --disable-werror
- --disable-xen
sources:
- type: archive
url: https://download.qemu.org/qemu-9.2.0.tar.xz
sha256: f859f0bc65e1f533d040bbe8c92bcfecee5af2c921a6687c652fb44d089bd894
x-checker-data:
type: anitya
project-id: 13607
url-template: https://download.qemu.org/qemu-9.2.0.tar.xz
modules:
- name: virtiofsd
buildsystem: simple
build-commands:
# Updating the dependencies should be done via `update-deps.sh`
- install -Dm0644 ./virtiofsd-cargo-config.toml .cargo/config
- cargo --offline fetch --manifest-path Cargo.toml --verbose
- cargo --offline build --release --verbose
- install -Dm0755 ./target/release/virtiofsd ${FLATPAK_DEST}/bin/virtiofsd
sources:
- virtiofsd-cargo-sources.json
- type: file
path: virtiofsd-cargo-config.toml
- type: archive
url: https://gitlab.com/virtio-fs/virtiofsd/-/archive/v1.13.0/virtiofsd-v1.13.0.tar.gz
sha256: a45f4b3661322587a06b6aa29e5353e0a7047e755e8a7f55dbae308b778eb41c
x-checker-data:
type: anitya
project-id: 347345
url-template: https://gitlab.com/virtio-fs/virtiofsd/-/archive/v$version/virtiofsd-v$version.tar.gz
modules:
- name: libcap-ng
buildsystem: autotools
config-opts:
- --without-python3
- --enable-static=no
sources:
- type: archive
url: https://github.com/stevegrubb/libcap-ng/archive/v0.8.5.tar.gz
sha256: e4be07fdd234f10b866433f224d183626003c65634ed0552b02e654a380244c2
x-checker-data:
type: anitya
project-id: 1570
stable-only: true
url-template: https://github.com/stevegrubb/libcap-ng/archive/v$version.tar.gz
cleanup:
- /bin
- /share/aclocal
- name: slirp
buildsystem: meson
sources:
- type: archive
url: https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v4.8.0.tar.gz
sha256: 378216c88c021c9ed7de9006db291127d30a0da94a23dffefdb26b26a5849bf7
x-checker-data:
type: anitya
project-id: 96796
url-template: https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v4.8.0.tar.gz
- name: usbredir
buildsystem: meson
modules:
- shared-modules/libusb/libusb.json
sources:
- type: archive
url: https://spice-space.org/download/usbredir/usbredir-0.15.0.tar.xz
sha256: 6dc2a380277688a068191245dac2ab7063a552999d8ac3ad8e841c10ff050961
x-checker-data:
type: anitya
project-id: 16012
stable-only: true
url-template: https://spice-space.org/download/usbredir/usbredir-$version.tar.xz
- name: virglrenderer
buildsystem: meson
build-options:
env:
PYTHONPATH: /app/lib/extensions/Qemu/lib/python3.12/site-packages:/usr/lib/python3.12/site-packages
config-opts:
- -Dvideo=true
- -Dvenus=true
- -Dtests=false
modules:
- name: python3-PyYAML
buildsystem: simple
sources:
- type: file
url: https://files.pythonhosted.org/packages/54/ed/79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17/pyyaml-6.0.2.tar.gz
sha256: d584d9ec91ad65861cc08d42e834324ef890a082e591037abe114850ff7bbc3e
build-commands:
- pip3 install --global-option='--with-libyaml' --no-index --find-links="file://${PWD}"
--prefix="${FLATPAK_DEST}" --no-build-isolation PyYAML
sources:
- type: archive
url: https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/1.1.1/virglrenderer-1.1.1.tar.gz
sha256: 1fc34ffbf2a4f5cf161228f13242e28283bd818901d7daf0027e6ae5fcaeaf9b
x-checker-data:
type: anitya
project-id: 15968
url-template: https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/$version/virglrenderer-$version.tar.gz
- name: spice
buildsystem: autotools
config-opts:
- --disable-lz4
- --disable-manual
- --disable-test
sources:
- type: archive
url: https://www.spice-space.org/download/releases/spice-0.16.0.tar.bz2
sha256: 0a6ec9528f05371261bbb2d46ff35e7b5c45ff89bb975a99af95a5f20ff4717d
x-checker-data:
type: anitya
project-id: 4871
url-template: https://www.spice-space.org/download/releases/spice-$version.tar.bz2
modules:
- name: spice-protocol
buildsystem: meson
sources:
- type: archive
url: https://gitlab.freedesktop.org/spice/spice-protocol/-/archive/v0.14.5/spice-protocol-v0.14.5.tar.gz
sha256: 1be179b3dfbb23946432275f4b7a4b59bb5e9acc25c3128bc930b8264a9f0a20
x-checker-data:
type: anitya
project-id: 14892
stable-only: true
url-template: https://gitlab.freedesktop.org/spice/spice-protocol/-/archive/v$version/spice-protocol-v$version.tar.gz
- name: dtc
buildsystem: meson
sources:
- type: archive
url: https://git.kernel.org/pub/scm/utils/dtc/dtc.git/snapshot/v1.7.2.tar.gz
sha256: 04a30bd38b426ed771b8a8b5d9b773e54976d4f5d51a80a9e76a45b20c9a8272
x-checker-data:
type: anitya
project-id: 16911
url-template: https://git.kernel.org/pub/scm/utils/dtc/dtc.git/snapshot/v$version.tar.gz
- name: swtpm
buildsystem: autotools
config-opts:
- --with-gnutls
- --with-tss-user=tss
- --with-tss-group=tss
sources:
- type: archive
url: https://github.com/stefanberger/swtpm/archive/refs/tags/v0.10.1.tar.gz
sha256: f8da11cadfed27e26d26c5f58a7b8f2d14d684e691927348906b5891f525c684
x-checker-data:
type: anitya
project-id: 116461
stable-only: true
url-template: https://github.com/stefanberger/swtpm/archive/refs/tags/v$version.tar.gz
- type: patch
path: swtpm-no-expect.patch
- type: patch
path: swtpm-tss-user.patch
modules:
- name: socat
buildsystem: autotools
sources:
- type: archive
url: http://www.dest-unreach.org/socat/download/socat-1.8.0.3.tar.gz
sha256: a9f9eb6cfb9aa6b1b4b8fe260edbac3f2c743f294db1e362b932eb3feca37ba4
x-checker-data:
type: anitya
project-id: 4848
url-template: http://www.dest-unreach.org/socat/download/socat-$version.tar.gz
cleanup:
- /share
- name: libtpms
buildsystem: autotools
sources:
- type: archive
url: https://github.com/stefanberger/libtpms/archive/refs/tags/v0.10.0.tar.gz
sha256: 6da9a527b3afa7b1470acd4cd17157b8646c31a2c7ff3ba2dfc50c81ba413426
x-checker-data:
type: anitya
project-id: 116460
stable-only: true
url-template: https://github.com/stefanberger/libtpms/archive/refs/tags/v$version.tar.gz
modules:
- name: tcsd
buildsystem: autotools
config-opts:
- --sbindir=${FLATPAK_DEST}/bin
sources:
- type: archive
url: https://downloads.sourceforge.net/project/trousers/trousers/0.3.15/trousers-0.3.15.tar.gz
sha256: 1e5be93e518372acf1d92d2f567d01a46fdb0b730487e544e6fb896c59cac77f
x-checker-data:
type: anitya
project-id: 5400
url-template: https://downloads.sourceforge.net/project/trousers/trousers/$version/trousers-$version.tar.gz
- name: netstat
buildsystem: simple
build-commands:
# configure with default config
- yes '' | make config
- make netstat
- install -m 0755 netstat ${FLATPAK_DEST}/bin
sources:
- type: archive
url: https://sourceforge.net/projects/net-tools/files/net-tools-2.10.tar.xz
sha256: b262435a5241e89bfa51c3cabd5133753952f7a7b7b93f32e08cb9d96f580d69
x-checker-data:
type: anitya
project-id: 10231
stable-only: true
url-template: https://sourceforge.net/projects/net-tools/files/net-tools-$version.tar.xz
- name: metadata
buildsystem: simple
build-commands:
- install -Dm644 ${FLATPAK_ID}.metainfo.xml -t ${FLATPAK_DEST}/share/metainfo
sources:
- type: file
path: org.virt_manager.virt_manager.Extension.Qemu.metainfo.xml