summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@redhat.com>2018-10-09 14:56:24 +0200
committerCarlos Soriano <csoriano@redhat.com>2018-10-12 10:01:34 +0200
commitc79c43f34b66c291a34bbd25390aa247a802e05c (patch)
tree4dcc89e08d44bf7dfae15a934dc7e68f1c23cd6d
parent726b97673f9148d2505e9f921fa5825407ae25e2 (diff)
downloadnautilus-c79c43f34b66c291a34bbd25390aa247a802e05c.tar.gz
Flatpak: Add gcovr
So we can generate coverage reports. And do it with pip, cannot make my system run the pipToFlatpak tool locally.
-rw-r--r--build-aux/flatpak/org.gnome.Nautilus.json25
1 files 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,8 +25,27 @@
"--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" : [
"-DCMAKE_INSTALL_PREFIX=/app",
@@ -108,9 +127,5 @@
}
]
}
- ],
- "build-options" : {
- "env" : {
- }
- }
+ ]
} \ No newline at end of file