-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathio.elementary.camera.yml
67 lines (62 loc) · 1.53 KB
/
io.elementary.camera.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
app-id: io.elementary.camera
runtime: io.elementary.Platform
runtime-version: '8'
sdk: io.elementary.Sdk
command: io.elementary.camera
sdk-extensions:
- "org.freedesktop.Sdk.Extension.rust-stable"
build-options:
env:
CARGO_HOME: /run/build/cargo-c/cargo
append-path: /usr/lib/sdk/rust-stable/bin
finish-args:
- '--filesystem=xdg-pictures'
- '--filesystem=xdg-videos'
- '--share=ipc'
- '--socket=fallback-x11'
- '--socket=wayland'
- '--socket=pulseaudio'
- '--device=dri'
- '--device=all'
- '--env=GST_PLUGIN_PATH_1_0=/app/lib64/gstreamer-1.0'
- '--metadata=X-DConf=migrate-path=/io/elementary/camera/'
cleanup:
- '*.a'
- '*.la'
modules:
- name: cargo-c
buildsystem: simple
build-commands:
- "cargo install cargo-c --root /app"
build-options:
build-args:
- "--share=network"
cleanup:
- "*"
- name: gst-plugins-rs
buildsystem: simple
sources:
- type: git
url: https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs
branch: '0.12'
build-options:
build-args:
- "--share=network"
build-commands:
- "cargo cinstall -p gst-plugin-gtk4 --prefix=/app"
- name: canberra
config-opts:
- '--enable-gstreamer'
- '--enable-pulse'
- '--disable-oss'
- '--disable-static'
- '--with-builtin=dso'
sources:
- type: git
url: http://git.0pointer.net/clone/libcanberra.git
disable-shallow-clone: true
- name: camera
buildsystem: meson
sources:
- type: dir
path: .