[nautilus/add-gcovr: 1/2] Flatpak: Add gcovr



commit 11808703aca3570ca901d5a254df31a281b27fd2
Author: Carlos Soriano <csoriano redhat com>
Date:   Tue Oct 9 14:56:24 2018 +0200

    Flatpak: Add gcovr
    
    So we can generate coverage reports.
    
    And do it with pip, cannot make my system run the pipToFlatpak tool
    locally.

 build-aux/flatpak/org.gnome.Nautilus.json | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)
---
diff --git a/build-aux/flatpak/org.gnome.Nautilus.json b/build-aux/flatpak/org.gnome.Nautilus.json
index dcecdd943..b3ae6dae3 100644
--- a/build-aux/flatpak/org.gnome.Nautilus.json
+++ b/build-aux/flatpak/org.gnome.Nautilus.json
@@ -25,7 +25,26 @@
         "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
         "--env=TRACKER_SPARQL_BACKEND=bus"
     ],
+    "build-options" : {
+        "build-args" : [
+            "--share=network"
+        ]
+    },
     "modules" : [
+        {
+            "name" : "gcovr",
+            "buildsystem" : "simple",
+            "build-commands" : [
+                "/usr/bin/pip3 --disable-pip-version-check install --prefix=/app --verbose ."
+            ],
+            "sources" : [
+                {
+                    "type" : "git",
+                    "url" : "https://github.com/gcovr/gcovr";,
+                    "tag" : "4.1"
+                }
+            ]
+        },
         {
             "name" : "exiv2",
             "config-opts" : [
@@ -108,9 +127,5 @@
                 }
             ]
         }
-    ],
-    "build-options" : {
-        "env" : {
-        }
-    }
+    ]
 }
\ No newline at end of file


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