[gnome-photos/wip/rishi/fix-exiv2] flatpak: Fix the exiv2 build



commit c019eeb7b6ca3a95cb26133963aeff59c9b4771f
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Jan 2 15:36:24 2019 +0100

    flatpak: Fix the exiv2 build
    
    The exiv2-0.26-trunk.tar.gz file doesn't exist at it's earlier
    location. Instead, http://exiv2.org/download.html links to the 0.27.0
    release.
    
    Based on Darktable's Flathub manifest:
    https://github.com/flathub/org.darktable.Darktable

 flatpak/org.gnome.Photos.json | 17 ++++-------------
 1 file changed, 4 insertions(+), 13 deletions(-)
---
diff --git a/flatpak/org.gnome.Photos.json b/flatpak/org.gnome.Photos.json
index 335e7b29..4f27dc6a 100644
--- a/flatpak/org.gnome.Photos.json
+++ b/flatpak/org.gnome.Photos.json
@@ -175,23 +175,14 @@
         },
         {
             "name": "exiv2",
+            "buildsystem": "cmake-ninja",
             "cleanup": [ "/bin" ],
+            "config-opts": [ "-DCMAKE_BUILD_TYPE=Release" ],
             "sources": [
                 {
                     "type": "archive",
-                    "url": "http://exiv2.org/builds/exiv2-0.26-trunk.tar.gz";,
-                    "sha256": "c75e3c4a0811bf700d92c82319373b7a825a2331c12b8b37d41eb58e4f18eafb"
-                },
-                {
-                    "type": "patch",
-                    "path": "exiv2-no-builddir.patch"
-                },
-                {
-                    "type": "shell",
-                    "commands": [
-                        "cp -f /usr/share/gnu-config/config.sub ./config/",
-                        "cp -f /usr/share/gnu-config/config.guess ./config/"
-                    ]
+                    "url": "http://exiv2.org/builds/exiv2-0.27.0-Source.tar.gz";,
+                    "sha256": "ee88bc81539b73c65010651785d094fad0b39760a424b3c16c17e1856cfef2d7"
                 }
             ]
         },


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