[gnome-books/wip/hadess/more-dead-code-cleanup: 2/4] flatpak: Add WebP support
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-books/wip/hadess/more-dead-code-cleanup: 2/4] flatpak: Add WebP support
- Date: Mon, 28 Jan 2019 13:18:31 +0000 (UTC)
commit 70e42e62c95148ddb253e77f89ec5a7c69badd1c
Author: Bastien Nocera <hadess hadess net>
Date: Sat Jan 26 15:13:46 2019 +0100
flatpak: Add WebP support
As was done in the Evince flatpak.
flatpak/org.gnome.Books.json | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
---
diff --git a/flatpak/org.gnome.Books.json b/flatpak/org.gnome.Books.json
index accd4f38..451ae143 100644
--- a/flatpak/org.gnome.Books.json
+++ b/flatpak/org.gnome.Books.json
@@ -19,6 +19,8 @@
"--talk-name=org.freedesktop.Tracker1",
"--talk-name=org.freedesktop.Tracker1.Miner.Extract",
"--env=TRACKER_SPARQL_BACKEND=bus",
+ /* For the WebP loader */
+ "--env=GDK_PIXBUF_MODULE_FILE=/app/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache",
/* Needed for dconf to work */
"--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
@@ -40,6 +42,21 @@
}
]
},
+ {
+ "name": "webp-pixbuf-loader",
+ "buildsystem": "cmake-ninja",
+ "sources": [
+ {
+ "type": "git",
+ "url": "https://github.com/aruiz/webp-pixbuf-loader.git",
+ "commit": "9b92950d49d7939f90ba7413deb7ec6b392b2054"
+ }
+ ],
+ "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"
+ ]
+ },
{
"name": "popplerdata",
"no-autogen": true,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]