-
Notifications
You must be signed in to change notification settings - Fork 2
/
io.github.ciromattia.kcc.yml
65 lines (55 loc) · 1.93 KB
/
io.github.ciromattia.kcc.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
57
58
59
60
61
62
63
64
65
app-id: io.github.ciromattia.kcc
runtime: org.kde.Platform
runtime-version: 5.15-23.08
sdk: org.kde.Sdk
base: com.riverbankcomputing.PyQt.BaseApp
base-version: 5.15-23.08
command: kcc
rename-icon: comic2ebook
finish-args:
- --socket=fallback-x11
- --socket=wayland
- --share=ipc
- --device=dri
- --filesystem=home
- --talk-name=org.freedesktop.Notifications
- --env=TMPDIR=/var/tmp
cleanup-commands:
- /app/cleanup-BaseApp.sh
build-options:
env:
- BASEAPP_REMOVE_PYWEBENGINE=1
modules:
- dependencies/qemu-user-i386.yaml
- dependencies/7-zip.yaml
- name: KindleComicConverter
buildsystem: simple
build-commands:
- python3 setup.py install --single-version-externally-managed --root=/ --prefix=$FLATPAK_DEST
- install -Dm755 kindlegen -t $FLATPAK_DEST/bin
- install -Dm755 ${FLATPAK_ID}.desktop -t $FLATPAK_DEST/share/applications
- install -Dm644 ${FLATPAK_ID}.metainfo.xml -t $FLATPAK_DEST/share/metainfo
- install -Dm644 icons/comic2ebook.png -t $FLATPAK_DEST/share/icons/hicolor/256x256/apps
sources:
- type: archive
url: https://github.com/ciromattia/kcc/archive/v5.6.4.tar.gz
sha256: 3794b632aff1a3ff6cf582e18e963ba93e9a220129d7b9cf6726d49b1dce0a66
x-checker-data:
type: json
url: https://api.github.com/repos/ciromattia/kcc/releases/latest
version-query: .tag_name | sub("^v"; "")
url-query: '"https://github.com/ciromattia/kcc/archive/v" + $version + ".tar.gz"'
timestamp-query: .published_at
is-main-source: true
- type: patch
path: patch/flatpak.patch
- type: file
path: io.github.ciromattia.kcc.desktop
- type: file
path: io.github.ciromattia.kcc.metainfo.xml
- type: script
dest-filename: kindlegen
commands:
- exec qemu-i386 ${XDG_DATA_HOME}/kindlegen "$@"
modules:
- dependencies/kcc-pypi-dependencies.yaml