This repository has been archived on 2023-12-11. You can view files and clone it, but cannot push or open issues or pull requests.
popcorntime-flatpak/README.md

43 lines
1021 B
Markdown
Raw Normal View History

2018-11-02 19:18:09 +01:00
# stremio-flatpak
2018-11-02 19:36:02 +01:00
PopcornTime Flatpak package (unoffical)
2018-11-02 19:18:09 +01:00
## TODO:
- [ ] Contact upstream to use it as an official distribution system
2018-11-02 19:36:02 +01:00
- [ ] Get a dynamic mirror link instead of "mirror03.popcorntime.sh"
- [ ] Looking for a way to allow external players (might not be possible with flatpak)
2018-11-02 19:18:09 +01:00
## How to build:
1 - Install [Flatpak](https://flatpak.org/setup/) & flatpak-builder
2 - Add Flathub remote
```
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
```
3 - Install freedesktop's runtime
```bash
flatpak install flathub org.freedesktop.Platform//18.08
flatpak install flathub org.freedesktop.Sdk//18.08
```
4 - Install Electron's BaseApp
```
flatpak install flathub org.electronjs.Electron2.BaseApp//stable
```
5 - Clone the repository
```
2018-11-02 19:36:02 +01:00
git clone --recurse-submodules https://gitlab.com/Preisschild/popcorntime-flatpak
cd ./popcorntime-flatpak
2018-11-02 19:18:09 +01:00
```
2018-11-02 19:36:02 +01:00
6 - Build & Install the Flatpak package
2018-11-02 19:18:09 +01:00
```
2018-11-02 19:36:02 +01:00
flatpak-builder --install stremio sh.popcorntime.PopcornTime.yml
2018-11-02 19:18:09 +01:00
```