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/sh.popcorntime.PopcornTime.yml

42 lines
1.8 KiB
YAML
Raw Permalink Normal View History

2018-11-02 19:18:09 +01:00
app-id: sh.popcorntime.PopcornTime
runtime: org.freedesktop.Platform
runtime-version: '18.08'
branch: stable
sdk: org.freedesktop.Sdk
2018-11-03 16:44:53 +01:00
base: io.atom.electron.BaseApp
base-version: '18.08'
2018-11-02 19:18:09 +01:00
command: popcorntime-wrapper
separate-locales: false
finish-args:
- --share=ipc
- --share=network
- --socket=x11
- --socket=pulseaudio
- --filesystem=home:ro
2018-11-02 19:18:09 +01:00
- --talk-name=org.freedesktop.Notifications
modules:
- name: popcorntime
buildsystem: simple
cleanup:
2018-12-26 18:40:54 +01:00
- Popcorn-Time-0.3.10-Linux-64.tar.xz
2018-11-02 19:18:09 +01:00
sources:
- type: file
only-arches:
- x86_64
2018-12-26 18:40:54 +01:00
url: https://get.popcorntime.sh/build/Popcorn-Time-0.3.10-Linux-64.tar.xz
sha256: b7f789c2e2f3b0f7e3408a437080404f8a2aa7ce4a41858cf891b02cda8c37a5
2018-11-02 19:18:09 +01:00
- type: script
dest-filename: popcorntime-wrapper
commands:
- exec /app/popcorntime/Popcorn-Time
build-commands:
- install -d /app/popcorntime
2018-12-26 18:40:54 +01:00
- tar -xvf Popcorn-Time-0.3.10-Linux-64.tar.xz -C /app/popcorntime
2018-11-02 19:18:09 +01:00
- install popcorntime-wrapper /app/bin/
- install -d /app/share/icons/hicolor/256x256/apps/
- install /app/popcorntime/src/app/images/icon.png /app/share/icons/hicolor/256x256/apps/sh.popcorntime.PopcornTime.png
- install -d /app/share/applications
- touch sh.popcorntime.PopcornTime.desktop
- install -m644 sh.popcorntime.PopcornTime.desktop /app/share/applications/sh.popcorntime.PopcornTime.desktop
2019-06-17 21:25:14 +02:00
- desktop-file-edit --set-key=Exec --set-value='popcorntime-wrapper %U' --set-key=Icon --set-value='popcorn-time' --set-key=Comment --set-value='Watch Movies and TV Shows instantly' --set-key=Name --set-value='Popcorn Time' --set-key=MimeType --set-value='application/x-bittorrent;x-scheme-handler/magnet;' --set-key=StartupNotify --set-value='false' --set-key=Categories --set-value='AudioVideo;Video;Player;' --set-key=Type --set-value='Application' /app/share/applications/sh.popcorntime.PopcornTime.desktop