bring back pdfium download #10
1 changed files with 18 additions and 18 deletions
|
|
@ -12,22 +12,22 @@ finish-args:
|
||||||
- --socket=wayland
|
- --socket=wayland
|
||||||
- --device=dri
|
- --device=dri
|
||||||
modules:
|
modules:
|
||||||
# - name: pdfium
|
- name: pdfium
|
||||||
# buildsystem: simple
|
buildsystem: simple
|
||||||
# build-commands:
|
build-commands:
|
||||||
# - mkdir -p /app/src/pdfium/
|
- mkdir -p /app/src/pdfium/
|
||||||
# - cp -r * /app/src/pdfium/
|
- cp -r * /app/src/pdfium/
|
||||||
# sources:
|
sources:
|
||||||
# - type: archive
|
- type: archive
|
||||||
# url: https://github.com/bblanchon/pdfium-binaries/releases/download/chromium%2F7881/pdfium-linux-x64.tgz
|
url: https://github.com/bblanchon/pdfium-binaries/releases/download/chromium%2F7881/pdfium-linux-x64.tgz
|
||||||
# sha256: 1470e21b8b4a3b4ad7f85684e2da11d94f3b69a86d81dee11b9b6709d927ac1d
|
sha256: 1470e21b8b4a3b4ad7f85684e2da11d94f3b69a86d81dee11b9b6709d927ac1d
|
||||||
# only-arches: [x86_64]
|
only-arches: [x86_64]
|
||||||
# strip-components: 0
|
strip-components: 0
|
||||||
# - type: archive
|
- type: archive
|
||||||
# url: https://github.com/bblanchon/pdfium-binaries/releases/download/chromium%2F7881/pdfium-linux-arm64.tgz
|
url: https://github.com/bblanchon/pdfium-binaries/releases/download/chromium%2F7881/pdfium-linux-arm64.tgz
|
||||||
# sha256: ee7f7b7d5468958336a818c1cd580bdd20972846b7377b13f9a923d92d1d4674
|
sha256: ee7f7b7d5468958336a818c1cd580bdd20972846b7377b13f9a923d92d1d4674
|
||||||
# only-arches: [aarch64]
|
only-arches: [aarch64]
|
||||||
# strip-components: 0
|
strip-components: 0
|
||||||
|
|
||||||
- name: mih
|
- name: mih
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
|
|
@ -45,9 +45,9 @@ modules:
|
||||||
env:
|
env:
|
||||||
PUB_CACHE: /run/build/mih/.pub-cache
|
PUB_CACHE: /run/build/mih/.pub-cache
|
||||||
build-commands:
|
build-commands:
|
||||||
|
- mkdir -p "$BUNDLE_PATH/../pdfium-src/"
|
||||||
|
- cp -r /app/src/pdfium/* "$BUNDLE_PATH/../pdfium-src/"
|
||||||
- flutter pub get --offline
|
- 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
|
- flutter build linux --release --no-pub -t lib/main_prod.dart
|
||||||
- mkdir -p /app/mih
|
- mkdir -p /app/mih
|
||||||
- cp -r "$BUNDLE_PATH"/. /app/mih/
|
- cp -r "$BUNDLE_PATH"/. /app/mih/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue