Commit 89714bf9 authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Do not use extra-sources

parent 772ae6c3
Pipeline #131309 passed with stages
in 24 minutes and 38 seconds
......@@ -35,7 +35,7 @@ deb:
expire_in: 1 week
flatpak:
image: debian:testing
image: debian
stage: check
script: "./ci/flatpak.sh"
tags:
......
......@@ -18,6 +18,7 @@
EXTRA_DIST += %reldir%/gen-manifest eu.planete_kraus.Tarot.json.in
MAINTAINERCLEANFILES += eu.planete_kraus.Tarot.json.in
CLEANFILES += manifest.json tarot-latest.flatpak
.PHONY: flatpak flatpak-bundle clean-flatpak
......@@ -37,13 +38,12 @@ eu.planete_kraus.Tarot.json.in: .version
flatpak: dist eu.planete_kraus.Tarot.json.in
@rm -rf flatpak-build-dir
@mkdir -p flatpak-build-dir
@sed "s/GET_SHA256/$$(sha256sum $(DIST_ARCHIVES) | head -c 64)/g" $(srcdir)/eu.planete_kraus.Tarot.json.in > manifest.json
$(flatpak_verbose) $(FLATPAK_BUILDER) $(FLATPAK_BUILDERFLAGS) --extra-sources=. --repo=flatpak-repo flatpak-build-dir manifest.json
@sed "s/GET_SHA256/$$(sha256sum $(DIST_ARCHIVES) | head -c 64)/g ; s|\"url\": \"https://play-tarot.frama.io/tarot-releases/|\"path\": \"$(abs_top_builddir)/|g" $(srcdir)/eu.planete_kraus.Tarot.json.in > manifest.json
$(flatpak_verbose) $(FLATPAK_BUILDER) $(FLATPAK_BUILDERFLAGS) --repo=flatpak-repo flatpak-build-dir manifest.json
flatpak-bundle: flatpak
$(bundle_verbose) $(FLATPAK) build-bundle flatpak-repo tarot-latest.flatpak eu.planete_kraus.Tarot
clean-flatpak:
@rm -rf flatpak-build-dir
@rm -rf tarot-latest.flatpak
@rm -rf flatpak-repo
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment