[gtksourceview] build: allow using Builder for development



commit f98c7e1bddb1f0b1a87b90838b3074fd909459f4
Author: Christian Hergert <chergert redhat com>
Date:   Wed Sep 30 10:23:20 2020 -0700

    build: allow using Builder for development
    
    By providing a Flatpak manifest, we can start using Builder for
    development so that things are easier for new contributors.
    
    This also uses Sysprof for profiler integration so that we can
    do performance testing from various subsystems during
    development.

 org.gnome.GtkSourceView.TestWidget.json | 75 +++++++++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)
---
diff --git a/org.gnome.GtkSourceView.TestWidget.json b/org.gnome.GtkSourceView.TestWidget.json
new file mode 100644
index 00000000..2fb8b8ff
--- /dev/null
+++ b/org.gnome.GtkSourceView.TestWidget.json
@@ -0,0 +1,75 @@
+{
+    "app-id" : "org.gnome.GtkSourceView.TestWidget",
+    "runtime" : "org.gnome.Platform",
+    "runtime-version" : "master",
+    "sdk" : "org.gnome.Sdk",
+    "command" : "gtksourceview5-widget",
+    "finish-args" : [
+        "--require-version=1.0.0",
+        "--device=dri",
+        "--share=network",
+        "--share=ipc",
+        "--socket=fallback-x11",
+        "--socket=wayland"
+    ],
+    "build-options" : {
+        "cflags" : "-O2 -g -fno-omit-frame-pointer",
+        "cxxflags" : "-O2 -g -fno-omit-frame-pointer",
+        "env" : {
+            "V" : "1"
+        }
+    },
+    "cleanup" : [
+        "/include",
+        "/lib/pkgconfig",
+        "/man",
+        "/share/doc",
+        "/share/gtk-doc",
+        "/share/man",
+        "/share/pkgconfig",
+        "*.la",
+        "*.a"
+    ],
+    "modules" : [
+        {
+            "name" : "sysprof",
+            "buildsystem" : "meson",
+            "builddir" : true,
+            "config-opts" : [
+                "--libdir=lib",
+                "-Denable_gtk=false",
+                "-Dwith_sysprofd=none",
+                "-Dhelp=false",
+                "-Denable_tools=false",
+                "-Denable_tests=false",
+                "-Denable_examples=false",
+                "-Dlibsysprof=false"
+            ],
+            "sources" : [
+                {
+                    "type" : "git",
+                    "url" : "https://gitlab.gnome.org/GNOME/sysprof.git";
+                }
+            ]
+        },
+        {
+            "name" : "gtksourceview",
+            "buildsystem" : "meson",
+            "builddir" : true,
+            "config-opts" : [
+                "--libdir=lib",
+                "-Dgtk_doc=false",
+                "-Dsysprof=true",
+                "-Dgir=false",
+                "-Dvapi=false",
+                "-Dinstall_tests=true"
+            ],
+            "sources" : [
+                {
+                    "type" : "git",
+                    "url" : "https://gitlab.gnome.org/GNOME/gtksourceview.git";
+                }
+            ]
+        }
+    ]
+}


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