summaryrefslogtreecommitdiff
path: root/cmd/rescribe/xyz.rescribe.rescribe.yml
diff options
context:
space:
mode:
authorNick White <git@njw.name>2024-02-06 08:17:24 +0000
committerNick White <git@njw.name>2024-02-06 15:11:22 +0000
commitd2399a7ce0af49098a065c48409d1512f37c7c21 (patch)
treebe8d15fd3631ca3a0fe6e1f76e8146abadc933ac /cmd/rescribe/xyz.rescribe.rescribe.yml
parentf9199fe32b894757bce1065ac99dec6a8ce65f89 (diff)
Fix selecting a custom training file in flatpak
This is done by copying any training to the temporary tesseract directory, and always using that as the TESSDIR. This works as it's writeable (unlike the /app/share directory that flatpak would otherwise work)
Diffstat (limited to 'cmd/rescribe/xyz.rescribe.rescribe.yml')
-rw-r--r--cmd/rescribe/xyz.rescribe.rescribe.yml16
1 files changed, 10 insertions, 6 deletions
diff --git a/cmd/rescribe/xyz.rescribe.rescribe.yml b/cmd/rescribe/xyz.rescribe.rescribe.yml
index ae87d59..d994b88 100644
--- a/cmd/rescribe/xyz.rescribe.rescribe.yml
+++ b/cmd/rescribe/xyz.rescribe.rescribe.yml
@@ -1,6 +1,6 @@
app-id: xyz.rescribe.rescribe
runtime: org.freedesktop.Platform
-runtime-version: '22.08'
+runtime-version: '23.08'
sdk: org.freedesktop.Sdk
sdk-extensions: org.freedesktop.Sdk.Extension.golang
build-options:
@@ -30,12 +30,16 @@ modules:
- cp -r tessdata/* $FLATPAK_DEST/share/tessdata/
sources:
- type: git
- url: https://github.com/rescribe/bookpipeline
- tag: v1.1.0
- commit: 3dd003691436ed954d3b7de54affbb10b509d5a6
+ url: ../..
+ commit: HEAD
+ #url: https://github.com/rescribe/bookpipeline
+ #tag: v1.1.0
+ #commit: 3dd003691436ed954d3b7de54affbb10b509d5a6
- type: archive
- url: https://rescribe.xyz/rescribe/modules-20230213-3dd003.tar.xz
- sha256: 36553c4b97ceefc2c4711d18f26c98d89a9a610cb99bd2a38b7a0bbf3236eb4a
+ url: https://rescribe.xyz/tmp/modules.tar.xz # TODO: move to /rescribe once stable
+ sha256: 98b769cf61cc4178303e7d9e0aa0e036f819a46041aa442982713cb847e4657a
+ #url: https://rescribe.xyz/rescribe/modules-20230213-3dd003.tar.xz
+ #sha256: 36553c4b97ceefc2c4711d18f26c98d89a9a610cb99bd2a38b7a0bbf3236eb4a
strip-components: 0
- type: archive
url: https://rescribe.xyz/rescribe/embeds/tessdata.20220322.zip