tigerjython_pkg/flatpak/Makefile
Beat Jäckle 5f00590487 Setup for Flatpak
* metainfo.xml
 * BSD-3-Clause
2024-01-15 17:40:31 +01:00

22 lines
1.4 KiB
Makefile

manifest = ch.tigerjython.TigerJython2.yml
gpg = beat@git.jdmweb2.ch
clean:
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
#https://docs.flathub.org/docs/for-app-authors/submission/
sub_build: clean
# 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