-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcom.bilingify.readest.yml
More file actions
54 lines (48 loc) · 1.84 KB
/
com.bilingify.readest.yml
File metadata and controls
54 lines (48 loc) · 1.84 KB
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
id: com.bilingify.readest
runtime: org.gnome.Platform
runtime-version: "49"
sdk: org.gnome.Sdk
command: readest.sh
rename-desktop-file: Readest.desktop
rename-icon: readest
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --socket=pulseaudio
- --device=dri
- --share=ipc
- --share=network
modules:
- name: readest
buildsystem: simple
sources:
- type: file
url: https://github.com/readest/readest/releases/download/v0.10.6/Readest_0.10.6_amd64.deb
sha256: 4f39212de01c1a8b982bb7954ca20605de565618adc2696a81ca971d6a8b82e9
only-arches: [x86_64]
dest-filename: Readest.deb
- type: file
url: https://github.com/readest/readest/releases/download/v0.10.6/Readest_0.10.6_arm64.deb
sha256: b946cb4ec77f9692755650736b91e8d0f47ef849939cebdaa196549819d4abaa
only-arches: [aarch64]
dest-filename: Readest.deb
- type: file
url: https://raw.githubusercontent.com/readest/readest/refs/tags/v0.10.6/data/metainfo/appdata.xml
sha256: e7787b89e1451fbbc53c889cd6d9c39fe403d3ea3f9e2ca90573befeee195bf2
dest-filename: com.bilingify.readest.metainfo.xml
- type: script
dest-filename: readest.sh
commands:
- |
export WEBKIT_DISABLE_DMABUF_RENDERER=1
export READEST_DISABLE_UPDATER=1
exec /app/bin/readest "$@"
build-commands:
- ar -x Readest.deb
- tar -xf data.tar.gz
- install -Dm755 readest.sh -t /app/bin
- install -Dm755 usr/bin/readest -t /app/bin
- install -Dm644 usr/share/applications/Readest.desktop -t /app/share/applications
- mv usr/share/icons /app/share
- install -Dm644 com.bilingify.readest.metainfo.xml -t /app/share/metainfo
- desktop-file-edit --set-key=Exec --set-value='readest.sh %u' /app/share/applications/Readest.desktop