{
"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",
"--filesystem=host"
],
"modules": [
+ {
+ "name": "libnotify",
+ "sources": [
+ {
+ "type": "archive",
+ "url": "http://ftp.gnome.org/pub/GNOME/sources/libnotify/0.7/libnotify-0.7.7.tar.xz",
+ "sha256": "9cb4ce315b2655860c524d46b56010874214ec27e854086c1a1d0260137efc04"
+ }
+ ]
+ },
{
"name": "handbrake",
"no-autogen": true,
self.finish_args = self.manifest["finish-args"]
self.modules = self.manifest["modules"]
- self.hbmodule = self.modules[0]
+ self.hbmodule = self.modules[len(self.modules) - 1]
self.sources = [None]
self.hbmodule["sources"] = self.sources
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():
source_list = OrderedDict()
current_source = None
- runtime = "3.28"
+ runtime = None
for opt, arg in opts:
if opt in ("-h", "--help"):
usage()