Warning, /multimedia/kdenlive/packaging/flatpak/README.md is written in an unsupported language. File is not indexed.

0001 # Package Kdenlive as Flatpak
0002 
0003 ## Stable Version
0004 The manifest for the stable Kdenlive version on Flathub is hosted on https://github.com/flathub/org.kde.kdenlive
0005 
0006 ## Nightly Version
0007 The nightly flatpak is on the kde flatpak repository (`kdeapps`). The build scripts for this repository are living at https://invent.kde.org/packaging/flatpak-kde-applications but in Kdenlives case it is just a link to the `.flatpak-manifest.json` file in the root of the Kdenlive repository. It is used by the new GitLab Flatpak CI. 
0008 
0009 ## How to build
0010 
0011 First you need to setup `flatpak` and [`flatpak-builder`](https://docs.flatpak.org/en/latest/flatpak-builder.html). On Ubuntu you do it by running
0012 ```
0013 sudo apt install flatpak flatpak-builder
0014 ```
0015 
0016 To build Kdenlive you also need some dependencies:
0017 ```
0018 flatpak install org.kde.Sdk
0019 ```
0020 
0021 To build and install the Flatpak just run the following command from the root of the Kdenlive repository:
0022 
0023 ```
0024 flatpak-builder ~/flatpak-buildir .flatpak-manifest.json --install
0025 ```
0026 
0027 Read the flatpak build instructions for further general instructions on the flatpak build system: https://docs.flatpak.org/en/latest/building.html
0028 
0029 Tip: use `flatpak make-current master` or `flatpak make-current stable` to switch the current version for `flatpak run org.kde.kdenlive`
0030 
0031 ## Check for updates of dependencies
0032 
0033 The flatpak manifest contains `x-checker-data` for [flatpak-external-data-checker](https://github.com/flathub/flatpak-external-data-checker).
0034 
0035 That means that after you installed it with
0036 
0037 ```
0038 flatpak install --from https://dl.flathub.org/repo/appstream/org.flathub.flatpak-external-data-checker.flatpakref
0039 ```
0040 
0041 you can simply run
0042 
0043 ```
0044 flatpak run org.flathub.flatpak-external-data-checker .flatpak-manifest.json
0045 ```
0046 
0047 to get a report about all dependencies with new versions available.