Make use of the newer build in popcorntimes' ci

This commit is contained in:
Florian Ströger 2018-11-03 02:39:04 +01:00
parent 915c137bc4
commit f959fbb1cb
2 changed files with 4 additions and 5 deletions

View File

@ -3,7 +3,6 @@ PopcornTime Flatpak package (unoffical)
## TODO: ## TODO:
- [ ] Contact upstream to use it as an official distribution system - [ ] Contact upstream to use it as an official distribution system
- [ ] Get a dynamic mirror link instead of "mirror03.popcorntime.sh"
- [ ] Looking for a way to allow external players (might not be possible with flatpak) - [ ] Looking for a way to allow external players (might not be possible with flatpak)

View File

@ -20,20 +20,20 @@ modules:
- name: popcorntime - name: popcorntime
buildsystem: simple buildsystem: simple
cleanup: cleanup:
- Popcorn-Time-0.3.10-Linux-64.tar.xz - Popcorn-Time-0.3.10_linux64.tar.xz
sources: sources:
- type: file - type: file
only-arches: only-arches:
- x86_64 - x86_64
url: https://mirror03.popcorntime.sh/repo/build/Popcorn-Time-0.3.10-Linux-64.tar.xz url: https://ci.popcorntime.sh/job/Popcorn-Time-Desktop/lastBuild/artifact/build/Popcorn-Time-0.3.10_linux64.tar.xz
sha256: b7f789c2e2f3b0f7e3408a437080404f8a2aa7ce4a41858cf891b02cda8c37a5 sha256: a8419314601e329db1d486f98f2762108860fb44b26a915d91005cd6ee2f66b5
- type: script - type: script
dest-filename: popcorntime-wrapper dest-filename: popcorntime-wrapper
commands: commands:
- exec /app/popcorntime/Popcorn-Time - exec /app/popcorntime/Popcorn-Time
build-commands: build-commands:
- install -d /app/popcorntime - install -d /app/popcorntime
- tar -xvf Popcorn-Time-0.3.10-Linux-64.tar.xz -C /app/popcorntime - tar -xvf Popcorn-Time-0.3.10_linux64.tar.xz -C /app/popcorntime
- install popcorntime-wrapper /app/bin/ - install popcorntime-wrapper /app/bin/
- install -d /app/share/icons/hicolor/256x256/apps/ - 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 /app/popcorntime/src/app/images/icon.png /app/share/icons/hicolor/256x256/apps/sh.popcorntime.PopcornTime.png