popcorntime-flatpak/README.md

26 lines
702 B
Markdown
Raw Normal View History

2022-12-15 12:43:17 +01:00
# popcorntime-flatpak
2022-12-15 12:50:29 +01:00
Forked from [Florian Ströger's PopcornTime-Flatpak](https://gitlab.com/Preisschild/popcorntime-flatpak).
2022-12-15 12:43:17 +01:00
2022-12-15 12:50:29 +01:00
## How to build:
2022-12-15 12:43:17 +01:00
2022-12-15 12:50:29 +01:00
1 - Install [Flatpak](https://flatpak.org/setup/) & flatpak-builder
2022-12-15 12:43:17 +01:00
2022-12-15 12:50:29 +01:00
2 - Add Flathub remote
2022-12-15 12:43:17 +01:00
```
2022-12-15 12:50:29 +01:00
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
```
2022-12-15 12:43:17 +01:00
2022-12-15 12:50:29 +01:00
3 - Build the Flatpak package
2022-12-15 12:43:17 +01:00
2022-12-15 12:50:29 +01:00
```
sudo flatpak-builder --install --install-deps-from=flathub popcorntime sh.popcorntime.PopcornTime.yml --repo popcorntime_repo
```
2022-12-15 12:43:17 +01:00
2022-12-15 12:50:29 +01:00
4 - Create the Flatpak bundle for export
2022-12-15 12:43:17 +01:00
2022-12-15 12:50:29 +01:00
```
flatpak build-bundle popcorntime_repo popcorntime.flatpak sh.popcorntime.PopcornTime --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo
```