tigerjython_pkg/flatpak/Makefile

18 lines
1.3 KiB
Makefile

manifest = ch.tigerjython.TigerJython2.yml
gpg = beat@git.jdmweb2.ch
build:
flatpak uninstall --noninteractive ch.tigerjython.TigerJython2 > /dev/null || true
flatpak-builder --install --user --force-clean build-dir ch.tigerjython.TigerJython2.yml
run:
flatpak run --nosocket=fallback-x11 --socket=x11 ch.tigerjython.TigerJython2
sh:
flatpak run --command=sh ch.tigerjython.TigerJython2
#https://docs.flathub.org/docs/for-app-authors/submission/
sub_build:
# flatpak run org.flatpak.Builder --force-clean --sandbox --user --install --install-deps-from=flathub --ccache --mirror-screenshots-url=https://dl.flathub.org/repo/screenshots --repo=repo builddir ch.tigerjython.TigerJython2.yml
# flatpak run org.flatpak.Builder --force-clean --sandbox --user --install --ccache --mirror-screenshots-url=https://dl.flathub.org/repo/screenshots --repo=repo builddir ch.tigerjython.TigerJython2.yml
# flatpak --user install -y --noninteractive flathub org.freedesktop.Sdk/x86_64/23.08
flatpak-builder --gpg-sign=beat@git.jdmweb2.ch --force-clean --sandbox --user --install --install-deps-from=flathub --ccache --mirror-screenshots-url=https://dl.flathub.org/repo/screenshots --repo=repo builddir ${manifest}
sub_lint:
flatpak run --command=flatpak-builder-lint org.flatpak.Builder manifest ${manifest}