-
Notifications
You must be signed in to change notification settings - Fork 21
/
com.blackmagic.Resolve.yaml
89 lines (88 loc) · 2.61 KB
/
com.blackmagic.Resolve.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
####
# Flatpak Configuration for building DaVinci Resolve
#
####
app-id: com.blackmagic.Resolve
runtime: org.freedesktop.Platform
runtime-version: &runtime-version '23.08'
sdk: org.freedesktop.Sdk
finish-args:
- --share=ipc
- --share=network
- --socket=pulseaudio
- --socket=x11
- --socket=wayland
- --device=dri
- --filesystem=xdg-documents
- --filesystem=xdg-cache
- --filesystem=xdg-data
- --filesystem=xdg-videos
- --filesystem=~/.local/share/DaVinciResolve
- --filesystem=~/Desktop
- --env=LD_PRELOAD=/lib/x86_64-linux-gnu/libglib-2.0.so.0 /lib/x86_64-linux-gnu/libgio-2.0.so.0 /lib/x86_64-linux-gnu/libgmodule-2.0.so.0 /lib/x86_64-linux-gnu/libgobject-2.0.so.0
command: /app/bin/resolve.sh
modules:
- shared-modules/glu/glu-9.json
#Ship libcrypt.so.1 with flatpak as not provided by runtime or by Blackmagic. See https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/issues/1708
- name: libxcrypt
buildsystem: autotools
config-opts: ["--enable-obsolete-api=glibc"]
sources:
- type: git
url: https://github.com/besser82/libxcrypt.git
tag: v4.4.36
- name: onetbb
disabled: true
buildsystem: cmake-ninja
config-opts:
- -Wno-dev
- -DTBB_TEST=OFF
sources:
- type: git
url: https://github.com/oneapi-src/oneTBB
tag: v2021.11.0
# #Build libcxx and ship as a library with Resolve as BM is outdated and segfaults on some setups. Disabled by default.
# - name: libcxx
# disabled: true
# buildsystem: cmake-ninja
# builddir: true
# subdir: runtimes
# config-opts:
# - -DCMAKE_BUILD_TYPE=Release
# - -DLLVM_ENABLE_RUNTIMES=libcxx;libcxxabi
# - -DLLVM_TARGETS_TO_BUILD=X86
# - -Wno-dev
# sources:
# - type: git
# url: https://github.com/llvm/llvm-project.git
# tag: llvmorg-17.0.6
- name: resolve
buildsystem: simple
build-options:
build-args:
- --share=network
build-commands:
- install -Dm644 logo.png /app/share/icons/hicolor/scalable/apps/com.blackmagic.Resolve.png
- |
./run_complete_installation.sh
sources:
- type: file
path: python/build_metainfo.py
- type: file
path: python/main.py
- type: file
path: python/resolve_download.py
- type: file
path: python/version.py
- type: file
path: shell/setup_resolve.sh
- type: file
path: shell/setup_directories.sh
- type: file
path: shell/resolve.sh
- type: file
path: run_complete_installation.sh
- type: file
path: requirements.txt
- type: file
path: logo.png