forked from flathub/org.tribler.Tribler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorg.tribler.Tribler.yaml
62 lines (61 loc) · 2.24 KB
/
org.tribler.Tribler.yaml
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
57
58
59
60
61
62
# Flatpak manifest for Tribler (https://www.tribler.org, https://github.com/tribler/tribler)
#
# To build the flatpak locally:
#
# flatpak install runtime/org.freedesktop.Sdk/x86_64/23.08
#
# flatpak-builder --force-clean build org.tribler.Tribler.yaml --install --user
id: org.tribler.Tribler
command: tribler
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
finish-args:
- --share=ipc # Used for X11 shared memory extension
- --socket=x11 # Only x11 is supported for now
- --device=dri # Used for OpenGL
- --socket=pulseaudio
- --share=network
- --filesystem=xdg-download/TriblerDownloads:create # Store downloads in the user's download folder
- --persist=.Tribler # Store the application state
- --own-name=org.kde.* # Used for AppIndicator support
- --talk-name=org.freedesktop.Notifications # Used for AppIndicator support
modules:
- name: tribler
buildsystem: simple
build-commands:
- mkdir -p /app/bin
- install tribler /app/bin
- ar x tribler.deb
- tar xf data.tar.xz
- mv usr/share /app/share
sources:
- type: file
url: https://github.com/Tribler/tribler/releases/download/v7.14.0/tribler_7.14.0_all.deb
sha256: 2c8d43acdae81fec82c53a5f62efaaccc12d984e14f7b5585ebe3fe31c98bc40
dest-filename: tribler.deb
only-arches:
- x86_64
x-checker-data:
type: anitya
project-id: 241848
stable-only: true
url-template: https://github.com/Tribler/tribler/releases/download/v${version}/tribler_${version}_all.deb
- type: script
dest-filename: tribler
commands:
- exec /app/share/tribler/tribler
- name: libsodium
sources:
- type: archive
url: https://github.com/jedisct1/libsodium/releases/download/1.0.18-RELEASE/libsodium-1.0.18.tar.gz
sha256: 6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5452b46be121e46636c1
cleanup:
- /include
- /lib/pkgconfig
- /share/gtk-doc
- '*.la'
- '*.deb'
- '*.xz'
- debian-binary
- /usr