[evince] flatpak: Add dependency on OpenJPEG



commit cbe10d5fbb257b81ddde361757b0705ce590ecf8
Author: Jason Crain <jcrain src gnome org>
Date:   Wed Jul 18 09:01:09 2018 -0500

    flatpak: Add dependency on OpenJPEG
    
    This is needed by poppler to show JPEG 2000 images.
    
    Fixes #939

 build-aux/flatpak/org.gnome.Evince.json | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/build-aux/flatpak/org.gnome.Evince.json b/build-aux/flatpak/org.gnome.Evince.json
index b1f918ef..50435cbb 100644
--- a/build-aux/flatpak/org.gnome.Evince.json
+++ b/build-aux/flatpak/org.gnome.Evince.json
@@ -43,6 +43,23 @@
         "*.a"
     ],
     "modules" : [
+        {
+            "name" : "openjpeg",
+            "buildsystem" : "cmake-ninja",
+            "config-opts" : [
+                "-DBUILD_CODEC=OFF"
+            ],
+            "cleanup" : [
+                "/lib/openjpeg-2.3"
+            ],
+            "sources" : [
+                {
+                    "type" : "archive",
+                    "url" : "https://github.com/uclouvain/openjpeg/archive/v2.3.0.tar.gz";,
+                    "sha256" : "3dc787c1bb6023ba846c2a0d9b1f6e179f1cd255172bde9eb75b01f1e6c7d71a"
+                }
+            ]
+        },
         {
             "name" : "popplerdata",
             "no-autogen" : true,
@@ -62,8 +79,7 @@
             "buildsystem" : "cmake-ninja",
             "config-opts" : [
                 "-DCMAKE_INSTALL_LIBDIR=/app/lib",
-                "-DCMAKE_INSTALL_INCLUDEDIR=/app/include",
-                "-DENABLE_LIBOPENJPEG=none"
+                "-DCMAKE_INSTALL_INCLUDEDIR=/app/include"
             ],
             "cleanup" : [
                 "/bin"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]