-
Notifications
You must be signed in to change notification settings - Fork 0
/
flatpak_manifest.yaml
34 lines (27 loc) · 984 Bytes
/
flatpak_manifest.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
# flatpak-builder --user --install --force-clean example example-webkit2gtk/flatpak_manifest.yaml
# flatpak run app.filesqueezer.example
app-id: app.filesqueezer.example
runtime: org.fedoraproject.Platform/x86_64/f37
sdk: org.fedoraproject.Sdk/x86_64/f37
command: FooBar
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --socket=x11
- --socket=session-bus
- --share=ipc
- --share=network
- --filesystem=host
modules:
# The big problem is that cmake building is broken on fedora and nobody seems to care.
# It needs RPM packaging environment variables set, even if we just use fake ones.
- name: program
buildsystem: simple
build-commands: [
"mkdir mybuild",
"export RPM_ARCH=x86_64;export RPM_PACKAGE_RELEASE=1;export RPM_PACKAGE_VERSION='1.1';export RPM_PACKAGE_NAME='Foo'; cd mybuild; cmake -DCMAKE_INSTALL_PREFIX:PATH=/app ..; make -v; make install",
"ls -la"
]
sources:
- type: dir
path: .