From e401ec7f54cf6dc7659a07b31093b3cd92f800c3 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Tue, 19 Jun 2018 16:04:13 -0700 Subject: [PATCH] flatpak: use freedesktop platform instead gnome It's smaller --- pkg/linux/flatpak/fr.handbrake.ghb.json | 7 +++---- scripts/create_flatpak_manifest.py | 5 +++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pkg/linux/flatpak/fr.handbrake.ghb.json b/pkg/linux/flatpak/fr.handbrake.ghb.json index 561843e42..147e66c63 100644 --- a/pkg/linux/flatpak/fr.handbrake.ghb.json +++ b/pkg/linux/flatpak/fr.handbrake.ghb.json @@ -1,8 +1,8 @@ { "app-id": "fr.handbrake.ghb", - "runtime": "org.gnome.Platform", - "runtime-version": "3.28", - "sdk": "org.gnome.Sdk", + "runtime": "org.freedesktop.Platform", + "runtime-version": "1.6", + "sdk": "org.freedesktop.Sdk", "command": "ghb", "finish-args": [ "--share=ipc", "--socket=x11", @@ -10,7 +10,6 @@ "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro", "--talk-name=ca.desrt.dconf", - "--talk-name=org.freedesktop.Notifications", "--env=DCONF_USER_CONFIG_DIR=.config/dconf", "--filesystem=host" ], diff --git a/scripts/create_flatpak_manifest.py b/scripts/create_flatpak_manifest.py index c8e6ac41f..59288dcd9 100755 --- a/scripts/create_flatpak_manifest.py +++ b/scripts/create_flatpak_manifest.py @@ -55,7 +55,8 @@ class FlatpakManifest: self.modules[0] = self.hbmodule self.hbmodule["sources"] = self.sources - self.manifest["runtime-version"] = runtime + if runtime != None: + self.manifest["runtime-version"] = runtime handbrake_found = False for key, value in source_list.items(): @@ -110,7 +111,7 @@ if __name__ == "__main__": source_list = OrderedDict() current_source = None - runtime = "3.28" + runtime = None for opt, arg in opts: if opt in ("-h", "--help"): usage() -- 2.40.0