{ "app-id" : "org.gnome.Epiphany.Canary", "runtime" : "org.webkit.Platform", "runtime-version" : "21.08", "sdk" : "org.webkit.Sdk", "command" : "ephy-wrapper", "tags" : [ "nightly" ], "desktop-file-name-suffix" : " (Canary)", "finish-args" : [ "--device=dri", "--filesystem=xdg-download", "--share=ipc", "--share=network", "--socket=fallback-x11", "--socket=pulseaudio", "--socket=wayland", "--system-talk-name=org.freedesktop.GeoClue2", "--own-name=org.gnome.Epiphany.WebAppProvider" ], "modules" : [ { "name" : "libdazzle", "buildsystem" : "meson", "config-opts" : [ "-Dwith_vapi=false" ], "sources" : [ { "type" : "git", "url" : "https://gitlab.gnome.org/GNOME/libdazzle.git" } ] }, { "name" : "libportal", "buildsystem" : "meson", "config-opts" : [ "-Dbackends=gtk3", "-Dintrospection=false", "-Ddocs=false" ], "sources" : [ { "type" : "git", "url" : "https://github.com/flatpak/libportal.git", "tag" : "0.6" } ] }, { "name": "gcr", "buildsystem" : "meson", "config-opts" : [ "-Dgtk_doc=false", "-Dintrospection=false" ], "sources" : [ { "type" : "git", "url" : "https://gitlab.gnome.org/GNOME/gcr.git", "branch": "gnome-40" } ] }, { "name" : "json-glib", "buildsystem" : "meson", "sources" : [ { "type" : "git", "url" : "https://gitlab.gnome.org/GNOME/json-glib.git" } ] }, { "name": "libhandy", "buildsystem" : "meson", "config-opts" : [ "-Dgtk_doc=false", "-Dvapi=false", "-Dtests=false", "-Dexamples=false", "-Dglade_catalog=disabled" ], "sources" : [ { "type" : "git", "url" : "https://gitlab.gnome.org/GNOME/libhandy.git", "branch" : "main" } ] }, { "name" : "webkitgtk", "buildsystem" : "simple", "build-commands" : [ "cp -a lib/libjavascriptcore* /app/lib", "cp -a lib/libwebkit2gtk* /app/lib", "mkdir -p /app/libexec", "cp bin/WebKit*Process /app/libexec", "cp -r install/lib/pkgconfig /app/lib/", "sed -i 's;/app/webkit/WebKitBuild/Release/install;/app;g' /app/lib/pkgconfig/*.pc", "cp -r install/include /app/" ], "sources" : [ ] }, { "name" : "epiphany", "buildsystem" : "meson", "config-opts" : [ "-Dprofile=Canary" ], "sources" : [ { "type" : "git", "url" : "https://gitlab.gnome.org/GNOME/epiphany.git", "disable-shallow-clone" : true } ], "post-install" : [ "sed -i 's;Exec=epiphany;Exec=ephy-wrapper;g' /app/share/applications/org.gnome.Epiphany.Canary.desktop" ] }, { "name" : "ephy-wrapper", "buildsystem" : "simple", "build-commands" : [ "install -m a+rx ephy-wrapper.sh /app/bin/ephy-wrapper" ], "sources" : [ { "type" : "script", "dest-filename" : "ephy-wrapper.sh", "commands" : [ "export WEBKIT_INJECTED_BUNDLE_PATH=/app/lib", "export WEBKIT_EXEC_PATH=/app/libexec", "export WEBKIT_GST_ENABLE_AUDIO_MIXER=1", "export GST_PLUGIN_FEATURE_RANK=vah264dec:MAX,vah265dec:MAX,vavp8dec:MAX,vavp9dec:MAX", "exec epiphany \"$@\"" ] } ] } ] }