Commit aa7d29c2 authored by Bastien Nocera's avatar Bastien Nocera

flatpak: Update Flatpak for app-provided gdk-pixbuf loader

This simplifies the code slightly.
parent 53d2aede
Pipeline #64108 failed with stages
in 4 minutes and 38 seconds
......@@ -19,7 +19,6 @@
"--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf",
"--env=DCONF_USER_CONFIG_DIR=.config/dconf",
"--env=GDK_PIXBUF_MODULE_FILE=/app/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache",
"--talk-name=org.gtk.vfs",
"--talk-name=org.gtk.vfs.*",
"--talk-name=org.gnome.SessionManager",
......@@ -66,6 +65,9 @@
{
"name": "webp-pixbuf-loader",
"buildsystem": "cmake-ninja",
"env": {
"GDK_PIXBUF_MODULEDIR": "/app/lib/evince/gdk-pixbuf/2.10.0/"
},
"sources": [
{
"type": "git",
......@@ -74,8 +76,7 @@
}
],
"post-install": [
"GDK_PIXBUF_MODULEDIR=/app/lib/gdk-pixbuf-2.0/2.10.0/loaders/ gdk-pixbuf-query-loaders > loaders.cache",
"cat /usr/lib/*/gdk-pixbuf-2.0/2.10.0/loaders.cache loaders.cache > /app/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache"
"gdk-pixbuf-query-loaders > $GDK_PIXBUF_MODULEDIR/loaders.cache"
]
},
{
......
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