-
Notifications
You must be signed in to change notification settings - Fork 9
/
io.freetubeapp.FreeTube.yml
56 lines (56 loc) · 2.05 KB
/
io.freetubeapp.FreeTube.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
app-id: io.freetubeapp.FreeTube
runtime: org.freedesktop.Platform
runtime-version: '23.08'
branch: stable
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
base-version: '23.08'
command: run.sh
separate-locales: false
finish-args:
- --device=dri
- --share=ipc
- --socket=x11
- --socket=pulseaudio
- --share=network
- --filesystem=xdg-download
- --own-name=org.mpris.MediaPlayer2.chromium.*
- --own-name=org.mpris.MediaPlayer2.freetube
- --talk-name=org.freedesktop.PowerManagement
- --talk-name=org.freedesktop.ScreenSaver
- --talk-name=org.gnome.SessionManager
- --talk-name=org.gnome.SettingsDaemon
modules:
- name: freetube
buildsystem: simple
sources:
- type: file
only-arches:
- x86_64
url: https://github.com/FreeTubeApp/FreeTube/releases/download/v0.21.3-beta/freetube-0.21.3-linux-portable-x64.zip
sha256: 6cfe7d10837e30aab4234c2b21ecc37d5e46791a126de43bd90d2479cabe9987
- type: file
only-arches:
- aarch64
url: https://github.com/FreeTubeApp/FreeTube/releases/download/v0.21.3-beta/freetube-0.21.3-linux-portable-arm64.zip
sha256: a75021d12513223faef8ca6a109a250a2fc7460c2a77bc8a2bce17d2300fceb3
# Icon
- type: file
url: https://raw.githubusercontent.com/FreeTubeApp/FreeTube/master/_icons/icon.svg
sha256: 26c9c74d6684655170d579794886e146cb71faf21cae343393d487600ce318f1
# Wrapper to launch the app
- type: file
path: run.sh
- type: file
path: io.freetubeapp.FreeTube.desktop
- type: file
path: io.freetubeapp.FreeTube.metainfo.xml
build-commands:
# Bundle app
- unzip freetube-*.zip -d /app/freetube
# Install app wrapper
- install run.sh /app/bin/
# Install app icon and desktop file
- install -Dm644 icon.svg /app/share/icons/hicolor/scalable/apps/io.freetubeapp.FreeTube.svg
- install -Dm644 io.freetubeapp.FreeTube.desktop -t /app/share/applications/
- install -Dm644 io.freetubeapp.FreeTube.metainfo.xml -t /app/share/metainfo/