-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.pinkpixel.Parfait.yml
More file actions
95 lines (87 loc) · 2.54 KB
/
dev.pinkpixel.Parfait.yml
File metadata and controls
95 lines (87 loc) · 2.54 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
app-id: dev.pinkpixel.Parfait
runtime: org.gnome.Platform
runtime-version: "49"
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
command: parfait
finish-args:
# Display access
- --share=ipc
- --socket=fallback-x11
- --socket=wayland
# GPU acceleration
- --device=dri
# File system access
- --filesystem=xdg-documents
- --filesystem=xdg-pictures
- --filesystem=xdg-download
- --filesystem=xdg-run/gvfsd
build-options:
append-path: /usr/lib/sdk/rust-stable/bin
env:
CARGO_HOME: /run/build/parfait/cargo
RUSTFLAGS: --remap-path-prefix=../=
modules:
# libwebp for WebP support
- name: libwebp
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DWEBP_BUILD_ANIM_UTILS=OFF
- -DWEBP_BUILD_CWEBP=OFF
- -DWEBP_BUILD_DWEBP=OFF
- -DWEBP_BUILD_GIF2WEBP=OFF
- -DWEBP_BUILD_IMG2WEBP=OFF
- -DWEBP_BUILD_VWEBP=OFF
- -DWEBP_BUILD_WEBPINFO=OFF
- -DWEBP_BUILD_WEBPMUX=OFF
- -DWEBP_BUILD_EXTRAS=OFF
cleanup:
- /share
- /bin
sources:
- type: archive
url: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.4.0.tar.gz
sha256: 61f873ec69e3be1b99535634340d5bde750b2e4447caa1db9f61be3fd49ab1e5
# Legacy libheif module retained from earlier packaging work
- name: libheif
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DWITH_EXAMPLES=OFF
- -DWITH_GDK_PIXBUF=OFF
cleanup:
- /bin
- /share
sources:
- type: archive
url: https://github.com/strukturag/libheif/releases/download/v1.18.2/libheif-1.18.2.tar.gz
sha256: c4002a622bec9f519f29d84bfdc6024e33fd67953a5fb4dc2c2f11f67d5e45bf
# dav1d for AVIF (AV1 decoder)
- name: dav1d
buildsystem: meson
config-opts:
- -Denable_tools=false
- -Denable_tests=false
cleanup:
- /bin
sources:
- type: archive
url: https://downloads.videolan.org/pub/videolan/dav1d/1.4.3/dav1d-1.4.3.tar.xz
sha256: 42fe524bcc82ea3a830057178faace22923a79bad3d819a4962d8cfc54c36f19
# Main application
- name: parfait
buildsystem: meson
build-options:
append-path: /usr/lib/sdk/rust-stable/bin
env:
CARGO_HOME: /run/build/parfait/cargo
sources:
- type: git
url: https://github.com/pinkpixel-dev/parfait.git
tag: v1.0.0
commit: 07f3198ca7fc79766304c5ee61937be20f721f83
- parfait-cargo-sources.json
- rav1e-cargo-sources.json