Changeset 108 for trunk/Install/flatpak/build.sh
- Timestamp:
- Jan 13, 2025, 10:48:36 PM (9 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Install/flatpak/build.sh
r97 r108 2 2 set -x 3 3 4 tar --exclude='./Install/flatpak/build' --exclude='./Install/flatpak/export' --exclude='./Install/flatpak/.flatpak-builder' --exclude='./lib' --exclude='./Install/flatpak/tunneler.tar.gz' --exclude='./Install/flatpak/flathub' -zcvf tunneler.tar.gz -C ../.. .5 6 4 BUILD_DIR=build 5 REPO_DIR=repo 7 6 FLATPAK_ID=net.zdechov.app.Tunneler 8 7 9 8 # Install dependencies 10 flatpak install flathub org.kde.Sdk//5.15-23.08 11 flatpak install flathub org.kde.Platform//5.15-23.08 12 flatpak install flathub org.freedesktop.Sdk.Extension.freepascal//23.08 9 flatpak install --system flathub org.kde.Sdk//5.15-24.08 10 flatpak install --system flathub org.kde.Platform//5.15-24.08 11 flatpak install --system flathub org.freedesktop.Sdk.Extension.freepascal//24.08 12 flatpak install --system flathub org.flatpak.Builder 13 13 14 14 # Build 15 flatpak-builder --force-clean $BUILD_DIR $FLATPAK_ID.yml 16 17 # Build bundle 18 flatpak build-export export build 19 flatpak build-bundle export Tunneler.flatpak $FLATPAK_ID 20 21 # Install 22 flatpak-builder --user --install --force-clean $BUILD_DIR $FLATPAK_ID.yml 15 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 23 16 24 17 # Run 25 18 flatpak run $FLATPAK_ID 19 # Linter 20 flatpak run --command=flatpak-builder-lint org.flatpak.Builder manifest $FLATPAK_ID.yml 21 flatpak run --command=flatpak-builder-lint org.flatpak.Builder repo $REPO_DIR
Note:
See TracChangeset
for help on using the changeset viewer.