summaryrefslogtreecommitdiffstats
path: root/pkg/linux/module.defs
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2018-06-06 16:20:34 -0700
committerJohn Stebbins <[email protected]>2018-06-06 16:23:03 -0700
commit93a153eee436a5ca71561dd40c4f128e51e4d47a (patch)
treeb9aa093a59c9c83b2eabebbf69777ac0672c5691 /pkg/linux/module.defs
parent73649f092fc8da27f256bbf99f8fea0c4aa243fd (diff)
scripts: add script for creating flatpak manifests
This script can generate manifests that are suitable for submitting to flathub for publishing to their repository. It can also be used for generating manifests suitable for building local flatpak bundles and is used during 'make pkg.create.flatpak'
Diffstat (limited to 'pkg/linux/module.defs')
-rw-r--r--pkg/linux/module.defs13
1 files changed, 11 insertions, 2 deletions
diff --git a/pkg/linux/module.defs b/pkg/linux/module.defs
index ad4f559bc..b17aaa377 100644
--- a/pkg/linux/module.defs
+++ b/pkg/linux/module.defs
@@ -18,6 +18,15 @@ ifneq ($(PGP_ID),)
PGPSIGN = --gpg-sign=$(PGP_ID)
endif
+ifneq ($(FP_RUNTIME),)
+ FPRUNTIME = -r $(FP_RUNTIME)
+endif
+
+ifneq ($(HB_URL),)
+ifneq ($(HB_SHA256),)
+ FLATHUB_MANIFEST = $(PKG.gui.flathub.manifest) $(PKG.cli.flathub.manifest)
+endif
+endif
###############################################################################
@@ -48,8 +57,8 @@ PKG.rpm.stamp = $(PKG.out/).rpm.stamp
PKG.out.flatpak/ = $(PKG.out/)flatpak/
STAGE.out.flatpak/ = $(STAGE.out/)flatpak/
-PKG.src.flatpak = $(STAGE.out.flatpak/)handbrake.tar.bz2
-PKG.contrib.flatpak = $(STAGE.out.flatpak/)download.tgz
+PKG.gui.flathub.manifest = $(PKG.out.flatpak/)/fr.handbrake.ghb.json
+PKG.cli.flathub.manifest = $(PKG.out.flatpak/)/fr.handbrake.HandBrakeCLI.json
PKG.gui.manifest.flatpak = $(PKG.flatpak/)fr.handbrake.ghb.json
PKG.cli.manifest.flatpak = $(PKG.flatpak/)fr.handbrake.HandBrakeCLI.json
PKG.gui.build.flatpak = $(STAGE.out.flatpak/)$(HB.name)-$(HB.version)-$(BUILD.machine).build