flatpak-build-mildenhall-helloworld-app manual
medium
- Image Types:
- sdk-amd64
- Image Deployment:
- APT
- Type:
- functional
Description
Install mildenhall runtime, build helloworld-app using mildenhall runtime and run the helloworld-app.
Pre Conditions
- Please uninstall the org.apertis.mildenhall.helloworld-app if already installed.
$ flatpak uninstall org.apertis.mildenhall.helloworld-app
Execution Steps
- Clone the helloworld-app
- Add remote for mildenall runtime:
- Install the org.apertis.mildenhall.Platform org.apertis.mildenhall.Sdk
- Wait for installation to be completed
- Switch inside the helloworld-app directory
- Build the helloworld-app using mildenhall runtime
- Add remote for helloworld-app
- Install the helloworld app
- Now run the helloworld app
$ git clone https://gitlab.apertis.org/sample-applications/helloworld-app.git -b apertis/v2021
$ flatpak --user remote-add --if-not-exists --no-gpg-verify apertis-mildenhall https://images.apertis.org/flatpak/mildenhall
$ flatpak install -y org.apertis.mildenhall.Platform org.apertis.mildenhall.Sdk
$ cd helloworld-app
$ flatpak-builder --repo=repo --force-clean build-dir flatpak-recipe.yaml
$ flatpak --if-not-exists --user remote-add --no-gpg-verify hello-worldapp repo/
$ flatpak install -y hello-worldapp org.apertis.mildenhall.helloworld-app
$ flatpak run org.apertis.mildenhall.helloworld-app
Expected
Hello world app window should be visible