tigerjython_pkg/flatpak/Makefile

23 lines
1.4 KiB
Makefile
Raw Normal View History

2024-01-14 14:38:32 +01:00
manifest = ch.tigerjython.TigerJython2.yml
gpg = beat@git.jdmweb2.ch
clean:
2024-01-14 14:38:32 +01:00
flatpak uninstall --noninteractive ch.tigerjython.TigerJython2 > /dev/null || true
build: clean
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
2024-01-14 14:38:32 +01:00
#https://docs.flathub.org/docs/for-app-authors/submission/
sub_build: clean
2024-01-14 14:38:32 +01:00
# 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}
sub_metainfo:
flatpak run --command=appstream-util org.flatpak.Builder validate ch.tigerjython.TigerJython2.metainfo.xml