Files
resolve-flatpak/README.md
T
2023-06-08 10:57:37 +02:00

57 lines
1.9 KiB
Markdown

resolve-flatpak
===============
This repo allows you to package DaVinci Resolve as a Flatpak for use on Linux Flatpak
based systems, especially e.g. Fedora Silverblue where there aren't easier installation
options.
It's still a work-in-progress; but "works-for-me[tm]" right now.
Usage
-----
1. If you have appimagelauncherd (the AppImage Launcher daemon) installed and enabled, you NEED to temporarely disable it (either through systemctl or through the AppImage Launcher GUI) as it conflicts with flatpak-builder during the .run file repackaging process.
2. `git clone https://github.com/pobthebuilder/resolve-flatpak.git --recursive`
By default, com.blackmagic.Resolve.yaml is configured to package the latest version of Resolve (18.5 Beta 3 at the time of writing).
3. Build your package, and export to a distributable single file installer:
#### Free
```
flatpak-builder --force-clean --repo=repo build-dir com.blackmagic.Resolve.yaml
flatpak build-bundle repo resolve.flatpak com.blackmagic.Resolve
```
#### Studio
```
flatpak-builder --force-clean --repo=repo build-dir com.blackmagic.ResolveStudio.yaml
flatpak build-bundle repo resolve.flatpak com.blackmagic.ResolveStudio
```
4. Enjoy.
## Finding explicit Download IDs (for download_resolve.sh)
#### Studio:
```
curl -o- https://www.blackmagicdesign.com/api/support/nz/downloads.json |
jq -r '.downloads[]
| select(.urls["Linux"] != null)
| select(.urls["Linux"][0]["product"] == "davinci-resolve-studio")
| [.urls["Linux"][0].downloadTitle, .urls["Linux"][0].downloadId]
| @tsv'
```
#### Free:
```
curl -o- https://www.blackmagicdesign.com/api/support/nz/downloads.json |
jq -r '.downloads[]
| select(.urls["Linux"] != null)
| select(.urls["Linux"][0]["product"] == "davinci-resolve")
| [.urls["Linux"][0].downloadTitle, .urls["Linux"][0].downloadId]
| @tsv'
```