Merge pull request 'remove pdfium build' (#7) from v.1.3.0 into main
Reviewed-on: #7
This commit is contained in:
commit
ace7b5981f
2 changed files with 26 additions and 19 deletions
|
|
@ -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,8 +45,8 @@ 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/"
|
||||
# - mkdir -p "$BUNDLE_PATH/../pdfium-src/"
|
||||
# - cp -r /app/src/pdfium/* "$BUNDLE_PATH/../pdfium-src/"
|
||||
- flutter pub get --offline
|
||||
- flutter build linux --release --no-pub -t lib/main_prod.dart
|
||||
- mkdir -p /app/mih
|
||||
|
|
|
|||
|
|
@ -1,7 +1,14 @@
|
|||
To generate the flatpak version of MIH use the following commands in this folder.
|
||||
|
||||
## <gpg-sign-key>
|
||||
dev-gpg-sign=B9F8044E4AE3D8AD
|
||||
|
||||
## Generate new yml file in generated folder
|
||||
flutpak generate --tag <tag version>
|
||||
|
||||
## Build flatpak and push to repo folder
|
||||
flatpak-builder --repo=repo --gpg-sign=B9F8044E4AE3D8AD --force-clean build-dir flatpak/generated/za.co.mzansiinnovationhub.mih.yml
|
||||
flatpak-builder --repo=repo --gpg-sign=<gpg-sign-key>
|
||||
--force-clean --user --install build-dir flatpak/generated/za.co.mzansiinnovationhub.mih.yml
|
||||
|
||||
## Download optimisation
|
||||
flatpak build-update-repo --gpg-sign=<gpg-sign-key> --generate-static-deltas repo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue