]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
flatpak: Add sphinx
authorLorenz Wildberg <lorenz@wild-fisch.de>
Tue, 24 Oct 2023 13:44:26 +0000 (15:44 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Fri, 17 Nov 2023 15:40:05 +0000 (15:40 +0000)
This enables building the reference manual without the need to install
anything in your host operating system.

build-aux/flatpak/dev.vala.valac.json

index 0b4851f295333f029a560520ed9dcfd6c9a5210c..de6d2b67719b9fa735d693bab2776c617e3d470d 100644 (file)
@@ -9,7 +9,8 @@
     "finish-args" : ["--socket=session-bus"],
     "build-options": {
         "append-path" : "/usr/lib/sdk/vala/bin",
-        "append-ld-library-path" : "/usr/lib/sdk/vala/lib"
+        "append-ld-library-path" : "/usr/lib/sdk/vala/lib",
+        "build-args": ["--share=network"]
     },
     "command": "valac",
     "modules": [
                             "sha256": "2e4dfee3c24925ad51d1e76a9fb2b19b26a5a0049ef7be6d3e52667aac72eabe"
                         }
                     ]
+                },
+                {
+                    "name": "sphinx-build",
+                    "buildsystem": "simple",
+                    "build-commands": ["pip3 install --prefix=/app sphinx furo"]
                 }
             ]
         }