[gnome-builder] flatpak: Add html-tidy module



commit 1b8465456511fde5d5594b879b81227152fefe84
Author: vanadiae <vanadiae35 gmail com>
Date:   Thu Mar 18 16:21:18 2021 +0100

    flatpak: Add html-tidy module
    
    Currently when using the HTML/XML beautifier with the flatpak, an error
    appears saying "tidy" isn't found.
    
    This is because it's not built in the manifest, like is e.g. uncrustify,
    so it can't be found.
    
    So this commit builds the git version of html-tidy in the flatpak
    manifest, because the last release is more than three years old.

 build-aux/flatpak/org.gnome.Builder.json | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/build-aux/flatpak/org.gnome.Builder.json b/build-aux/flatpak/org.gnome.Builder.json
index 183cfc04f..f8b6e508d 100644
--- a/build-aux/flatpak/org.gnome.Builder.json
+++ b/build-aux/flatpak/org.gnome.Builder.json
@@ -630,6 +630,19 @@
                 }
             ]
         },
+        {
+            "name": "html-tidy",
+            "buildsystem": "cmake-ninja",
+            "config-opts": [
+                "-DCMAKE_BUILD_TYPE=Release"
+            ],
+            "sources" : [
+                {
+                    "type" : "git",
+                    "url" : "https://github.com/htacg/tidy-html5.git";
+                }
+            ]
+        },
         {
             "name" : "gnome-builder",
             "buildsystem" : "meson",


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