Compare commits
No commits in common. "ace7b5981f6b459cdd33d1e50ce0b15cd50848dc" and "8efc2731f2ca05cc867dcb612c4216b82f60b764" have entirely different histories.
ace7b5981f
...
8efc2731f2
2 changed files with 19 additions and 26 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,8 +45,8 @@ 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/"
|
- mkdir -p "$BUNDLE_PATH/../pdfium-src/"
|
||||||
# - cp -r /app/src/pdfium/* "$BUNDLE_PATH/../pdfium-src/"
|
- cp -r /app/src/pdfium/* "$BUNDLE_PATH/../pdfium-src/"
|
||||||
- flutter pub get --offline
|
- flutter pub get --offline
|
||||||
- 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
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,7 @@
|
||||||
To generate the flatpak version of MIH use the following commands in this folder.
|
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
|
## Generate new yml file in generated folder
|
||||||
flutpak generate --tag <tag version>
|
flutpak generate --tag <tag version>
|
||||||
|
|
||||||
## Build flatpak and push to repo folder
|
## Build flatpak and push to repo folder
|
||||||
flatpak-builder --repo=repo --gpg-sign=<gpg-sign-key>
|
flatpak-builder --repo=repo --gpg-sign=B9F8044E4AE3D8AD --force-clean build-dir flatpak/generated/za.co.mzansiinnovationhub.mih.yml
|
||||||
--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