Changeset 631 for trunk/Install/flatpak/build.sh
- Timestamp:
- Nov 11, 2024, 10:16:09 PM (3 days ago)
- Location:
- trunk/Install/flatpak
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Install/flatpak
- Property svn:ignore
-
old new 2 2 build 3 3 export 4 shared-modules
-
- Property svn:ignore
-
trunk/Install/flatpak/build.sh
r563 r631 1 1 #!/bin/bash 2 set -x 2 3 3 4 BUILD_DIR=build 4 FLATPAK_ID=net.zdechov.app.C-evo 5 REPO_DIR=repo 6 FLATPAK_ID=net.zdechov.app.C_evo 5 7 6 8 # Install dependencies 7 flatpak install flathub org.kde.Sdk//5.15-23.08 8 flatpak install flathub org.kde.Platform//5.15-23.08 9 flatpak install flathub org.freedesktop.Sdk.Extension.freepascal//23.08 9 flatpak install --system flathub org.kde.Sdk//5.15-23.08 10 flatpak install --system flathub org.kde.Platform//5.15-23.08 11 flatpak install --system flathub org.freedesktop.Sdk.Extension.freepascal//23.08 12 flatpak install --system flathub org.flatpak.Builder 13 git clone https://github.com/flathub/shared-modules.git shared-modules 14 (cd shared-modules && git checkout a9112b9c62e2b84db4c2f6c55c9531fd7e8d03c1) 10 15 11 16 # Build 12 flatpak-builder --force-clean $BUILD_DIR $FLATPAK_ID.yml 13 14 # Build bundle 15 flatpak build-export export build 16 flatpak build-bundle export C-evo.flatpak $FLATPAK_ID 17 18 # Install 19 flatpak-builder --user --install --force-clean $BUILD_DIR $FLATPAK_ID.yml 17 flatpak run org.flatpak.Builder --force-clean --sandbox --user --install --ccache --mirror-screenshots-url=https://dl.flathub.org/media/ --repo=$REPO_DIR $BUILD_DIR $FLATPAK_ID.yml 20 18 21 19 # Run 22 20 flatpak run $FLATPAK_ID 21 22 # Linter 23 flatpak run --command=flatpak-builder-lint org.flatpak.Builder manifest $FLATPAK_ID.yml 24 flatpak run --command=flatpak-builder-lint org.flatpak.Builder repo $REPO_DIR
Note:
See TracChangeset
for help on using the changeset viewer.