bring back pdfium download #10

Merged
Yasien Meth merged 1 commit from v.1.3.0 into main 2026-06-17 12:21:52 +02:00
Showing only changes of commit f0d4449109 - Show all commits

View file

@ -12,22 +12,22 @@ finish-args:
- --socket=wayland
- --device=dri
modules:
# - name: pdfium
# buildsystem: simple
# build-commands:
# - mkdir -p /app/src/pdfium/
# - cp -r * /app/src/pdfium/
# sources:
# - type: archive
# url: https://github.com/bblanchon/pdfium-binaries/releases/download/chromium%2F7881/pdfium-linux-x64.tgz
# sha256: 1470e21b8b4a3b4ad7f85684e2da11d94f3b69a86d81dee11b9b6709d927ac1d
# only-arches: [x86_64]
# strip-components: 0
# - type: archive
# url: https://github.com/bblanchon/pdfium-binaries/releases/download/chromium%2F7881/pdfium-linux-arm64.tgz
# sha256: ee7f7b7d5468958336a818c1cd580bdd20972846b7377b13f9a923d92d1d4674
# only-arches: [aarch64]
# strip-components: 0
- name: pdfium
buildsystem: simple
build-commands:
- mkdir -p /app/src/pdfium/
- cp -r * /app/src/pdfium/
sources:
- type: archive
url: https://github.com/bblanchon/pdfium-binaries/releases/download/chromium%2F7881/pdfium-linux-x64.tgz
sha256: 1470e21b8b4a3b4ad7f85684e2da11d94f3b69a86d81dee11b9b6709d927ac1d
only-arches: [x86_64]
strip-components: 0
- type: archive
url: https://github.com/bblanchon/pdfium-binaries/releases/download/chromium%2F7881/pdfium-linux-arm64.tgz
sha256: ee7f7b7d5468958336a818c1cd580bdd20972846b7377b13f9a923d92d1d4674
only-arches: [aarch64]
strip-components: 0
- name: mih
buildsystem: simple
@ -45,9 +45,9 @@ modules:
env:
PUB_CACHE: /run/build/mih/.pub-cache
build-commands:
- mkdir -p "$BUNDLE_PATH/../pdfium-src/"
- cp -r /app/src/pdfium/* "$BUNDLE_PATH/../pdfium-src/"
- flutter pub get --offline
- mkdir -p "$(dirname "$BUNDLE_PATH")"
- ln -s /run/build/mih/pdfium-src "$(dirname "$BUNDLE_PATH")/pdfium-src"
- flutter build linux --release --no-pub -t lib/main_prod.dart
- mkdir -p /app/mih
- cp -r "$BUNDLE_PATH"/. /app/mih/